Loading…

Method Name: ResetMessageStatsMethod

Method ID: 0x427A

Method Label: Reset Modbus Stats

Method Help: Clears all Modbus stats to zero.


  • {
  • char acStatus[3];
  • char disp_string1[60];
  • int wChoice;
  • int slen1;
  • slen1 = 60;
  • _set_all_resp_code(0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • iOneLowUnsignedIntegerIndexSC200 = 248;
  • wChoice = SELECT_FROM_LIST(literal_string(1440),literal_string(1441));
  • if (wChoice == 0)
  • {
  • DELAY(2,literal_string(1442));
  • process_abort();
  • }
  • wChoice = SELECT_FROM_LIST(literal_string(1443),literal_string(1441));
  • if (wChoice == 0)
  • {


Please login for more