623
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Tracking Instructions
3
RSRCH<, RSRCH<=, RSRCH=, RSRCH>,
RSRCH>=
z 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.
End PLC memory address
IR**
D1
D1+1
End PLC memory address (C+4 and C+5)
Not searched.
Not searched.
Search data offset (C+2)
Record length (C+1)
Record 0
Record 1
Record 2
Record m
Record n
Number of records (C)
Search data
(S2)
Last record
Invalid records
(i.e., not searched)
Number of matching record (m)
Search data
First word of first record (S1)
Searched data
Searched data
Searched data
Searched data (match)
PLC memory address for
first word of matching record
Searched data (match)