
7-8
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] [List Mode]
[Operation]
Step Instruction Device
1
H FF0FFFFF 1111111000011111111111111111111
b31 b16 b0b15
1Y2B to Y10 1 1 00010000001000101011001111000
Y20 Y10
Y1F
0
D10, D11 (BCD12345678)00
10010001101000101011001111000
b31 b16 b0b15
Y2B Y28Y27 Y24Y23 Y1CY1B Y18 Y17 Y14Y13
AND
Not changed
Y2FY2C