Example – axis registration trigger – Rockwell Automation Logix5000 Controllers Tasks, Programs, and Routines Programming Manual User Manual
Page 50

Chapter 2 Manage event tasks
Example – axis registration trigger
In a line that packages candy bars, you have to make sure that the perforation
occurs in the correct location on each bar.
•
Each time the registration sensor detects the registration mark, check the
accuracy of an axis and perform any required adjustment.
•
Due to the speed of the line, you have to arm the registration input within
the event task.
A registration sensor is wired as registration input 1…
…for the axis named Axis_1.
This event task interrupts all other tasks.
The following logic arms and re-arms the registration input.
Continuous task
If Arm_Registration = 1 (system is ready to look for the registration mark) then
the ONS instruction limits the EVENT instruction to one scan.
the EVENT instruction triggers Task_1 (event task).
50
Rockwell Automation Publication 1756-PM005-EN-P - October 2014