7.2
Program Branch Instructions
Pointer branch
CJ, SCJ, JMP
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
• CJ: This instruction executes the program specified by the pointer number within the same program file.
• SCJ: This instruction executes the program specified by the pointer number within the same program file starting with the
next scan.
• JMP: This instruction unconditionally executes the program specified by the pointer number within the same program file.
Ladder
(P)
FBD/LD
Not supported
■Execution condition
Instruction
CJ
SCJ
JMP
Setting data
■Description, range, data type
Operand
Description
(P)
Pointer number of the jump destination
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(P)
Processing details
■CJ
• This instruction executes the program specified by the pointer number within the same program file when the execution
command is on.
• When the execution command is off, the program in the next step is executed.
ON
OFF
(1)
CJ
(1) Execution command
(2) Executed in each scan
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Every scan
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
(2)
ST
Not supported
Range
Data type
Device name
Double word Indirect
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
Data type (label)
POINTER
Constant
Others
specification
(P)
K, H E
$
7.2 Program Branch Instructions
7
537