as "0" in the operation. (See Program Example (3))
Operation Error
(1) There are no operation errors associated with the WAND(P) or DAND(P) instruction.
Program Example
(1) The following program performs a logical product operation on the data from X10 to X1B and
the data at D33 when XA is ON, and stores the results at D40.
[Ladder Mode]
[Operation]
X1B to X10
Regarded as 0s.
b15
D33
b15
D40
(2) The following program performs a logical product operation on the data at D10 and at D20
when X1C is ON, and stores the results from M0 to M11.
[Ladder Mode]
[Operation]
b15
D10
0
0
b15
D20
0
0
M15
1
1
Not changed
X18
X17
X1B
0
0
0
0
1
0
0
1
AND
b8
b7
0
0
0
1
1
1
1
1
b8
b7
0
0
0
0
1
0
0
1
b8
b7
0
0
1
0
1
0
1
0
AND
b8
b7
0
1
1
1
1
1
1
1
M12
M11
M8
M7
1
1
1
0
1
0
1
0
[List Mode]
Step
Instruction
X13
X10
0
0
1
1
1
1
0
0
b0
0
0
0
0
1
1
1
1
b0
0
0
1
1
0
0
0
0
[List Mode]
Step
Instruction
b0
1
0
1
0
1
0
b0
1
1
1
1
1
1
M4
M3
M0
1
0
1
0
1
0
WAND(P),DAND(P)
Device
Device
7-7
1
2
3
4
6
6
7
8