Download Local PDF

Transcript
98
Managing Tasks
Using the Consumed Tag
Trigger
To trigger an event task based on data from a consumed tag, use the
Consumed Tag trigger.
Let an event trigger this task.
Let a consumed tag trigger the task.
Let this consumed tag trigger the task.
A produced/consumed tag relationship can pass an event trigger along with
data to a consumer controller. Typically, you use an Immediate Output (IOT)
instruction to send the event trigger to the consumer controller.
1
new
data
2
3
Produced_Tag
Consumed_Tag
6A7844B1
6A7844B1
3B221D89
3B221D89
43BB278F
43BB278F
4
Event Task
Controller A
Controller B
Description:
Publication 1756-PM001I-EN-P - January 2007
1
In Controller A, logic updates the values of a produced tag.
2
Once the update is complete, the Controller A executes an IOT instruction to send
the data and an event trigger to Controller B.
3
Controller B consumes the new data.
4
After Controller B updates the consumed tag, it executes the event task.