Loading…

Method Name: do1_stat

Method ID: 0x4308

Method Label: Status DO1

Method Help: When set,indicates that Discrete Output 1 has been triggered.


  • {
  • 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[19] & 0x20)
  • {
  • ACKNOWLEDGE(literal_string(1115));
  • }
  • else
  • {
  • ACKNOWLEDGE(literal_string(1116));
  • }


Please login for more