Loading…
Loading…
Method Name: pc2_stat
Method ID: 0x42CC
Method Label: Status
Method Help: When set, indicates that the Discrete Event has reached its programmed trigger point.
- {
- char status[3];
- char xmtr_status[25];
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- get_more_status(status,xmtr_status);
- if (xmtr_status[16] & 0x10)
- {
- ACKNOWLEDGE(literal_string(69));
- }
- else
- {
- ACKNOWLEDGE(literal_string(70));
- }
Please login for more