Tracking Instructions - Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

2-2-16 Tracking Instructions

Instruction
Symbol/Operand
Mnemonic
Code
Unsigned One-
Symbol
word Record
Search Instruc-
C
tions
S1
RSRCH<
S2
RSRCH<=
D1
RSRCH=
D2
RSRCH>
RSRCH>=
C: First control
word
@RSRCH<
S1: First word of
@RSRCH<=
first record to
@RSRCH=
search
@RSRCH>
S2: Search data
@RSRCH>=
D1: First
360 to 364
destination word
(CJ2 only)
D2: Destination
index register
Unsigned Two-
Symbol
word Record
C
Search Instruc-
tions
S1
RSRCH2<
S2
RSRCH2<=
D1
RSRCH2=
D2
RSRCH2>
RSRCH2>=
C: First control
word
@RSRCH2<
S1: First word of
@RSRCH2<=
first record to
@RSRCH2=
search
@RSRCH2>
S2: First word of
@RSRCH2>=
search data
370 to 374
D1: First
(CJ2 only)
destination word
D2: Destination
index register
Unsigned Four-
Symbol
word Record
C
Search Instruc-
tions
S1
RSRCH4<
S2
RSRCH4<=
D1
RSRCH4=
D2
RSRCH4>
RSRCH4>=
C: First control
word
@RSRCH4<
S1: First word of
@RSRCH4<=
first record to
@RSRCH4=
search
@RSRCH4>
S2: First word of
@RSRCH4>=
search data
380 to 384
D1: First
(CJ2 only)
destination word
D2: Destination
index register
CS/CJ/NSJ Series Instructions Reference Manual (W474)
An Unsigned One-word Record Search Instruction searches the specified
table of records for a record with the specific data (1 word) in the specified
location. When a record matching the specified condition is found, its
record number and data are output.
An Unsigned Two-word Record Search Instruction searches the specified
table of records for a record with the specific data (2 words) in the speci-
fied location. When a record matching the specified condition is found, its
record number and data are output.
An Unsigned Four-word Record Search Instruction searches the specified
table of records for a record with the specific data (4 words) in the speci-
fied location. When a record matching the specified condition is found, its
record number and data are output.
2. Summary of Instructions
Function
Location
Page
Execution
condition
Output
610
required
2
Output
616
required
Output
619
required
87

Advertisement

Table of Contents
loading

Table of Contents