Loading…

Method Name: methodClearFaults

Method ID: 0x4040

Method Label: Clear Current Faults

Method Help: Clear the current device status/faults


  • {
  • char status[3];
  • int result;
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • result = SELECT_FROM_LIST(literal_string(804),literal_string(805));
  • if (result == 1)
  • {
  • _iassign(16587,0);
  • send(138,status);
  • if (status[2] & 0x80)
  • {
  • ACKNOWLEDGE(literal_string(806));
  • }
  • send(136,status);
  • ACKNOWLEDGE(literal_string(807));
  • }


Please login for more