Mitsubishi Electric FX3G SERIES Programming Manual page 548

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
3. 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 result.
The operation examples below indicate 16-bit operations. In the case of 32-bit operation, construct the data table with
32-bit binary data.
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.
1
2
Number of
data (m1 =
3
5)
4
5
1)
Sorting result when the instruction is executed with "n = K2 (column No. 2)"
(in the case of ascending order)
Column No.
Line No.
1
2
3
4
5
2)
Sorting result when the instruction is executed with "n = K3 (column No. 3)"
(in the case of descending order)
Column No.
Line No.
1
2
3
4
5
546
Number of groups (m2 = K4)
1
2
Control number
Height
S
S
+1
1
150
S
S
+4
+5
2
180
S
S
+8
+9
3
160
S
S
+12
+13
4
100
S
S
+16
+17
5
150
1
2
Control number
Height
D
D
+1
4
100
D
D
+4
+5
1
150
D
D
+8
+9
5
150
D
D
+12
+13
3
160
D
D
+16
+17
2
180
1
2
Control number
Height
D
D
+1
3
160
D
D
+4
+5
2
180
D
+8
D
+9
5
150
D
D
+12
+13
1
150
D
D
+16
+17
4
100
19 Data Operation 2 – FNC140 to FNC149
19.7 FNC149 – SORT2 / Sort Tabulated Data 2
3
4
Weight
Age
S
S
+2
+3
45
20
S
S
+6
+7
50
40
S
S
+10
+11
70
30
S
S
+14
+15
20
8
S
S
+18
+19
50
45
3
4
Weight
Age
D
D
+2
+3
20
8
D
D
+6
+7
45
20
D
D
+10
+11
50
45
D
D
+14
+15
70
30
D
D
+18
+19
50
40
3
4
Weight
Age
D
D
+2
+3
70
30
D
D
+6
+7
50
40
D
+10
D
+11
50
45
D
D
+14
+15
45
20
D
D
+18
+19
20
8

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents