10 sort (sort), 1 ) operation, 2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 199

Advertising
background image

5.7 Data Shift Instructions

5.7.10 Sort (SORT)

5-130

5.7.10 Sort (SORT)

( 1 ) Operation

The SORT instruction sorts the data in the range of registers from the first address of the sort range in ascending order.
The following diagram describes the operation using integers as an example. The sort is performed in the same way for
double-length integers and real numbers.

( 2 ) Format

∗ C and # registers cannot be used.

60

First address of sort range

Number of

registers in range

7

20

8

100

4

4

First address of sort range

7

8

20

60

100

MW†††††

MW††††† + 1

MW††††† + 2

MW††††† + 3

MW††††† + 4

MW††††† + 5

Sorted in

ascending order.

Parameter Name

Applicable Data Types

B

W

L

F

A

Index

Constant

First address of sort
range (Table)

×

{

*

{

*

{

*

×

×

×

Number of registers in
range (Width)

×

{

×

×

×

{

{

First address

of sort range

Number of

registers in range

Icon:

Key entry: SORT

Advertising
This manual is related to the following products: