B-63983EN/02 4.LADDER LANGUAGE
- 381 -
4.12.5 JMPB (Label Jump 1: SUB 68)
The JMPB functional instruction transfers control to a Ladder
immediately after the label set in a Ladder program. The jump
instruction can transfer control freely before and after the instruction
within the program unit (main program or subprogram) in which the
instruction is coded. (See the description of the LBL functional
instruction, which is be explained later.)
As compared with the conventional JMP functional instruction, JMPB
has the following additional functions:
• More than one jump instruction can be coded for the same label.
• Jump instructions can be nested.
Program unit
Program unit
LBL AA
LBL AA
JMPB BB
JMPB AA
JMPB AA
JMPB AA
LBL BB
Ladder program
Format
Fig. 4.12.5 shows the ladder format and Table 4.12.5 shows the
mnemonic format.
SUB 68
JMPB
L¡¡¡¡
CT
Specification
of the jump
destination
label
Fig. 4.12.5 Format of JMPB instruction
Table 4.12.5 Mnemonic of JMPB instruction
Mnemonic format Status of operation result
Step
number
Instruction
Address
No.
Bit No. Remarks ST3 ST2 ST1 ST0
1RD ¡¡¡¡ .¡ ACT ACT
2 SUB 68 JMPB instruction
3(PRM) L¡¡¡¡ Specification of the jump
destination label