EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - 7.7.10 SORT

Mitsubishi Electric MELSEC FX Series
838 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 Applied Instructions
7.7 Handy Instruction
360
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
7.7.10 SORT
Outline
This command reshuffles the data table composed of data (columns) and group data (rows) in the ascending
order in column unit on the basis of designated group data (rows). In this command, the group data (rows) is
stored in continuous devices. Similarly, in SORT2 command, data (columns) is stored in continuous devices,
so that the data (columns) may be added easily, and reshuffling is applicable in both ascending order and
descending order.
As for SORT2 command, see paragraph 7.13.7.
1. Format and operation, execution form
2. Set data
3. Applicable devices
S: Refer to "Cautions".
FX3U(C) FX3G FX2N(C) FX1N(C) FX1S FXU/FX2C FX0N FX0(S)
Instruction
name
Operation
Execution
form
Expression in each language
Structured ladder ST
SORT 16 bits Continuous SORT(EN, s, m1, m2, n, d);
Variable Description Data type
Input
variable
EN Execution condition Bit
Beginning device storing data table (m1xm2 points occupied) ANY16
Number of data (columns) ANY16
Number of group data (rows) ANY16
Row of group data (rows) as basis of reshuffling ANY16
Output
variable
ENO Execution state Bit
Beginning device storing arithmetic results (m1 × m2 points occupied) ANY16
Operand
type
Bit Devices Word Devices Others
System user Digit designation
System
user
Special
unit
Index
Cons
tant
Real
number
Character
string
Pointer
XYMTCS
D
.b
KnX KnY KnM KnS T C D R
U\G
V Z Modifier K H E
"
"
P
z
S1
zz
zz
z
S1
z
S1
zz
SORT
EN
s
m1
ENO
d
m2
n

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals