EasyManua.ls Logo

Allen-Bradley MicroLogix 1200 - Chapter 12 Using Logical Instructions

Allen-Bradley MicroLogix 1200
424 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1 Publication 1762-RM001C-EN-P
Chapter
12
Logical Instructions
The logical instructions perform bit-wise logical operations on individual
words.
Using Logical
Instructions
When using logical instructions, observe the following:
Source and Destination must be of the same data size (i.e. all words or
all long words).
Source A and Source B can be a constant or an address, but both
cannot be constants.
Valid constants are -32768 to 32767 (word) and -2,147,483,648 to
2,147,483,647 (long word).
Instruction Used To: Page
AND - Bit-Wise AND Perform an AND operation 12-3
OR - Logical OR Perform an inclusive OR operation 12-4
XOR - Exclusive OR Perform an Exclusive Or operation 12-5
NOT - Logical NOT Perform a NOT operation 12-6
IMPORTANT
Do not use the High Speed Counter Accumulator
(HSC.ACC) for the Destination parameter in the AND,
OR, and XOR instructions.

Table of Contents

Other manuals for Allen-Bradley MicroLogix 1200

Related product manuals