Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 343
Chapter
8
Array (File)/Misc. Instructions
(FAL, FSC, COP, CPS, FLL, AVE, SRT, STD, SIZE)
The file/miscellaneous instructions operate on arrays of data.
Topic Page
Selecting Mode of Operation 344
File Arithmetic and Logic (FAL) 349
File Search and Compare (FSC) 361
Copy File (COP) Synchronous Copy File (CPS) 370
File Fill (FLL) 376
File Average (AVE) 380
File Sort (SRT) 385
File Standard Deviation (STD) 390
Size In Elements (SIZE) 397
If you want to Use this instruction Available in these languages Page
Perform arithmetic, logic, shift, and function
operations on values in arrays
FAL Relay ladder
Structured text
(1)
349
Search for and compare values in arrays FSC Relay ladder 361
Copy the contents of one array into another array COP Relay ladder
Structured text
370
Copy the contents of one array into another array
without interruption
CPS Relay ladder
Structured text
370
Fill an array with specific data FLL Relay ladder
Structured text
(1)
376
Calculate the average of an array of values AVE Relay ladder
Structured text
(1)
380
Sort one dimension of array data into
ascending order
SRT Relay ladder
Structured text
385
Calculate the standard deviation of an array
of values
STD Relay ladder
Structured text
(1)
390
Find the size of a dimension of an array SIZE Relay ladder
Structured text
397
(1) There is no equivalent structured text instruction. Use other structured text programming to achieve the same result. See the description for the instruction.