Loading…
Loading…
Method Name: device_reset_method
Method ID: 0x4124
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];
- int number_of_tries;
- int x;
- {
- _set_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- }
- ;
- if (SELECT_FROM_LIST(literal_string(671),literal_string(666)) == 0)
- {
- process_abort();
- }
- ACKNOWLEDGE(literal_string(672));
- send(42,status);
Please login for more