Searching with End PLC Memory Address Enabled to End the Search
If the setting to end the search is enabled in C+3 for a PLC memory address, records will be searched
until the PLC memory address specified in C+4 and C+5. No records past the end PLC memory
address will be searched. If the end PLC memory address is not found, the number of records specified
in C will be searched.
First word in table (S1)
Sort data offset (C+2)
Record 0
Item used
to sort records
Record 1
Item used
to sort records
Record 2
Item used
to sort records
Last record
Precautions
Always clear C+7 to 0 before starting to sort.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Control data
(C+3 and C+4)
Record length
Sort end PLC memory address (C+5 and C+6)
(C+1)
Number of
records (C)
Not
sorted.
Ascending, split sort disabled,
setting to end sort enabled,
end PLC memory address specified.
#0010
#0004
#0002
IR**
PLC memory address
of last sorted record + 1
Number of records sorted (&3)
D1
3. Instructions
Ascending
#0002
#0004
#0010
625
3
Need help?
Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?
Questions and answers