EasyManua.ls Logo

Mitsubishi MELSEC-Q/L

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
Loading...
309
WAND, WANDP, DAND, DANDP
1
2
3
4
4
6
7
8
7.1 Logical operation instructions
7.1.1 WAND, WANDP, DAND, DANDP
(2) The following program performs a logical product operation on the data at D10 and at D20 when X1C is ON, and stores
the results from M0 to M11.
[Ladder Mode] [List Mode]
[Operation]
(3) The following program masks the digit in the hundred-thousands place of the 8-digit BCD value at D10 and D11 (sixth
digit from the end) to 0 when XA is ON, and outputs the results to from Y10 to Y2B.
[Ladder Mode] [List Mode]
[Operation]
Step Instruction Device
000
1111111111111
1111101010101010
M15 M8 M0M7
b0
b7
b15 b8
b8
AND
0000
1
0
1
0
1
0
1
0
1
0
1
0
b0
b7
b15
D10
D20
M3M4
M11
M12
Not changed
Step Instruction Device
1
H FF0FFFFF
1111111000011111111111111111111
b31
b16 b0b15
1Y2B to Y10 1 1
000
1
000000
1
0 00
1
0
1
0
11
00
11
11
000
Y20
Y10
Y1F
0
D10, D11 (BCD12345678)
00
1
00
1
000
1
1
0
1
0
00
1
0
1
0
11
00
11
11
00
0
b31
b16 b0b15
Y2B
Y28 Y27
Y24
Y23 Y1C
Y1B
Y18 Y17
Y14
Y13
AND
Not changed
Y2F
Y2C

Table of Contents

Related product manuals