Application instructions (32-bit)
Function
DAND
• Logical AND is executed for each bit of the 32-bit data of the device specified with
S
specified with
, and the results are stored in the device specified with
• Logical AND is executed for each bit of the 32-bit data of the device specified with
S2
specified with
, and the results are stored in the device specified with
• Bits of the bit device higher than the specified digit are operated as 0.
Execution condition
The execution conditions for logical AND instructions are as follows.
Operation
command
DAND
DANDP
184
Sequence program
D
+ 1
b31
D
1
1
1
1
1
S
+ 1
b31
S
0
1
0
1
1
D
+ 1
b31
D
0
1
0
1
1
S1
+ 1
b31
S1
1
1
1
1
1
S2
+ 1
b31
S2
0
1
0
1
1
D1
+ 1
b31
0
1
0
1
1
D1
D
.
D
b16
b15
1
0
0
1
1
0
DAND
S
b16
b15
0
0
1
0
1
0
D
b16
b15
0
0
0
0
1
0
D1
.
S1
b16
b15
1
0
0
1
1
0
0
DAND
S2
b16
b15
0
0
1
0
1
0
0
D1
b16
b15
0
0
0
0
1
0
0
Executed every
Executed every
scan.
Executed only once.
D
and 32-bit data of the device
b0
0
1
1
b0
0
0
1
b0
0
0
1
S1
and 32-bit data of the device
b0
1
1
b0
0
1
b0
0
1
scan.
Executed only once.