274
CJ, SCJ, JMP
6.5
Program Branch Instructions
P**
: Pointer number of jump destination (Device name)
Function
CJ
(1) Executes the program specified by the pointer number within the same program file, when the execution command is
ON.
(2) When the execution command is OFF, the program at the next step is executed.
SCJ
(1) Executes the program specified by the pointer number within the same program file starting with the scan immediately
after OFF ON of the execution command.
(2) When the execution command is OFF or turned ON OFF, the program at the next step is executed.
CJ, SCJ, JMP
Pointer branch
6.5.1
CJ, SCJ, JMP
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
Other
Bit
Word
Bit
Word
P
––
Basic
Process
High
performance
Redundant Universal
LCPU
Command
Command
C
J
SC
J
J
MP
Command
P
**
P
**
Label
P
**
P
**
CJ
SCJ
JMP
Execution command OFF
C
J
ON
Executed at each scan
Execution command OFF
SC
J
ON
Executed at each scan
1 scan