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.
6.5.1 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
CJ
SCJ
JMP
Command
P**
P**
Label
P**
P**
CJ
SCJ
JMP
Execution command OFF
CJ
ON
Executed at each scan
Execution command OFF
SCJ
ON
Executed at each scan
1 scan