Publication 1762-RM001C-EN-P
Logical Instructions 12-3
AND - Bit-Wise AND
Instruction Type: output
The AND instruction performs a bit-wise logical AND of two sources and
places the result in the destination.
For more information, see Using Logical Instructions on page 12-1 and
Updates to Math Status Bits on page 12-2.
AND
Bitwise AND
Source A N7:0
0000h<
Source B N7:1
0000h<
Dest N7:2
0000h<
AND
Table 12.3 Execution Time for the AND Instruction
Controller Data Size When Rung Is:
True False
MicroLogix 1200 word 2.2
µ
s0.0
µ
s
long word 9.2
µ
s0.0
µ
s
MicroLogix 1500 word 2.0
µ
s0.0
µ
s
long word 7.9
µ
s0.0
µ
s
Table 12.4 Truth Table for the AND Instruction
Destination = A AND B
Source: A
1111101000001100
Source: B
1100111111000011
Destination:
1100101000000000
IMPORTANT
Do not use the High Speed Counter Accumulator
(HSC.ACC) for the Destination parameter in the AND, OR,
and XOR instructions.