ruscito / pycomm

pycomm is a package that includes a collection of modules used to communicate with PLCs
MIT License
142 stars 85 forks source link

Retrieving IO tags in plc.tags #66

Closed AndrewStuhr closed 4 years ago

AndrewStuhr commented 4 years ago

Hello. I'm using the following code to read the tag structure of a PLC:

with LogixDriver(ipPlusSlot, large_packets=False, init_program_tags=True) as plc:
   result["tagStructure"] = plc.tags

plc.tags is returning 49 tag values. However, when I use PyLogix's GetTagList() on the same PLC, I get 87 values back. I believe the extra PyLogix tags are IO tags, such as "VFD_CV_313:I" and "IV:I". Does PyComm have the ability to retrieve these types of tags?

Thanks

AndrewStuhr commented 4 years ago

Whoops I posted this in the wrong pycomm page!