Menu

Timeout error in VPN connection

Penzium
2021-05-03
2021-07-27
  • Penzium

    Penzium - 2021-05-03

    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

     
  • jack

    jack - 2021-07-27

    Thank to clear my doubt about VPN

     

Log in to post a comment.

MongoDB Logo MongoDB