Method to know all validated available addresses (or tags) in Siemens PLC #464
-
|
Hi, I am trying to access all available or configured address in Siemens PLC, I can see we have db_get(db_number: int), but here we have to pass existing db_number, however it does not fetch addresses for input, output, timer, merker and counter. So as there is a method in allen bradley, get_tag_list() to get all available tag or address, do we have something similar in siemens python snap7 too !! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Closing as stale. Unlike Allen Bradley's tag-based architecture, Siemens PLCs do not expose a tag list via the S7 protocol. You can use |
Beta Was this translation helpful? Give feedback.
Closing as stale. Unlike Allen Bradley's tag-based architecture, Siemens PLCs do not expose a tag list via the S7 protocol. You can use
list_blocks()andlist_blocks_of_type()to enumerate blocks.