Is it possible to determine when a tcpclient object's connection has been lost?
When I try to use the "Connected" property I get a compile error that it does not exist.
Thanks.
Determine tcpclient connection has been lost
-
- Posts: 137
- Joined: Mon Jun 11, 2012 2:10 pm
Determine tcpclient connection has been lost
Adam M.
Controls Engineer
FlexEnergy
Controls Engineer
FlexEnergy
Re: Determine tcpclient connection has been lost
We recommend using the built in system tags for communication errors on the controllers.
You could also use a heart-beat solution where at an interval the panel sets a bit on the PLC to low, and the PLC sets its to high.
Lastly you could use a PING command on an interval. Attached is an example project that uses the PING command.
You could also use a heart-beat solution where at an interval the panel sets a bit on the PLC to low, and the PLC sets its to high.
Lastly you could use a PING command on an interval. Attached is an example project that uses the PING command.
- Attachments
-
- Simple_Ping_POC.zip
- (27.75 KiB) Downloaded 389 times
Best regards,
Russ
(801) 708-6690
Technical Support
Contact Us
Beijer Electronics AB
http://www.beijerelectronics.us
Russ
(801) 708-6690
Technical Support
Contact Us
Beijer Electronics AB
http://www.beijerelectronics.us