EasyManuals Logo
Home>Allen-Bradley>Controller>SLC 500 Series

Allen-Bradley SLC 500 Series User Manual

Allen-Bradley SLC 500 Series
694 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #61 background imageLoading...
Page #61 background image
Publication 1747-RM001G-EN-P - November 2008
Comparison Instructions 3-5
Limit Test (LIM)
Use the LIM instruction to test for values within or outside a specified range,
depending on how you set the limits.
Entering Parameters
The Low Limit, Test, and High Limit values can be word addresses or
constants, restricted to the following combinations:
• If the Test parameter is a program constant, both the Low Limit and
High Limit parameters must be word addresses.
• If the Test parameter is a word address, the Low Limit and High Limit
parameters can be either a program constant or a word address.
True/False Status of the Instruction
If the Low Limit has a value equal to or less than the High Limit, the
instruction is true when the Test value is between the limits or is equal to
either limit. If the Test value is outside the limits, the instruction is false, as
shown below.
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.
LIM
Limit Test
Low Lim 5
5<
Test N7:13
7<
High Lim 8
8<
LIM
Input Instruction
Fixed SLC
5/01
SLC
5/02
SLC
5/03
SLC
5/04
SLC
5/05
••••
False True False
-32,768 +32,767
Low Limit High Limit
Example, low limit less than high limit:
Low Limit High Limit Instruction is True
when Test value is
Instruction is False
when Test value is
5 8 5 through 8 -32,768 through 4 and
9 through 32,767
True False True
-32,768 +32,767
High Limit Low Limit
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
8 5 -32,768 through 5 and 8
through 32,767
6 and 7

Table of Contents

Other manuals for Allen-Bradley SLC 500 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley SLC 500 Series and is the answer not in the manual?

Allen-Bradley SLC 500 Series Specifications

General IconGeneral
BrandAllen-Bradley
ModelSLC 500 Series
CategoryController
LanguageEnglish

Related product manuals