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

Table of Contents

Advertisement

2. Summary of Instructions
Instruction
Symbol/Operand
Mnemonic
Code
Unsigned Four-
Symbol
word Record
Search Instruc-
tions
RSRCH4<
RSRCH4<=
RSRCH4=
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
UNSIGNED ONE-
RSORT(203)
WORD RECORD
SORT
RSORT
@RSORT
203
(CJ2 only)
C: First control
word
S: First word of
first record to
sort
D1: First word of
sorting results
D2: Destination
index register
UNSIGNED TWO-
RSORT2(204)
WORD RECORD
SORT
RSORT2
@RSORT2
204
(CJ2 only)
C: First control
word
S: First word of
first record to
sort
D1: First word of
sorting results
D2: Destination
index register
UNSIGNED
RSORT4(205)
FOUR-WORD
RECORD SORT
RSORT4
@RSORT4
205
(CJ2 only)
C: First control
word
S: First word of
first record to
sort
D1: First word of
sorting results
D2: Destination
index register
88
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-
C
fied location. When a record matching the specified condition is found, its
record number and data are output.
S1
S2
D1
D2
Sorts the records in the specified table according to the data (1 word) at
the specified position in the records.
C
S
D1
D2
Sorts the records in the specified table according to the data (2 words) at
the specified position in the records.
C
S
D1
D2
Sorts the records in the specified table according to the data (4 words) at
the specified position in the records.
C
S
D1
D2
Function
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Location
Page
Execution
condition
Output
625
required
Output
628
required
Output
632
required
Output
635
required

Advertisement

Table of Contents
loading

Table of Contents