0 - program control instructions, 0 program control instructions – Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual
Page 245

11Ć1
11.0 Program Control Instructions
Use the Program control instructions to change the sequence of ladder logic execution.
Choose from these instructions:
D SET
D JMP
D LBL
See the input and output parameter for each instruction for specific information.
Using Jump and Label Instructions to Skip or Repeat Portions of Ladder Logic
Use JMP and LBL instructions together to jump forward or backward within a ladder
program. Jumping forward helps you save program scan time by only executing
portions of the program when they are needed. By jumping backwards in a program,
you can repeat iterations of a logic segment.
Follow these rules when using JMP and LBL constructs:
D You can jump to a single LBL instruction from multiple JMP instructions.
D A rung can contain only one JMP instruction.
I
MPORTANT
D The JMP instruction must be the last instruction on the rung.
D The LBL instruction must be the first instruction on a rung.
D Any name used in the JMP or LBL instructions must be defined as a Label. The
Editor assigns the type when you first enter a new variable name.