EasyManuals Logo

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 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
Page #310 background imageLoading...
Page #310 background image
308
WAND, WANDP, DAND, DANDP
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) For bit devices, the bit devices after the points designated by digit specification are regarded as "0" in the operation.
(See Program Examples (1) and (2))
DAND
(1) Conducts a logical product operation on each bit of the 32-bit data for the device designated by and the 32-bit data for
the device designated by , and stores the results at the device designated by .
(2) For bit devices, the bit devices after the points designated by digit specification are regarded as "0" in the operation. (See
Program Example (3))
Operation Error
(1) There is no operation error in the WAND(P) or DAND(P) instruction.
Program Example
(1) The following program performs a logical product operation on the data from X10 to X1B and the data at D33 when XA is
ON, and stores the results at D40.
[Ladder Mode] [List Mode]
[Operation]
S1
S2
D
000
1
00
1
000
11
0
1
00
0001001000000100
b15 b8 b0
b7
b0b7b15 b8
AND
11111111
0000
1111
b0
b7
b15 b8
S1
S2
D
S1
S2
D
0101 100101 0001
b0b15b31 b16
AND
1111 110011 0011
b0b15b31 b16
0
1
0
11
0000
1
000
1
b31 b16 b0b15
+ 1
+ 1
+ 1
S1
S2
S1
S2
S1
S2
D
D D
Step Instruction Device
0
1
0
111
0
11111
0000
000010010011000
0
b15 b8 b0b7
b0b7b15 b8
AND
D33
D40
000010010011110
0
X10X17
X1B to X10
X13X18
X1B
Regarded as 0s.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-Q/L and is the answer not in the manual?

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals