Loading…

方法名称: methodClearFaults

方法ID: 0x4040

方法标签: Clear Current Faults

方法描述: 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));
  • }


请登录以获得完整内容