EasyManua.ls Logo

Omron CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
613
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Tracking Instructions
3
Tracking Instructions
W0.0
W0.0
W0.1
Step 1: Corresponding records output using the RSRCH= instruction.
First control word: D0
First word of first record: D1000
Search data: 0006 hex
First destination word: D100
Destination IR: IR0
Matching record found.
Matching record not found.
Number of words: Words for all records Record number of matching record
First source word: First word of matching record + Record length
First destination word: First word of matching record
P EQ
P CY
Step 2: Records moved forward with the XFER instruction to fill in the space of the matching record.
0.0
RSRCH=
D0
D1000
#0006
D100
IR0
*U
&5
W0
W1
XFER
W1
5,IR0
,IR0
C: D0
C+1: D1
C+2: D2
C+3: D3
C+4: D4
C+5: D5
0008
0005
0002
8001
0000
0000
Number of records = 8
Record length = 5 words
Search data offset = 2 words
Index register output designation: Output
Search method = Linear, Setting to end search = Effective end data
End data = 0000 hex
Always 0000 hex.
&7
D100
W0
Number of records 1
Record number of matching record
Number of transferred records
Record length
Number of transferred records
Number of transferred words

Table of Contents

Related product manuals