Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-95
SORT,DSORT
1
2
3
4
6
6
7
8
7.5 Data processing instructions
7.5.12 BIN 16 and 32 bits data sort operations (SORT,DSORT)
7.5.12 BIN 16 and 32 bits data sort operations (SORT,DSORT)
SORT,DSORT
Function
SORT
(1) Sorts (rearranges data) BIN 16-bit data n points from in ascending or descending order.
Sort order is designated by the ON/OFF status of SM703:
When SM703 is OFF: Ascending order sort
When SM703 is ON : Descending order sort
: Head device number in the table to be sorted (BIN 16/32 bits)
n : Number of data blocks to be sorted (BIN 16 bits)
: Number of data blocks to be compared in one sort operation (BIN 16 bits)
: Number of the bit device to be turned ON at the completion of the sort operation (bits)
: Device reserved for the system (BIN 16 bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
–– –– ––
n ––
––
–– –– ––
–– –– ––
Basic
Process
High
performance
Redundant
Universal
Command
n
SORT, DSORT
S1
S2 D2D1
indicates an instruction symbol of SORT/DSORT.
S1
S2
D1
D2
S1
S2
D1
D2
S1
Data before sort
-124
-10
500
35
When SM703 = OFF
When SM703 = ON
-124
35
-10
500
500
-10
35
-124
Sort in the ascending order
Sort in the descending orde
r
S
S
S
S
S
S
S
S
S
S
S
S
+1
+2
+3
+1
+2
+3
+1
+2
+3