EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC Q Series

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 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
Page #469 background imageLoading...
Page #469 background image
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
LCPU
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

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals