7.5 Data Processing Instructions
7.5.12 Sorting 16-/32-bit data
7-91
7
APPLI
C
A
T
IO
N
INSTRUCTIONS
SOR
T,
DS
OR
T
SORT, DSORT
7.5.12
Sorting 16-/32-bit data
SORT, DSORT
SORT
DSORT
indicates any of the following
instructions.
SORT
DSORT
Input argument,
EN:
Executing condition
:Bit
s1:
Table to be sorted
:ANY16/32
s2:
Number of data to be compared in one sort execution
:ANY16
n:
Number of sort data
:ANY16
Output argument,
ENO:
Execution result
:Bit
d1:
Bit device number to be turned on at sort completion
:Bit
d2:
Device for system use
:ANY16
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
K, H
Others
Bit
Word
Bit
Word
−
−
−
−
n
−
−
−
−
−
−
−
Universal
UD
High
Performance
Structured ladder
ST
EN
ENO
s
1
d1
n
d2
s
2
SORT
SORT
(EN,
s
1,
n
,
s
2, d1, d2);
ENO:=
s
1
s
2
d1
d2
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......