7-16
WOR(P),DOR(P)
(2) The following program performs a logical sum operation on the 32-bit data at D0 and D1,
and the 24-bit data from X20 to X37, and stores the results at D23 and D24 when M8 is ON.
[Ladder Mode] [List Mode]
[Operation]
Step Instruction Device
0000 000
1
00
1
00
1
X20X37
OR
1111
000
11
00
111
b0b23b31
b24
1111 000110 1111
b31 b16 b0b15
b28 b3
D1, D0
X37 to X20
D24, D23
Regarded as 0s.
0
0
0
X36X35 X23
X22X21
b27
b22b21 b2 b1
S
D
S
D
+1
+1