dmroeder / pylogix

Read/Write data from Allen Bradley Compact/Control Logix PLC's
Apache License 2.0
598 stars 182 forks source link

Emerson #103

Closed htrifol closed 4 years ago

htrifol commented 4 years ago

How to get response from Emerson Gateway (ex:1410) or transmitter (ex:5700) that are both discovered correctly but return nothing when requested for tags? did someone already faced this issue?

evaldes2015 commented 4 years ago

Correct me if I'm wrong, but I believe you're wanting to do implicit messaging which is used for I/O. Pylogix supports explicit messaging. They are not the same thing.

htrifol commented 4 years ago

Not really, it should be implicitly but I think the issue is the credentials issue that need to be sorted. Getting passed the admin admin thing should be it.... I guess ;)

Sent from my iPhone

On 21 Jan 2020, at 6:43 PM, evaldes2015 notifications@github.com wrote:

 Correct me if I'm wrong, but I believe you're wanting to do implicit messaging which is used for I/O. Pylogix supports explicit messaging. They are not the same thing.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

TheFern2 commented 4 years ago

@dmroeder can confirm but pylogix only reads tags from a plc that supports etherip (controllogix, compactlogix) as far as I know.

dmroeder commented 4 years ago

I have no idea, I don't use Emerson products. I doubt that you will get any thing useful with those devices using this library, it supports a couple of CIP objects specific to Rockwell PLC's.

There are many CIP objects, a whole block of them are reserved as "vendor specific". I would bet all Ethernet I/P devices support List Identity (what I called Discover) object, so it doesn't surprise me that your gateway and transmitter respond. How your devices communicate to Rockwell PLC's is probably using the vendor specific objects, not the CIP Read and CIP Write objects.

All devices probably support Register session and Forward Open, where the connection parameters are established. So sometimes it appears that pylogix will attempt to communicate to a device but it probably won't. This is only intended to work with Rockwell PLC's.