Loading…
Loading…
方法名称: lock_unlock_device
方法ID: 0x1073
方法标签: Lock/Unlock Device
方法描述: 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));
请登录以获得完整内容