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