Omron SYSMAC CS Series Instruction & Reference Manual page 588

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

3. Instructions
C: First control word
15
C
15
C+1
15
C+2
15
14
0 0 0 0 0 0 0 0 0 0 0 0 0 0
C+3
0: Disable split sort
1: Enable split sort
15
14
0 0 0 0 0 0 0 0 0 0 0
C+4
Index register output designation
0: Do not output
1: Output
15
C+5
C+6
C+7
C+8
Setting to End Sorting Disabled
C+5: Always 0.
C+6: Always 0.
End Data Enabled
C+5 to C+8: Sort end data
(0000 0000 0000 0000 to FFFF FFFF FFFF FFFF hex)
Store the end data in the following order starting from C+5: Lowest 16 bits, lower 16 bits, higher
16 bits, highest 16 bits.
End PLC Memory Address Enabled
C+5: Lower word of end PLC memory address
C+6: Upper word of end PLC memory address
C+7: Always 0.
C+8: Always 0.
15
C+9 to C+88
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
D1: First word of sorting results
15
D1
D2: Destination index register
D2
IR**
554
0
Number of records: 1 to 8192 decimal (maximum: 8,192)
0
Record length (in words): 4 to 1024 decimal (maximum: 1,024)
0
Sort data offset (in words): 0 to 1020 decimal
1
0
0
Always 0.
0: Ascending
1: Descending
4 3
0
0
Always 0.
Setting to end sorting
0 hex: Disabled
1 hex: Enabled for end data
2 hex: Enabled for end PLC memory address
0
0
System word area
Always clear C+7 to 0 before starting to sort records.
0
Number of records that were sorted
This word contains the number of records that were
sorted.
0
One higher than the PLC memory address of the last word
in the range of records that were sorted. If index register
output is not specified in C+4, then 0000 0000 hex is
stored in D2.
CS/CJ/NSJ Series Instructions Reference Manual (W474)

Advertisement

Table of Contents
loading

Table of Contents