grnick50
Lifetime Supporting Member
Hello all,
I have sucessfully implemented a connection of 2 S7-1200 PLCs over a VPN using TSEND_C and TRCV_C open communication blocks (UDP).
I want to produce an error bit when the connection is dropped.
The intention was to use the ERROR bit from the TSND_C block. I used that but it does not work.
When the PLCs are online and the connection is ok then the data exchange works perfectly. If I disconnect power to the VPN router at the TRCV_C end,
the TSND_C end does not understand it and it does not produce an error. It looks like the TSND_C thinks the connection is stil valid and that data exchange is happening as it produces a DONE bit.
Any suggestions on how to resolve this will be highly appreciated.
Regards
Nik
I have sucessfully implemented a connection of 2 S7-1200 PLCs over a VPN using TSEND_C and TRCV_C open communication blocks (UDP).
I want to produce an error bit when the connection is dropped.
The intention was to use the ERROR bit from the TSND_C block. I used that but it does not work.
When the PLCs are online and the connection is ok then the data exchange works perfectly. If I disconnect power to the VPN router at the TRCV_C end,
the TSND_C end does not understand it and it does not produce an error. It looks like the TSND_C thinks the connection is stil valid and that data exchange is happening as it produces a DONE bit.
Any suggestions on how to resolve this will be highly appreciated.
Regards
Nik