Loading…
Loading…
Method Name: device_master_reset2
Method ID: 0x405F
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];
- long x;
- int number_of_tries;
- int slen1;
- slen1 = 60;
- _get_dictionary_string(19726337,disp_string1,slen1);
- ACKNOWLEDGE(disp_string1);
- _add_abort_method(4118);
- _get_dictionary_string(19726393,disp_string1,slen1);
- ACKNOWLEDGE(disp_string1);
- _get_dictionary_string(19726394,disp_string1,slen1);
- PUT_MESSAGE(disp_string1);
- send(42,status);
- if (status[0])
- {
- display_response_status(42,status[0]);
- _get_dictionary_string(19726342,disp_string1,slen1);
- DELAY(3,disp_string1);
- process_abort();
Please login for more