Loading…
Loading…
Method Name: ConfigReset_method
Method ID: 0x4A6E
Method Label: Reset Parameters
Method Help: Reset the device to factory calibrated settings. If using a HART host, disconnect and then reconnect the host after performing the reset.
- {
- char status[3];
- int result;
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- result = SELECT_FROM_LIST(literal_string(1707),literal_string(1708));
- if (result == 0)
- {
- send_trans(253,5,status);
- if (status[0] == 16)
- {
- _get_dev_var_value(literal_string(1709),0,16511);
- send_trans(150,2,status);
- send_trans(253,5,status);
- if (status[0] == 16)
- {
Please login for more