Download Introduction - Artisan Technology Group

Transcript
Chapter 8
Array (File)/Misc. Instructions (FAL, FSC, COP, CPS, FLL, AVE, SRT, STD, SIZE)
Selecting Mode of
Operation
For FAL and FSC instructions, the mode tells the controller how to distribute
the array operation.
If You Want To
Select This Mode
operate on all of the specified elements in an array before
continuing on to the next instruction
All
distribute array operation over a number of scans
Numerical
enter the number of elements to operate on per scan
(1-2147483647)
manipulate one element of the array each time the
rung-condition-in goes from false to true
Incremental
All mode
In All mode, all the specified elements in the array are operated on before
continuing on to the next instruction. The operation begins when the
instruction’s rung-condition-in goes from false to true. The position (.POS)
value in the control structure points to the element in the array that the
instruction is currently using. Operation stops when the .POS value equals the
.LEN value.
Data array
one scan
16639
330
Publication 1756-RM003K-EN-P - July 2008
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com