AdvancedHMI Software
General Category => Support Questions => Topic started by: andreaboschetti71 on February 17, 2014, 05:14:58 AM
-
Is there a way to know when connection between PC and PLC is lost?
-
The EthernetIPforCLXCom driver has ConnnectionClosed and ConnectionEstablished events.
-
and maybe a little example how to use them? im dealing with the same stuff right now...
-
- Select the CLX driver instance on your form
- In the properties window, select the lightening bolt icon to get to events
- Double-Click ConnectionClosed to get to the code
- Enter this code:
MsgBox("Connection closed")