Author Topic: Comms instability - EthernetIPforCLX  (Read 1533 times)

WellsCPak

  • Newbie
  • *
  • Posts: 28
    • View Profile
Comms instability - EthernetIPforCLX
« on: November 10, 2015, 04:37:48 PM »
Archie,

I have a project with multiple forms (and a comm component on each one) that will occasionally drop communications and stop updating labels, data subscribers, etc. I haven't found a way to repeat this issue in development, it only happens in production, and it is seemingly random. I'm not sure what the actual error is, or if there is one.
When this happens, is there any way to catch that communication has stopped happening and handle that somehow? Are there methods to re-open communication without restarting the project/form?

Thanks!

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Comms instability - EthernetIPforCLX
« Reply #1 on: November 10, 2015, 06:55:26 PM »
If a response is not received from the PLC, then it will close the connection and try to re-open to re-establish communications. This can take about 10 seconds.

There is a ConnectionClosed event on the driver you can add a handler to for a notification of when this happens.