Mitsubishi MELSEC Q Series Programming Manual page 382

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

Advertisement

WAND(P),DAND(P)
(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]
[Operation]
D10, D11 (BCD12345678) 0
7-8
b31
0
0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0
b31
H FF0FFFFF 1
1
1 1 1 1 1 1 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Y2F Y2C
Y2B Y28 Y27 Y24 Y23
Y2B to Y10 1
1
1 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0
Not changed
[List Mode]
Step
Instruction
b16
b15
AND
b16
b15
Y20
Y1F
Y1CY1B Y18 Y17 Y14 Y13
Device
b0
b0
Y10

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents