Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 475
Program Control Instructions (JMP, LBL, JSR, RET, SBR, JXR, TND, MCR, UID, UIE, AFI, NOP, EOT, SFP, SFR, EVENT) Chapter 11
Example: When both limit_switch1 and interlock_1 are set, set state. After timer_1
completes, EOT returns the value of state to the calling routine.
Relay Ladder
Structured Text
state := limit_switch1 AND interlock_1;
IF timer_1.DN THEN
EOT(state);
END_IF;