Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual
Page 208

10Ć6
As long as EN remains true, the instruction completes the operation by operating on
the number of elements specified in Elems/Scan with each program scan.
A specified number of elements (Length_Out) is stored in Out. Index acts as a marker
indicating the last element of the array that was operated on during the last scan.
10.1.1
Input Parameters for the Unary Array Instruction
This table lists the inputs for the AR1 instruction and the variable type and data
type/range that each input supports.
Parameter
Description
Variable Type
Data/Type Range
EN
While this input is true, the instruction executes. When
this input is false, the instruction does not execute and
is reset.
Connect a Boolean input or output.
Elems/
Scan
Enter the number of elements to operate on each time
the instruction is scanned.
To operate on all elements during a single scan, enter 0.
To distribute the array operation over multiple program
scans, enter the number of elements you want to operĆ
ate on each time the instruction is scanned (after the first
scan).
D simple
D constant
D element of an array
D integer or double
integer
D timer
(name.TPreset
and
name.Elapsed)
D counter
(name.CPreset
and name.Current)
The range is 0 through
100,000 and must not
exceed the maximum
array index plus 1.