Mitsubishi Electric MELSEC FX3U Programming Manual page 438

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
• The data table configuration is explained in an example in which the sorting source data table has 3 lines
and 4 columns (m1 = K3, m2 = K4). For the sorting result data table, understand
Column No.
Line No.
Number of
data
(m1 = 3)
• When the command input turns ON, data sorting is started. Data sorting is completed after "m1" scans,
and the instruction execution complete flag M8029 is set to ON.
2. Operation examples
When the instruction is executed with "n = K2 (column No. 2)" and "n = K3 (column No. 3) for the following
sorting source data, the operations shown below are acquired.
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 source data
Column No.
Line No.
Number of
data
(m1 = 5)
1) Sorting result when the instruction is executed with "n = K2 (column No. 2)"
Column No.
Line No.
1
2
3
4
5
436
1
Control number
1
S
2
S
+1
3
S
+2
→ For the instruction execution complete flag use method, refer to Subsection 6.5.2.
Number of groups (m2 = K4)
1
Control number
S
1
1
S
+ 1
2
2
+ 2
S
3
3
S
+ 3
4
4
+ 4
S
5
5
1
Control number
D
4
D
+ 1
1
D
+ 2
5
D
+ 3
3
D
+ 4
2
14.10 FNC 69 – SORT / SORT Tabulated Data
Number of groups (m2 = K4)
2
Height
+3
S
S
+4
S
+5
2
3
Height
Weight
S
+ 5
S
+ 10
150
45
S
+ 6
S
+ 11
180
50
+ 7
+ 12
S
S
160
70
S
+ 8
S
+ 13
100
20
+ 9
+ 14
S
S
150
50
2
3
Height
Weight
+ 5
+ 10
D
D
100
20
D
+ 6
D
+ 11
150
45
D
+ 7
D
+ 12
150
50
D
+ 8
D
+ 13
160
70
D
+ 9
D
+ 14
180
50
14 Handy Instruction – FNC 60 to FNC 69
D
S
as
1
3
Weight
+6
S
S
+7
S
+8
4
Age
S
+ 15
20
S
+ 16
40
+ 17
S
30
S
+ 18
8
+ 19
S
45
4
Age
+15
D
8
D
+ 16
20
D
+ 17
45
D
+ 18
30
D
+ 19
40
D
D
.
1
4
Age
+9
S
S
+10
S
+11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents