You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to use snap7 on a linux docker, I've crashed my RPI and I don't want to use it again.
I've build and run the docker without problems but after API.connect("192.168.1.232",0,2), I've got : RuntimeError: b' ISO : An error occurred during recv TCP : Connection timed out'.
I'm sure that PLC is ok because it's ran before my old RPI crash
I did simply this :
import snap7
API = snap7.client.Client()
API.connect("192.168.1.232",0,2)
and after many second : RuntimeError: b' ISO : An error occurred during recv TCP : Connection timed out'.
This discussion was converted from issue #475 on November 07, 2023 05:26.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I need to use snap7 on a linux docker, I've crashed my RPI and I don't want to use it again.
I've build and run the docker without problems but after API.connect("192.168.1.232",0,2), I've got : RuntimeError: b' ISO : An error occurred during recv TCP : Connection timed out'.
I'm sure that PLC is ok because it's ran before my old RPI crash
I did simply this :
import snap7
API = snap7.client.Client()
API.connect("192.168.1.232",0,2)
and after many second : RuntimeError: b' ISO : An error occurred during recv TCP : Connection timed out'.
I can ping my PLC from the docker.
Thanks for help
Vincent
Beta Was this translation helpful? Give feedback.
All reactions