6 BASIC INSTRUCTIONS
6.5 Program Branch Instructions
323
6
• The following program jumps to P3 when X9 goes ON.
• The following program jumps to P3 from the next scan after XC goes ON.
• 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
Program example 2
[Ladder Mode] [List Mode]
[Ladder Mode] [List Mode]
[Ladder Mode] [List Mode]
[Ladder Mode] [List Mode]
Step
Instruction
Device
0
1
2
LD
AND
SCJ
M0
SM400
P0
Step
Instruction
Device
0
1
2
3
LD
OUT
AND
SCJ
M0
Y0
SM400
P0