Jump to content

Recommended Posts

Posted

I am trying to read the variables using python library pycomm3 using the cip driver and was wondering what is the service id, class id, etc to pull the whole tag list from the plc.


Posted
17 minutes ago, Crossbow said:

Not aware that is even possible

It is and it is not trivial. I added it to PeakHMI awhile back. I wrote a bare bones program to fetch "All" while I was testing, and I thought I posted it here.  It was named LogixTagRead.exe. I know later I made some changes in PeakHMI for better collection and possibly fix an issue, and never updated the test program, was not using it any longer.  Let me know if not here and someone wants it.

I found it is still on our website.

The link to the program is: http://www.hmisys.com/downloads/LogixTagRead.zip

No, installer. Copy the files to a directory, set properties and select the “Fetch” button.

And "awhile back" was 2017. HA. I know I made changes a couple of years ago for much faster fetching in the HMI.

 

Posted
1 hour ago, IO_Rack said:

Assuming you are using a CS/CJ Series EIP module or a CJ2 built-in Ethernet port, there is a list of Object Services in the manual, section 9-2-1.

A quick look, at the section, it does not appear the PLC supports fetching tag names. 

Posted

The pycomm3 website has this:

image.thumb.png.ab72c8e2de08665cb4d7b5950112ba30.png

 

My reading is the CIPDriver does not support fetching tag names.

So for the OP, Crossbow was correct.

You could always try the LogixDriver. Perhaps the PLC does support it, just not documented.

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...