Error and exception handling in python-snap7 #570
Unanswered
simonelisto
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I have searched everywhere for documentation and real examples regarding exception and error handling in python-snap7, but I haven't found anything.
In my Python application (a GUI for a Siemens PLC), I have a thread that reads and writes using a continuous polling loop.
Everything works fine, but I'd like to handle any exceptions thrown during reading/writing or connection (e.g., lost connection, failed read, etc.).
Any suggestions?
Thanks for your support.
Beta Was this translation helpful? Give feedback.
All reactions