10 sort instruction (sort) – Yaskawa Ladder Works Programming Manual User Manual

Page 116

Advertising
background image

6.10 SORT Instruction (SORT)

6-19

6.10 SORT Instruction (SORT)

[Outline]

The SORT instruction sorts data within the designated register range (Data Table, Width) in ascending
order.

[Format]

Symbol : SORT
Full Name : Sort
Category : MOVE

Icon :

[Parameter]

Parameter Name

Setting

Data Table

· Any integer type and double-length integer type register (except for # and

C registers)

· Any integer type and double-length integer type register with subscript

(except for # and C registers)

Width

· Any integer type register (except for # and C registers)
· Any integer type register with subscript (except for # and C registers)
· Constant

[Program Example]

The data in registers MW00100 to MW00119 are sorted in ascending order.


Advertising