7-13
WOR(P),DOR(P)
1
2
3
4
6
6
7
8
7.1 Logical operation instructions
7.1.3 Logical sums of 16-bit and 32-bit data (WOR(P),DOR(P))
(2) The following program performs a logical sum operation on the 32-bit data from X0 to X1F,
and on the hexadecimal value FF00FF00H when XB is turned ON, and stores the results at
D66 and D67.
[Ladder Mode] [List Mode]
[Operation]
Step Instruction Device
1111 000111 0000
b0b15b31 b16
OR
1010 000000 1010
X0
XFX1F X10
1111 000111 1010
b31 b16 b0b15
X1C X3
+ 1
+ 1
+ 1
X0
FF00FF00H
D67,D66
D
SS
D
DD
X1F