![background image](http://html.mh-extra.com/html/mitsubishi-electric/melsec-iq-f-fx5/melsec-iq-f-fx5_programming-manual_239114671.webp)
8 APPLICATION INSTRUCTION
8.22 Data Operation Instruction
669
8
• Sorting result when the instructions are executed with (n3) = K3 (column No. 3) (in the case of descending order
SM703=ON)
Precautions
• Do not change the contents of operands and data during operation.
• To execute these instructions again, set the command input to off once, then on again.
• These instructions can be used up to twice in any program.
• When specifying the same device in (s) and (d), the source data is overwritten by the data acquired by sorting. Take special
care so that the contents of (s) are not changed until execution is completed.
• Ensure that the sorted data does not overlap with the source data.
Operation error
Error code
(SD0/SD8067)
Description
2820H
The device range specified by (s) exceeds the corresponding device range.
The device range specified by (d) exceeds the corresponding device range.
3405H
The value specified by (n1) is outside the following range.
1 to 32
The value specified by (n2) is outside the following range.
1 to 6
The value specified by (n3) is outside the following range.
1 to (n2)
Number of groups (n2 = 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 (n1) = 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
D10
D30
D2
D22
D10
D30
D20
D40
D10
D30
D10
D30
D10
D30
D35
D55
D50
D70
D20
D40
Source Data
Sorted Data
Source Data
Sorted Data
Source Data
Sorted Data
Source Data
Sorted Data
Source Data
Sorted Data
Содержание MELSEC iQ-F FX5
Страница 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Страница 2: ......
Страница 17: ...15 CONTENTS ...
Страница 24: ...22 MEMO ...
Страница 25: ...23 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW 2 PRECAUTIONS ON PROGRAMMING ...
Страница 126: ...124 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 132: ...130 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 140: ...138 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 191: ...7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions 189 7 Operation error There is no operation error ...
Страница 202: ...200 7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions Operation error There is no operation error ...
Страница 278: ...276 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 280: ...278 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 915: ...18 TYPE CONVERSION FUNCTIONS 18 13 Converting DWORD to WORD 913 18 Operation error There is no operation error ...
Страница 917: ...18 TYPE CONVERSION FUNCTIONS 18 14 Converting DWORD to INT 915 18 Operation error There is no operation error ...
Страница 932: ...930 18 TYPE CONVERSION FUNCTIONS 18 26 Converting DINT to WORD Operation error There is no operation error ...
Страница 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Страница 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Страница 1107: ...I 1105 MEMO ...
Страница 1111: ......