Справочник Пользователя для Mitsubishi Electronics QCPU
7-3
WAND(P),DAND(P)
1
2
3
4
6
6
7
8
7
.1 Logical oper
ation
instructions
7
.1.1 Logical pr
oduct
s with 16-
bit
and 32-b
and 32-b
it data
(WAND(P)
,DAND(
P))
7.1.1
Logical products with 16-bit and 32-bit data
(WAND(P),DAND(P))
WAND(P),DAND(P)
When two data are set (
, (
+1,
)
(
+1,
) (
+1,
))
Function
WAND
(1) A logical product operation is conducted for each bit of the 16-bit data of the device
designated at
and the 16-bit data of the device designated at
, and the results are
stored in the device designated at
.
(2) When bit devices are designated, the bit devices after the points designated as digits are
regarded as "0" in the operation. (See Program Example (2))
: Data for a logical product operation or the head number of the devices where the data is stored (BIN 16/32 bits)
: Head number of the devices where the logical product operation result will be stored (BIN 16/32 bits)
Setting
Data
Internal Devices
R, ZR
J
\
U
\G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
––
––
––
Basic
Process
High
performance
Redundant Universal
D
S
D
D
D
S
S
D
D
Command
Command
P
S
D
S
D
WAND,DAND
WANDP,DANDP
indicates an instruction symbol of WAND/DAND.
S
D
S
D
D
S
D
0
0
0
1
0
0
1
0
0
0
1
1
0
1
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
1
0
0
b15
b8
b0
b7
b0
b7
b15
b8
AND
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
b0
b7
b15
b8
D
S
D