Loading…
Loading…
方法名称: MasterReset
方法ID: 0x4064
方法标签: Master Reset
方法描述: Causes a reset in the HART Module.
- {
- char acStatus[3];
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _add_abort_method(4118);
- send( 42, acStatus );
- DELAY( 20,"|en|Please wait while unit restarts." );
- send( 14, acStatus );
- if (acStatus[2] & 0x20 )
- {
- ACKNOWLEDGE("|en|Cold start bit set." );
- }
- send( 15, acStatus );
请登录以获得完整内容