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

Table of Contents

Advertisement

C: First control word
15
C
15
C+1
15
C+2
15 14
15
C+3
0 0 0
0 0 0 0
Always 0.
Index register
output designation
OFF: Do not output
ON: Output
15
C+4
C+5
Setting to End Search Disabled
C+4: Always 0.
C+5: Always 0.
End Data Enabled
C+4: End data (0000 to FFFF hex)
C+5: Always 0.
End PLC Memory Address Enabled
C+4: Lower word of PLC memory address
C+5: Upper word of PLC memory address
D1: First destination word
15
D1
15
D1+1
D2: Destination index register
IR**
D2
CS/CJ/NSJ Series Instructions Reference Manual (W474)
0
Number of records: 1 to 32768 decimal (maximum: 32,768)
0
Record length (in words): 1 to 1024 decimal (maximum: 1,024)
0
Search data offset (in words): 0 to 1023 decimal
8
7
4
3
0
0
Setting to end search
0 hex: Disabled
1 hex: Enabled for end data (only for linear searches)
2 hex: Enabled for end PLC memory address
Search method
0 hex: Linear (Searches records in order from the specified first record.)
1 hex: Split search, ascending
2 hex: Split search, descending
0
0
Matching record number
Contains the record number of the matching record.
(The first record is record 0.)
0
Matching record data
to
(All record data for record length.)
0
The PLC memory address of the first word of the
matching record is stored in the specified index
register. If index register output is not specified in
C+3, then 0000 0000 hex is stored in D2.
3. Instructions
3
617

Advertisement

Table of Contents
loading

Table of Contents