5 - 34
Project name QEX11
Program name MAIN
Ladder example
Create the following ladder with GX Works2 and write it to the CPU of the
demonstration machine. Then check that the addition and subtraction instructions
operate properly.
X0
0
10
K5Y40D1DBCDD1 K0
BINP K4X30 D0
K4X20 D1
D0 D1
K4X30 D0
K4X20 D1
D0 D1
Y70
K5Y40K0DMOV
X1
D1 K0
20
26
BINP
+P
BINP
BINP
-P
Operating Procedure
The following procedures are the same as the
Operating Procedure
in section 4.4.
(1) Creating a new project
(2) Creating a program
(3) Writing the project to the programmable controller
(4) Monitoring the ladder