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 Double word data sorting
202403 (V1.0) 58
F.3 Application example
Multidimensional array sorting
When M2=ON, the DSORT instruction starts to be performed. Sort the 5*5 double
word data table elements starting from D100 in ascending order according to
column 3 (SM450 is OFF by default), and the sorting result is placed in the 5*5
double word table data starting from D200. SM451 is ON after sorting is complete,
resulting that M3 is ON. Its data change is shown in the following figure.
Before sorting:

Table of Contents