High
−
level Instructions
3
−
648
Description
The data words (signed) from the area specified by S1 to the area specified by S2 are sorted in ascending
order (the smallest word is first) or descending order (the largest word is first) depending on the condition set
with S3.
If S1 = S2, sorting does not take place.
The sort condition is specified as follows in S3:
−
K0: Ascending order
−
K1: Descending order
Double sorting is used for the sorting method. Data is sorted from S1 to S2 in order following the sorting
procedure. Note that the number of word comparisons increases in proportion to the square of the number of
words, thus more time will be required for execution when there are a large number of words.
Flag conditions
・
Error flag (R9007): Turns on and stays on when:
・
Error flag (R9008): Turns on for an instant when:
−
The area specified using the index modifier exceeds the limit.
−
S1 > S2.
−
The areas of S1 and S2 are different.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for FP-X
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...