Loading…
Loading…
Method Name: lock_unlock_device
Method ID: 0x1073
Method Label: Lock/Unlock Device
Method Help: Lock/unlock local interface. Locking also prevents other master writing parameters via HART interface.
- {
- char status[3];
- char xmtr_data[25];
- int temp;
- _set_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- get_more_status(status,xmtr_data);
- temp = _ivar_value(4154);
- if (temp & 0x80)
- {
- ACKNOWLEDGE(literal_string(904));
- process_abort();
- }
- temp = SELECT_FROM_LIST(literal_string(1201),literal_string(1202));
Please login for more