Pruduced and Consumed Tags In An Array

Richjr

Lifetime Supporting Member
Join Date
May 2013
Location
West Covina, California
Posts
8
I was unable to find an answer while searching, so I decided to start a new thread.

I'm in the process of creating produced and consumed tags over Ethernet to start a process from a Control Logix processor (producer) to a Compact Logix processor (consumer). My question is regarding creating produced/consumed tags using a DINT array. On the consumer side, what would I put in the "remote data" for the tag name, Purge_HMI_PB or Purge_HMI_PB[16]?

Thank you in advance for any help, it is greatly appreciated.
 
Last edited:
Let's take a step back and look at the whole picture, I think that'll help you understand the best...

Let me assume for a moment that your DINT array has 100 elements. So your Produced Tag in the ControlLogix is Purge_HMI_PB, which is of the data type DINT[100]. Purge_HMI_PB[16] is just one element of that array, that is to say, one element of your Produced Tag.

Your consumed tag, in the CompactLogix is called, say Remote_Data, and must be the same data type as the produced tag. So Remote_Data must also have the data type DINT[100].

From here, you can probably see where I'm going with this. Your produced tag in the ControlLogix is Purge_HMI_PB, so the "Remote Data" in your consumed tag setup must be Purge_HMI_PB. Purge_HMI_PB[16] is again, just one element of your produced tag, and it will be copied to your consumed tag in the same position (i.e. Remote_Data[16]).

Make sense?
 
Last edited:
That definitely helped me understand it much better. I am still in the early stages of programming and loving it, but I definitely need guidance. I really appreciate you taking the time to explain it, rather than just giving me the answer.
 

Similar Topics

Hello, I have a pair of redundant 1756-L71 controllers rev 24. These controllers currently have produced and consumed tag interfaces to 3 other...
Replies
2
Views
158
Hi I have been knocking my head against the wall trying to figure out why these two plcs won't talk with Produced and Consumed Tags data. The...
Replies
14
Views
471
Hello all. I have a 1769-L16 that I inserted a 1769-L35E into. I was expecting it to create module defined tags automatically in my controller...
Replies
10
Views
1,814
Hi, Can a tag configured as a Produced or Consumed tag be read or written to with Explicit Messaging? Context: we are retrofitting an AV system...
Replies
9
Views
2,235
Ok, I've setup comms to PLC's that are behind a NAT switch before, but I have not had a PLC behind one NAT switch communicate with a second PLC...
Replies
13
Views
3,423
Back
Top Bottom