Loading…

Method Name: ejx_method_do_test

Method ID: 0x414A

Method Label: DO Test

Method Help: Digital output test- Allows the user to test the contact output for a digital signal at the contact output terminal of the device. Select 'On' to output the digital signal.


  • {
  • int choice;
  • long var_id[2];
  • char status[3];
  • {
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • }
  • ;
  • _add_abort_method(16731);
  • do {
  • choice = SELECT_FROM_LIST(literal_string(303),literal_string(1449));
  • if (choice == 0 || choice == 1)
  • {
  • _iassign(16594,choice);
  • send(193,status);
  • if (status[0])
  • {


Please login for more