Home
Help
Search
Login
Register
AdvancedHMI Software
»
General Category
»
Support Questions
»
Connection Lost
« previous
next »
Print
Pages: [
1
]
Author
Topic: Connection Lost (Read 1936 times)
andreaboschetti71
Jr. Member
Posts: 61
Connection Lost
«
on:
February 17, 2014, 05:14:58 AM »
Is there a way to know when connection between PC and PLC is lost?
Logged
Archie
Administrator
Hero Member
Posts: 5322
Re: Connection Lost
«
Reply #1 on:
February 17, 2014, 08:01:58 AM »
The EthernetIPforCLXCom driver has ConnnectionClosed and ConnectionEstablished events.
Logged
peterleitner
Newbie
Posts: 1
Re: Connection Lost
«
Reply #2 on:
April 18, 2014, 05:01:32 PM »
and maybe a little example how to use them? im dealing with the same stuff right now...
Logged
Archie
Administrator
Hero Member
Posts: 5322
Re: Connection Lost
«
Reply #3 on:
April 18, 2014, 06:06:28 PM »
- 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")
Logged
Print
Pages: [
1
]
« previous
next »
AdvancedHMI Software
»
General Category
»
Support Questions
»
Connection Lost