Chapter 8
Array (File)/Misc. Instructions (FAL, FSC, COP, CPS, FLL, AVE, SRT, STD, SIZE)
Code
SAM
366
Code_table
AFG
BEH
HUO
SAK
SAM
FQG
CLE
CAK
DET
BWG
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Code_table_search.POS
0
1
2
3
The FSC instruction finds that this array element
4
equals code. The instruction sets the .FD and .IN
bits. The .POS (4) value indicates the position of
5
the equal element. To continue comparing the rest
of the array, clear the .IN bit.
6
7
8
9