4 - 26
Operation Practice
Verify the operation of the ladder, which was created with GX Works2 and written to
the CPU of the demonstration machine, by monitoring the ladder on the screen.
X3
X5
X4
0
3
5
6
9
P10
Y70
FEND
Y72
END
P10CJ
(1) When X3 is off
(a) The operation is executed from 0
to FEND.
(b) Turning on or off X4 turns on or
off Y70.
(c) Turning on or off X5 does not
change Y72.
(2) When X3 is on
(a) The program jumps to the pointer
P10 by the CJ instruction.
(b) Turning on or off X4 does not
change Y70.
(c) Turning on or off X5 turns on or
off Y72.
LD X3
CJ P10
LD X4
OUT Y70
FEND
P10
LD X5
OUT Y72
END
0
1
3
4
5
6
7
8
9
Operation when X3 is on
Operation when X3 is off
Jump by CJ
Related Exercise
–––– Exercise 4