276
CJ, SCJ, JMP
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into
SD0.
Program Example
(1) The following program jumps to P3 when X9 goes ON.
[Ladder Mode]
[List Mode]
(2) The following program jumps to P3 from the next scan after XC goes ON.
[Ladder Mode]
[List Mode]
Caution
(1) When using the Universal model QCPU and LCPU with the SCJ instruction, inserting "AND SM400" (or the NOP
instruction) in immediately before the SCJ instruction is required.
[Program example 1]
[Ladder Mode] [List Mode]
[Program example 2]
[Ladder Mode]
[List Mode]
Error
code
Error details
Q00J/
Q00/
Q01
QnH
QnPH QnPRH
QnU
LCPU
4210
The specified pointer number is not set before the END instruction. A
pointer number which is not in use as a label in the same program has
been specified. A common pointer in another program is specified.
Step
Instruction
Device
Step
Instruction
Device
Step
Instruction
Device
0
1
2
LD
AND
SC
J
M0
SM400
P0
Step
Instruction
Device
0
1
2
3
LD
O
U
T
AND
SC
J
M0
Y0
SM400
P0