1 Publication 1762-RM001C-EN-P
Chapter
16
Program Control Instructions
Use these instructions to change the order in which the processor scans a
ladder program. Typically these instructions are used to minimize scan
time, create a more efficient program, and troubleshoot a ladder program.
JMP - Jump to Label
Instruction Type: output
The JMP instruction causes the controller to change the order of ladder
execution. Jumps cause program execution to go to the rung marked LBL
label number. Jumps can be forward or backward in ladder logic within
the same program file. Multiple JMP instructions may cause execution to
proceed to the same label.
The immediate data range for the label is from 0 to 999. The label is local
to a program file.
Instruction Used To: Page
JMP - Jump to Label Jump forward/backward to a corresponding
label instruction
16-1
LBL - Label 16-2
JSR - Jump to Subroutine Jump to a designated subroutine and return 16-2
SBR - Subroutine Label 16-3
RET - Return from Subroutine 16-3
SUS - Suspend Debug or diagnose your user program 16-4
TND - Temporary End Abort current ladder scan 16-4
END - Program End End a program or subroutine 16-5
MCR - Master Control Reset Enable or inhibit a master control zone in
your ladder program
16-5
JMP
Q2:0
Table 16.1 Execution Time for the JMP Instruction
Controller When Rung Is:
True False
MicroLogix 1200 1.0
µ
s0.0
µ
s
MicroLogix 1500 1.0
µ
s0.0
µ
s