in a project I am using the Labview wrapper of the Snap7 library (last version 1.4.2) for reading and writing data. I have two PLC Siemens S7-1200 that are accessible via OpenVPN connection.
I read from both PLC every second and I write a byte to both PLC always every second.
The software that I have developed seems to works ok, reading and writing works ok but after some time (12 to 24 hour) I receive a huge number of error 665420 ISO : An error occurred during recv TCP : Connection timed out.
In my software I have a mechanism that if I receive that error I destroy the client and reconnect but the errors doesn't disappear but continues for some hours before stopping. The phenomenon seems to repeat.
Are there some problems using this library in a VPN connection? I am testing my software connecting to the PLCs directly without VPN, in 24 hour I didn't receive this errors.
Someone used PLC in VPN connections? What type of problems has encountered? I need a particular configuration?
Thanks.
Penzium
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
in a project I am using the Labview wrapper of the Snap7 library (last version 1.4.2) for reading and writing data. I have two PLC Siemens S7-1200 that are accessible via OpenVPN connection.
I read from both PLC every second and I write a byte to both PLC always every second.
The software that I have developed seems to works ok, reading and writing works ok but after some time (12 to 24 hour) I receive a huge number of error 665420 ISO : An error occurred during recv TCP : Connection timed out.
In my software I have a mechanism that if I receive that error I destroy the client and reconnect but the errors doesn't disappear but continues for some hours before stopping. The phenomenon seems to repeat.
Are there some problems using this library in a VPN connection? I am testing my software connecting to the PLCs directly without VPN, in 24 hour I didn't receive this errors.
Someone used PLC in VPN connections? What type of problems has encountered? I need a particular configuration?
Thanks.
Penzium
Thank to clear my doubt about VPN