beautypg.com

2 jump (jmp), 3 label (lbl) – Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 249

background image

11Ć5

11.2

Jump (JMP)

Use the Jump instruction to skip or repeat rungs by jumping to the rung identified by

the Label instruction. Use this output instruction to jump to rungs that fall earlier or later

within the program or to repeat rungs.
When the rung containing the JMP instruction goes true, the Processor jumps to the

rung identified by a Label instruction that has the same name as is used on the JMP

instruction. If the rung containing the JMP instruction is false, the jump is not performed

and program execution continues with the next sequential rung.
Enter the name used on the LBL instruction that identifies the logic to which you want to

jump. The JMP coil must be the last coil on a rung.

11.3

Label (LBL)

Use the Label instruction to mark a ladder logic rung as a target for a JMP instruction.

Place the LBL instruction as the first instruction on a rung and enter a unique label

name. This is the same name that you will enter on a JMP instruction.
When a rung containing the JMP instruction becomes true, execution continues at the

rung with the corresponding label.