396
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
14 Handy Instruction – FNC 60 to FNC 69
14.10 FNC 69 – SORT / SORT Tabulated Data
2) Sorting result when the instruction is executed with "n = K3 (column No. 3)"
Related device
→
For the instruction execution complete flag use method, refer to Subsection 6.5.2.
Cautions
• Do not change the contents of operands and data while the instruction is executed.
• Before executing the instruction again, set the command input to OFF.
• Limitation in the number of instructions
Only one instruction can be used in a program.
• When the same device is specified in
and
The source data is overwritten by the data acquired by sorting.
Take special care so that the contents of
are not changed until execution is completed.
Column No.
1
2
3
4
Line No.
Control number
Height
Weight
Age
1
+ 5
+ 10
+ 15
4
100
20
8
2
+ 1
+ 6
+ 11
+ 16
1
150
45
20
3
+ 2
+ 7
+ 12
+ 17
2
180
50
40
4
+ 3
+ 8
+ 13
+ 18
5
150
50
45
5
+ 4
+ 9
+ 14
+ 19
3
160
70
30
Device
Name
Description
M8029
Instruction
execution complete
Turns ON when sorting is completed.
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
1
S
D
1
D
D
1
S