184 Rockwell Automation Publication 5069-UM002A-EN-P - January 2019
Chapter 8 Develop Control Applications
Event Task with Compact 5000 I/O Modules
Some Compact 5000â„¢ I/O modules can trigger an Event task. For example,
complete the following steps to configure an Event task that is triggered by a
state change on a 5069-IB16F module input.
1. Configure the 5069-IB16F input module to trigger the Event task. The
following tasks are required.
a. Use the Data with Events connection type in the 5069-IB16F
module definition.
b. Enable the Event.
c. To participate in the event, select at least one point on the module.
d. Define what constitutes an event, for example, a state change from
Off to On.
e. Choose which edge of the event triggers the event. That is, the rising
edge, falling edge, or both can trigger an event.
You can also latch an event and enable independent point triggers.
2. Create an Event task in your project.
3. Configure the Event task.
• You must choose the event trigger. For example, you can choose
Module Input Data State Change as the trigger.
• Link the task to the appropriate Event Input tag on the module.
For more information on how to use event tasks with Compact 5000 I/O
modules, see the Compact 5000 I/O Digital Module User Manual, publication
5000-UM004.
For more information on how to use event tasks in general, see the Logix 5000
Controllers Tasks, Programs, and Routines Programming Manual, publication
1756-PM005.