plc.list_blocks() CPU : Function not available (S7-PLCSIM Advanced v4.0 S7-1500) #390
-
|
ord= plc.list_blocks() Traceback (most recent call last): It looks like not all features are supported for the 1500 controller? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 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.
-
|
Closing as answered. This is a known S7-1200/1500 compatibility limitation. Not all functions are supported on these PLCs. |
Beta Was this translation helpful? Give feedback.
Your 1500 is configured like the docs mentioned for 1200/1500 (see the link)?
If yes, then it is not possible atm. and this is the answer from PLC side.
Since python-snap7 is only a wrapper for snap7, a workaround is difficult for some stuff and I guess for this as well. :/
But PRs are always welcomed for new feature :)