
7 APPLICATION INSTRUCTION
7.17 Data operation instruction
563
7
• When the command input turns on, data sorting is started. Data sorting is completed after (m1) scans, and the instruction
execution complete flag SM8029 is set to on.
• The following table shows an operation example based on the sorting source data below. It is recommended to put a serial
number such as a control number in the first column so that the original line number can be estimated based on the
contents.
• Sorting result when the instructions are executed with (n) = K2 (column No. 2) (in the case of ascending order
SM703=OFF)
• Sorting result when the instructions are executed with (n) = K3 (column No. 3) (in the case of descending order
SM703=ON)
Number of groups (m2 = K4)
Column No. 1
Column No. 2
Column No. 3
Column No. 4
Control number
Height
Weight
Age
Number of data (m1) = 5
Line No. 1
(s)
(s)+1
(s)+2
(s)+3
1
150
45
20
Line No. 2
(s)+4
(s)+5
(s)+6
(s)+7
2
180
50
40
Line No. 3
(s)+8
(s)+9
(s)+10
(s)+11
3
160
70
30
Line No. 4
(s)+12
(s)+13
(s)+14
(s)+15
4
100
20
8
Line No. 5
(s)+16
(s)+17
(s)+18
(s)+19
5
150
50
45
Number of groups (m2 = K4)
Column No. 1
Column No. 2
Column No. 3
Column No. 4
Control number
Height
Weight
Age
Number of data (m1) = 5
8
0
2
0
0
1
4
Line No. 2
0
2
5
4
0
5
1
1
Line No. 3
5
4
0
5
0
5
1
5
Line No. 4
0
3
0
7
0
6
1
3
Line No. 5
0
4
0
5
0
8
1
2
Line No. 1
(d)
(d)+3
(d)+1
(d)+2
(d)+4
(d)+5
(d)+7
(d)+6
(d)+8
(d)+9
(d)+10
(d)+11
(d)+12
(d)+13
(d)+14
(d)+15
(d)+16
(d)+17
(d)+18
(d)+19
Number of groups (m2 = K4)
Column No. 1
Column No. 2
Column No. 3
Column No. 4
Control number
Height
Weight
Age
0
3
0
7
0
6
1
3
0
4
0
5
0
8
1
2
5
4
0
5
0
5
1
5
0
2
5
4
0
5
1
1
8
0
2
0
0
1
4
Number of data (m1) = 5
Line No. 2
Line No. 3
Line No. 4
Line No. 5
Line No. 1
(d)
(d)+3
(d)+2
(d)+4
(d)+5
(d)+7
(d)+6
(d)+8
(d)+9
(d)+10
(d)+11
(d)+12
(d)+13
(d)+14
(d)+15
(d)+16
(d)+17
(d)+18
(d)+19
(d)+1
Summary of Contents for MELSEC iQ-F FX5 series
Page 1: ...MELSEC iQ F FX5 Series Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 21: ...19 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW ...
Page 98: ...96 4 STANDARD FUNCTIONS FUNCTION BLOCKS 4 2 Standard Function Blocks MEMO ...
Page 840: ...838 23 TIME DATA FUNCTIONS 23 4 Division MEMO ...
Page 887: ......