Triggering the event task – Rockwell Automation 1794-L34 FlexLogix Controller System User Manual User Manual

Page 86

Advertising
background image

Publication 1794-UM001G-EN-P - January 2007

86 Develop Applications

Triggering the Event Task

To trigger an event task based on conditions in your logic, use the
EVENT Instruction trigger.

The EVENT Instruction Only trigger requires that you use a Trigger
Event Task (EVENT) instruction to trigger the task. You can use an
EVENT instruction from multiple points in your project. Each time the
instruction executes, it triggers the specified event task.

Let an event trigger this task.

Let an EVENT instruction trigger the task.

No tag is required.

Description:

Program A executes an EVENT instruction.

The event task that is specified by the EVENT instruction executes one time.

Program B executes an EVENT instruction.

The event task that is specified by the EVENT instruction executes one time.

EVENT instruction in program A

EVENT instruction in program B

event task

1

2

1

2

Advertising