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

Table of Contents

Advertisement

3. Instructions
Searching with End Data Enabled to End the Search
If the setting to end the search is enabled in C+3 for end data, records will be searched until the record
just before the record in which the end data specified in C+4 is found. If the end data is not found, the
number of records specified in C will be searched.
Search data (S2)
Search data
Search end data (C+4)
End data
620
First word of first record (S1)
Record 0
Searched data
Record 1
Searched data
Record 2
Searched data
Record m
Searched data (match)
Record n
Searched data (end data)
Last record
Not searched.
Search data offset (C+2)
Record length (C+1)
Number of records (C)
PLC memory address for
first word of matching record
First destination word (D1)
Number of matching record (m)
D1
D1+1
Invalid records
(i.e., not searched)
CS/CJ/NSJ Series Instructions Reference Manual (W474)
IR**
Searched data (match)

Advertisement

Table of Contents
loading

Table of Contents