Publication 1762-RM001C-EN-P
12-4 Logical Instructions
OR - Logical OR
Instruction Type: output
The OR instruction performs a logical OR of two sources and places the
result in the destination.
OR
Bitwise Inclusive OR
Source A N7:0
0000h<
Source B N7:1
0000h<
Dest N7:2
0000h<
OR
Table 12.5 Execution Time for the OR 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.6 Truth Table for the OR Instruction
Destination = A OR B
Source: A
1111101000001100
Source: B
1100111111000011
Destination:
1111111111001111
IMPORTANT
Do not use the High Speed Counter Accumulator
(HSC.ACC) for the Destination parameter in the AND, OR,
and XOR instructions.