Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 674

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

• Sorting result when the instructions are executed with (n3) = K3 (column No. 3) (in the case of descending order
SM703=ON)
Number of data (n1) = 5
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 or 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.
D10
Source Data
D2
D22
Sorted Data
D10
Source Data
D10
Sorted Data
D50
D20
D40
Sorted Data
Operation error
Error code
Description
(SD0/SD8067)
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)
8 APPLICATION INSTRUCTION
672
8.22 Data Operation Instruction
Number of groups (n2 = K4)
Column No. 1
Control number
Line No. 1
(d)+1, (d)
3
Line No. 2
(d)+9, (d)+8
2
Line No. 3
(d)+17, (d)+16
5
Line No. 4
(d)+25, (d)+24
1
Line No. 5
(d)+33, (d)+32
4
D30
D10
Source Data
D20
Sorted Data
D30
D10
Source Data
D30
D70
Source Data
Column No. 2
Height
(d)+3, (d)+2
1
6
0
(d)+11, (d)+10
1
8
0
(d)+19, (d)+18
1
5
0
(d)+27, (d)+26
1
5
0
(d)+35, (d)+34
1
0
0
D30
D40
D30
D35
D55
Sorted Data
Column No. 3
Column No. 4
Weight
Age
(d)+5, (d)+4
(d)+7, (d)+6
7
0
3
0
(d)+13, (d)+12
(d)+15, (d)+14
5
0
4
0
(d)+21, (d)+20
(d)+23, (d)+22
5
0
4
5
(d)+29, (d)+28
(d)+31, (d)+30
4
5
2
0
(d)+37, (d)+36
(d)+39, (d)+38
2
0
8

Hide quick links:

Advertisement

loading