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

Table of Contents

Advertisement

C: D300
2 0 4 8
C+1: D301
0 0 0 5
C+2: D302
0 0 0 3
C+3: D303
8 0 0 0
C+4: D304
0 0 0 0
C+5: D305
0 0 0 0
C+6: D306
0 0 0 0
Step 1: The records are sorted in ascending order according to the delivery code using the RSORT2 instruction.
0.0
W1.0
P CY
W1.1
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Number of records = 2,048
Record length = 5 words
Sorting data offset = 3 words
Split sort setting = Enabled, Ascending
Index register output designation = Disabled, Setting to end sort = Disabled
Always 0000 hex.
Always 0000 hex.
MOV
#0000
D307
SET
W1.0
RSORT2
D300
D1000
D200
#00000000
W1.1
Processing
after sorting
RSET
W1.0
Clear first word of system work area (C+7).
Flag to hold ON which executing the sort.
First control word: D300
First word of first record: D1000
First source results output word: D200
Designation IR: None (0000 0000 hex)
Turns OFF flag that was held ON during the sort
3. Instructions
3
615

Advertisement

Table of Contents
loading

Table of Contents