EasyManua.ls Logo

INVT VS070QS-1618MDM1

INVT VS070QS-1618MDM1
65 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...
VS070QS-1618MDM1 Integrated Machine Single word data sorting
202403 (V1.0) 51
Appendix E Single word data sorting
The single word data sorting (SORT) instruction is used to sort the overall matrix
data of a data table by the sorting results of the particular column.
E.1 Operand description
LAD
Applicable
model
VS070QS-1618MDM1
Influenced
flag
bit
-
IL: SORT (S1) (S2) (S3) (D1) (S4)
Step
length
11
Operand
Type
Applicable soft element
Indexing
S1
INT
D
S2
INT
Constant
D
S3
INT
Constant
D
D1
INT
D
S4
INT
Constant
D
S1: The address of the starting element of the original data sheet.
S2: The number of groups of sorted data. Range: 132.
S3: The number of data in each group. Range: 132.
D1: The address of the starting element where the sorted result data sheet is stored.
S4: The partitioning column that the data table is sorted. Range: 1S3.
E.2 Function description
1. This instruction sorts S2 × S3 data tables starting with S1 unit by the parameters
in column S4, and is placed in the variable domains starting with D1. The
following is the 3×3 data sorting process:
Before sorting:
S2
S3
1
2
3
1
S1
S1+3
S1+6
1
2
8
2
S1+1
S1+4
S1+7
2
6
7

Table of Contents