Rockwell Automation Logix5000 Controllers Produced and Consumed Tags Programming Manual User Manual

Page 33

Advertising
background image

Produce a Large Array Chapter 2

6. Enter this logic.

When the offset value in array_ack[0] is not equal to the current offset value but array_ack[1] equals -999, the consumer has begun to receive a new packet, so the rung moves -999 into

the last element of the packet. The consumer waits until it receives the value -999 before it copies the packet to the array. This guarantees that the consumer has new data.

Rockwell Automation Publication 1756-PM011F-EN-P - October 2014

33

Advertising