okinelin

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by okinelin

  1. If you are using channels to poll over Modbus, you'll need to use the OnAlert sequence function to capture any alerts (section 5.28 in help).  Or you can use the strAlert system variable (14.3 in help).

     

    Thanks for the lead. I am taking a look at the two options but I need further clarification;

     

    Please confirm that strAlert[0] will containn "P-ModbusTCP 0010: Timeout" when a connection is lost? The "P-ModbusTCP 0010: Timeout" is the error message displayed when I pull out the network cable.

     

    If I plug back the cable and the connection is re-established and the there is no other alert message, what will be the content of  strAlert[0]? Will it still contain "P-ModbusTCP 0010: Timeout" or something else?

     

    Regards

  2. Hi,

     

    I am using DaqFactory to communicate with HMI/Controller via Modbus TCP.

    The system is working fine. When the network cable is unplugged, the error message "P-ModbusTCP 0010: Timeout"  is displayed in the Command/Alert window. That's fine.

     

    Please how can I capture this error and use in a sequence to alert the user that there is a break in communication especially when the program is in runtime mode and full screen?

     

    Thanks