
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.
This table lists the inputs for the AR1 instruction and the variable type and data
type/range that each input supports.
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.
Komentarze do niniejszej Instrukcji