EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 449

Mitsubishi Electric MELSEC-Q/L
1084 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 APPLICATION INSTRUCTIONS
7.5 Data Processing Instructions
447
7
The following program sorts the BIN 32-bit data from D0 to D9 in ascending/descending order when X10 is turned ON.
[Ladder Mode] [List Mode]
[Operation]
Step
Instruction
Device
Data before sort
-1
-99999
-1111
5000
456789
D3, D2
D5, D4
D7, D6
D9, D8
D1, D0
Data after sort
5000
456789
-1111
1
-99999
D3, D2
D5, D4
D7, D6
D9, D8
D1, D0
-1111
-99999
5000
1
456789
D3, D2
D5, D4
D7, D6
D9, D8
D1, D0
X0 ON
X0 OFF

Table of Contents

Related product manuals