Omron CJ - REFERENCE MANUAL 10-2009 Reference Manual page 642

Table of Contents

Advertisement

3. Instructions
Finding Tracking Data That Matches Certain Conditions
The table of tracking data is searched for shelf number 0006 hex and the data is stored in another
location.
First word of first record
Record length
Number of records
First word of search results
Search key
Setting to end search
Search method
Destination index register
D1000
#0005
#08335642
D1005
#0008
#06219836
D1010
#0007
#A2000038
D1015
#0001
#0092DDC4
D1020
#0006
#33900004
D1025
#0002
#E830EDFF
(Not valid.)
D1030
#0000
(Not valid.)
D1035
604
D1000
5
8
D100
Self number
Enabled for end data (shelf number = 0000 hex)
Linear search (i.e., search in order from first record)
IR0
Record 0
Step 1
#08335642
1 Applicable records
are output using
the RSRCH=
#06219836
instruction
2
#A2000038
3
#0092DDC4
4
#33900004
5
#E830EDFF
(Not valid.)
6
(Not valid.)
7
IR0
Address of D1020 PLC memory address of first word of matching record
D100
#33900004
Step 2
#0005
The records after
the matching
#0008
record are moved
forward using the
XFER instruction.
#0007
#0001
#0006
#0002
#0000
4
Record number
#0006
CS/CJ/NSJ Series Instructions Reference Manual (W474)
#0005
#08335642
#0008
#06219836
#0007
#A2000038
#0001
#0092DDC4
#0002
#E830EDFF
(Not valid.)
#0000
(Not valid.)
#0000
(Not valid.)

Advertisement

Table of Contents
loading

Table of Contents