EasyManua.ls Logo

Inovance H3U Series - Page 185

Inovance H3U Series
737 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...
184
4
4 Instructions4.5.3 Table Operation
Before sorting
Row Number
Column Number
1 2 3
1
S S+1 S+2
1 2 8
2
S+3 S+4 S+5
2 6 7
3
S+6 S+7 S+8
3 4 3
Table data after sorted in ascending order based on the second column
Row Number
Column Number
1 2 3
1
D D+1 D+2
1 2 8
2
D+3 D+4 D+5
3 4 3
3
D+6 D+7 D+8
2 6 7
Note:
The operands cannot be modied when the SORT2 instruction is executed.
Switch the ow from OFF to ON before you execute the instruction for the second time.
Keep the operands and data unchanged during execution.
The contents of S and D can overlap completely or be staggered, but they cannot overlap partially.
The 32-bit instruction is used in the same way as the 16-bit instruction. The operands occupy two 16-
bit elements.
An operation error occurs in the following conditions. The error ag M8067 is set to ON to identify this error
and the error code is stored in D8067.
1. Error K6705 is returned when the value in S or D is out of range.
2. Error K6706 is returned when the value of m1, m2, or n is out of range.

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals