EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 360

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
358
7 APPLICATION INSTRUCTIONS
7.1 Logical Operation Instructions
WAND(P), DAND(P) [When three data are set]
Processing details
WAND
A logical product operation is conducted for each bit of the 16-bit data of the device designated at (S1) and the 16-bit data
of the device designated at (S2), and the results are stored in the device designated at (D).
For bit devices, the bit devices after the points designated by digit specification are regarded as "0" in the operation.
DAND
Conducts a logical product operation on each bit of the 32-bit data for the device designated by (S1) and the 32-bit data for
the device designated by (S2), and stores the results at the device designated by (D).
For bit devices, the bit devices after the points designated by digit specification are regarded as "0" in the operation.
(S1), (S2) : Data for a logical product operation or the head number of the devices where the data is stored (BIN 16/32 bits)
(D): Head number of the devices where the logical product operation result will be stored (BIN 16/32 bits)
Setting
data
Internal device R, ZR J\ U\G Zn Constant
K, H
Others
Bit Word Bit Word
(S1) 
(S2) 
(D) 
Command
P
WAND,DAND
WANDP,DANDP
S1
S2
D
D
S1
S2
indicates an instruction symbol of WAND/DAND.
Command
000
1
00
1
000
11
0
1
00
0001 001 0000001 00
b15 b8 b0
b7
b0b7b15 b8
AND
11111111
0000
1111
b0
b7
b15 b8
S1
S2
D
0 1 0 11001 0 1 0001
b0b15b31b16
AND
1111 110011 0011
b0b15b31b16
0
1
0
11
0000
1
000
1
b31b16 b0b15
+ 1
+ 1
+ 1
S1
S2
S1
S2
S1
S2
D
D D

Table of Contents

Related product manuals