EasyManuals Logo

GE PACSystems RX7i User Manual

GE PACSystems RX7i
469 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 #191 background imageLoading...
Page #191 background image
Chapter 4. Ladder Diagram (LD) Programming
176 PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual GFK-2950C
4.9.2 Array Range
The ARRAY_RANGE function compares a single input value
against two arrays of delimiters that specify an upper and
lower bound to determine if the input value falls within the
range specified by the delimiters. The output is an array of bits
that is set ON (1) when the input value is greater than or equal
to the lower limit and less than or equal to the upper limit. The
output is set OFF (0) when the input is outside this range or
when the range is invalid, as when the lower limit exceeds the
upper limit.
Mnemonics:
ARRAY_RANGE_DINT
ARRAY_RANGE_DWORD
ARRAY_RANGE_INT
ARRAY_RANGE_UINT
ARRAY_RANGE_WORD
The ARRAY_RANGE function compares a single input value against two arrays of delimiters that
specify an upper and lower bound to determine if the input value falls within the range specified by
the delimiters. The output is an array of bits that is set ON (1) when the input value is greater than or
equal to the lower limit and less than or equal to the upper limit. The output is set OFF (0) when the
input is outside this range or when the range is invalid, as when the lower limit exceeds the upper
limit.
When ARRAY_RANGE receives power, it compares the value in input parameter IN against each
range specified by the array element values of LL and UL. Output Q sets a bit ON (1) for each
corresponding array element where the value of IN is greater than or equal to the value of LL and is
less than or equal to the value of UL. Output Q sets a bit OFF (0) for each corresponding array
element where the value of IN is not within this range or when the range is invalid, as when the value
of LL exceeds the value of UL. If the operation is successful, ARRAY_RANGE passes power flow to the
right.
Operands for Array Range
Notes:
â–ª For each mnemonic, use the corresponding data type for the LL, UL, and Q operands. For
example, ARRAY_RANGE_DINT requires LL, UL, and Q to be DINT variables.
â–ª Q is not aligned. It is displayed in bit format. It displays either a 1 (ON) or a 0 (OFF) for the first
array element. For BOOL references, it represents the reference displayed. For other references,
it represents the low order bit of the reference displayed.
Parameter
Description
Allowed Operands
Optional
Length (??)
The number of elements in each array.
Constant
No
LL
The lower limit of the range
All except constants and %S -
%SC for INT, DINT.
No
UL
The upper limit of the range
All except constants and %S -
%SC for INT, DINT.
No
IN
The value to compare against each range specified by
LL and UL
All except constants and %S -
%SC for INT, DINT.
No
Q
Energized when the value in IN is within the range
specified by LL and UL, inclusive.
All except S
No

Table of Contents

Other manuals for GE PACSystems RX7i

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the GE PACSystems RX7i and is the answer not in the manual?

GE PACSystems RX7i Specifications

General IconGeneral
BrandGE
ModelPACSystems RX7i
CategoryController
LanguageEnglish

Related product manuals