pjkundert / cpppo

Communications Protocol Python Parser and Originator -- EtherNet/IP CIP
https://hardconsulting.com/products/6-cpppo-enip-api
Other
332 stars 109 forks source link

Browsing Tags #30

Closed karmicthreat closed 7 years ago

karmicthreat commented 7 years ago

Not really an issue, so much as a question. Is there any facility to browse tags and get a list of all tags on the PLC?

pjkundert commented 7 years ago

Unfortunately, no publicly known method to do that. This appears to be a Rockwell-private functionality (since, clearly, RSLogix can do it!). But, not documented that I've been able to find.

cozybear-dev commented 4 years ago

This library seems to be able to do this; https://github.com/dmroeder/pylogix

https://github.com/dmroeder/pylogix/blob/251f12a681ebafc38fa1cdb0a3ae1c916f0047a4/examples/23_get_all_tags.py

Since I don't have the PLC's in questions, I'm not able to test it. But thought it would be good to share it anyways.

karmicthreat commented 4 years ago

The pertinent code in question that builds the tag list request https://github.com/dmroeder/pylogix/blob/0c8a3de5e3b32afe6297bc5dd5d87a16975ca12e/pylogix/eip.py#L1411