Loading…
Loading…
Method Name: device_rest_method
Method ID: 0x48AE
Method Label: Device reset
Method Help: Device Reset- Commands the electronics to perform a reset. This is equivalent to cycling the power off and then back on to the field device.
- {
- char status[3];
- char xmtr_status[25];
- char disp_string1[60];
- int slen1;
- int number_of_tries;
- slen1 = 60;
- {
- _set_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- }
- ;
- _set_no_device(0);
- _get_dictionary_string(19726337,disp_string1,slen1);
- ACKNOWLEDGE(disp_string1);
- _add_abort_method(4118);
- if (SELECT_FROM_LIST(literal_string(1542),literal_string(1543)) == 0)
- {
- process_abort();
- }
- send_command(42);
Please login for more