gijzelaerr / python-snap7

A Python wrapper for the snap7 PLC communication library
http://python-snap7.readthedocs.org/
MIT License
643 stars 246 forks source link

Unreachable peer error when connecting, reading or writing to a siemens plc (s7-1200) using python-snap7 1.0 #392

Closed iamtorchstack closed 1 year ago

iamtorchstack commented 1 year ago

Why do I intermittely get the error TCP : Unreachable peer when connecting, reading or writing from a Siemens PLC siemens s7-1200.

I happen to have created an exception in the code to retry when it fails but I desire to seek ways to eliminate this errors totally.