3 ) programming example – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 200

Advertising
background image

5.7 Data Shift Instructions

5.7.10 Sort (SORT)

5-131

Instructions

5

( 3 ) Programming Example

In the following programming example, the data from ML00000 to ML00008 is sorted in ascending order when the
sort command (DB000000) turns ON.

The following table shows how the data from ML00000 to ML00008 is sorted when the SORT instruction is executed.

Register

Data before Execution of

Instruction

Data after Execution of

Instruction

ML00000

100

15

ML00002

30

30

ML00004

90

70

ML00006

15

90

ML00008

70

100

Advertising
This manual is related to the following products: