Error and exception handling in python-snap7 #570
|
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. Any suggestions? |
Answered by
gijzelaerr
Mar 19, 2026
Replies: 1 comment
|
Closing -- this is a general Python programming question about exception handling, not specific to python-snap7. Python's built-in try/except mechanism works with all snap7 exceptions. See the snap7.error module for the exception classes raised by the library. |
0 replies
Answer selected by
gijzelaerr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Closing -- this is a general Python programming question about exception handling, not specific to python-snap7. Python's built-in try/except mechanism works with all snap7 exceptions. See the snap7.error module for the exception classes raised by the library.