Publication 1762-RM001C-EN-P
16-2 Program Control Instructions
LBL - Label
Instruction Type: input
The LBL instruction is used in conjunction with a jump (JMP) instruction
to change the order of ladder execution. Jumps cause program execution
to go to the rung marked LBL label number.
The immediate data range for the label is from 0 to 999. The label is local
to a program file.
JSR - Jump to
Subroutine
Instruction Type: output
The JSR instruction causes the controller to start executing a separate
subroutine file within a ladder program. JSR moves program execution to
the designated subroutine (SBR file number). After executing the SBR,
control proceeds to the instruction following the JSR instruction.
The immediate data range for the JSR file is from 3 to 255.
LBL
Q2:0
Table 16.2 Execution Time for the LBL Instruction
Controller When Rung Is:
True False
MicroLogix 1200 1.0
µ
s1.0
µ
s
MicroLogix 1500 1.0
µ
s1.0
µ
s
JSR
Jump To Subroutine
SBR File Number U:255
JSR
Table 16.3 Execution Time for the JSR Instruction
Controller When Rung Is:
True False
MicroLogix 1200 8.4
µ
s0.0
µ
s
MicroLogix 1500 8.0
µ
s0.0
µ
s