10.6 SORT (Sort)
■
Ladder diagram
■
Available operation units (●: Available)
Operatio
n unit
bit US SS UL SL SF DF
i ● ● ● ● ● ●
■
List of operands
Operand Description
S1 Starting position of the target area (data format: according to the operation unit)
S2 End position of the target area (data format: according to the operation unit)
S3 Sort condition (data format: unsigned 16-bit integer)
■
Available devices (●: Available)
Operan
d
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
(Note 1)
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX K U H SF
D
F
" "
S1 ● ● ●
S2 ● ● ●
S3 ● ● ● ● ● ● ● ● ●
(Note 1) Only 16-bit devices, 32-bit devices, and integer constants can be modified. (Real number constants,
and character constants cannot be specified.)
■
Outline of operation
● Data in the range from the area specified by [S1] to the area specified by [S2] are sorted in
ascending order or in descending order, according to the sort conditions specified by [S3].
● Available sort conditions for [S3] are as follows.
U0: Ascending order
U1: Descending order
10.6 SORT (Sort)
10-24 WUME-FP7CPUPGR-12