Mitsubishi MELSEC Q Series Programming Manual page 377

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

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 (
WAND,DAND
WANDP,DANDP
Setting
Data
S
D
Function
WAND
(1) A logical product operation is conducted for each bit of the 16-bit data of the device
designated at
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))
D
S
D
Command
Command
: Data for a logical product operation or the head number of the devices where the data is stored (BIN 16/32 bits)
S
: Head number of the devices where the logical product operation result will be stored (BIN 16/32 bits)
D
Internal Devices
R, ZR
Bit
Word
and the 16-bit data of the device designated at
D
.
D
b15
b8
D
1
1
1
1
1
1
1
1
AND
b15
b8
S
0
0
0
1
0
0
1
0
b15
b8
D
0
0
0
1
0
0
1
0
High
Basic
performance
, (
+1,
)
(
+1,
D
D
S
indicates an instruction symbol of WAND/DAND.
J
\
U
\G
Bit
Word
b7
b0
0
0
0
0
1
1
1
1
b7
b0
0
0
1
1
0
1
0
0
b7
b0
0
0
0
0
0
1
0
0
WAND(P),DAND(P)
Process
Redundant Universal
LCPU
)
(
+1,
))
S
D
D
S
D
P
D
S
Constants
Zn
Other
K, H
––
––
––
, and the results are
S
1
2
3
4
6
6
7
8
7-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents