beautypg.com

Programming – Rockwell Automation 1761 MicroLogix 1000 Programmable Controllers User Manual

Page 129

background image

Using Comparison Instructions

7–7

If the Low Limit has a value greater than the High Limit, the instruction is false
when the Test value is between the limits. If the Test value is equal to either limit or
outside the limits, the instruction is true, as shown below.

8

5

–32,768 through 5 and 8 through 32,767

6 and 7

Example, low limit greater than high limit:

Low

Limit

High

Limit

Instruction is True

when Test value is

Instruction is False

when Test value is

True

False

True

–32,768

High Limit

Low Limit

+ 32,767

Programming