Replies: 1 comment 1 reply
-
Yes, not everything is supported by the snap7 library (see here) for 1200/1500 (they need a special config as well, like mentioned in the link). Not sure if list_blocks() is one of them tbh. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
ord= plc.list_blocks()
print(ord)
Traceback (most recent call last):
File "c:\python_code\test.py", line 20, in
ord= plc.list_blocks()
File "C:\Python\lib\site-packages\snap7\client.py", line 468, in list_blocks
check_error(result, context="client")
File "C:\Python\lib\site-packages\snap7\common.py", line 89, in check_error
raise RuntimeError(error)
RuntimeError: b'CPU : Function not available'
It looks like not all features are supported for the 1500 controller?
Beta Was this translation helpful? Give feedback.
All reactions