Rockwell Automation Publication 2080-QS004C-EN-E - October 2023 37
Chapter 8
How to Implement an Instruction Block
An Instruction Block is essentially a function block that has been predefined to perform a specific task or function. Instruction Blocks
include functions such as Timer-on-delay, Timer-off-delay, Math instructions, Data Type conversions, Motion instructions, and so forth.
This chapter describes how to implement a Timer-on-delay Instruction Block (TON). This Instruction Block is inserted into your motor circuit
and turns on the motor coil, which automatically turns off after five seconds.
You will also learn how to implement an ANY_TO_TIME Data Conversion Instruction Block to convert an Integer to a Time value.
Add a TON Instruction Block
1. Drag-and-drop a Branch instruction to the drop point on the left side of the output coil, wrapping around the coil instruction. If you
drop the branch on the right side of the rung, it does not wrap around the coil.
2. Locate the TON instruction in the Timer/Counter folder on the Instruction Toolbar. Drag-and-drop the instruction into the branch that
you have added.