Special offers from our partners!
Find Replacement BBQ Parts for 20,308 Models. Repair your BBQ today.
7-3
WAND(P),DAND(P)
1
2
3
4
6
6
7
8
7.1 Logical operation instructions
7.1.1 Logical products with 16-bit and 32-bit 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
0001001000110100
0001001000000100
b15 b8 b0b7
b0b7b15 b8
AND
1111111100001111
b0b7b15 b8
D
S
D