Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 650

Table of Contents

Advertisement

3. Instructions
Sorting Tracking Data That Contains Many Records Using a Split Sort
Tracking data that contains 2,048 records is sorted according to the delivery code. To shorten the cycle
time, the sort is executed over multiple cycles.
First word of first record
Record length
Number of records
First word of sorting results
Sort key
Sort options
Setting to end sorting
Sort results output to index
register
D1000
#08335642
D1005
#06219836
D1010
#A2000038
D1015
#0092DDC4
D1020
#33900004
D1025
#E830EDFF
D1030
D11230
#00225649
D11235
#500F1C45
614
D1000
5
2048
D200
Delivery code
Ascending, Split sort
Disabled
Disabled
Step 1
#0005
The records are
sorted in ascending
#0008
order according to
the delivery code
using the RSORT2
instruction. The sort
#0007
is split over multiple
cycles.
#0001
#0006
#0002
#0012
#0060
#0045
#00001203
#0031
#000803DE
#0012
#00225649
#0006
#00881122
#0001
#0092DDC4
#0502
#01019846
#0040
#E799AA34
#0002
#E830EDFF
#2048
D200
Number of records to sort
CS/CJ/NSJ Series Instructions Reference Manual (W474)

Advertisement

Table of Contents
loading

Table of Contents