Or - Logical Or - Allen-Bradley MicroLogix 1200 Reference Manual

Hide thumbs Also See for MicroLogix 1200:
Table of Contents

Advertisement

12-4
Logical Instructions

OR - Logical OR

OR
OR
Bitwise Inclusive OR
Source A
N7:0
0000h<
Source B
N7:1
0000h<
Dest
N7:2
0000h<
Publication 1762-RM001C-EN-P
Instruction Type: output
Table 12.5 Execution Time for the OR Instruction
Controller
Data Size
MicroLogix 1200
word
long word
MicroLogix 1500
word
long word
The OR instruction performs a logical OR of two sources and places the
result in the destination.
Table 12.6 Truth Table for the OR Instruction
Destination = A OR B
Source: A
1 1 1 1 1 0 1 0 0 0 0 0 1 1 0 0
Source: B
1 1 0 0 1 1 1 1 1 1 0 0 0 0 1 1
Destination:
1 1 1 1 1 1 1 1 1 1 0 0 1 1 1 1
Do not use the High Speed Counter Accumulator
IMPORTANT
(HSC.ACC) for the Destination parameter in the AND, OR,
and XOR instructions.
When Rung Is:
True
False
2.2 µ s
0.0 µ s
9.2 µ s
0.0 µ s
2.0 µ s
0.0 µ s
7.9 µ s
0.0 µ s

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Micrologix 1500

Table of Contents