Omron SYSMAC CS Series Instruction & Reference Manual page 574

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

3. Instructions
RSRCH2<, RSRCH2<=, RSRCH2=,
RSRCH2>, RSRCH2>=
Instruction
Unsigned Two-word Record
Search Instructions
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
C
First control word
S1
First word of first record to search
S2
First word of search data
D1
First destination word
D2
Destination index register
S1: First word of first record to search
15
S1
S2: First search data word
15
S2
S2+1
540
Mnemonic
Variations
RSRCH2<
@RSRCH2<
RSRCH2<=
@RSRCH2<=
RSRCH2=
@RSRCH2=
RSRCH2>
@RSRCH2>
RSRCH2>=
@RSRCH2>=
RSRCH2<, RSRCH2<=, RSRCH2=, RSRCH2>, RSRCH2>=
Block program areas
Step program areas
OK
OK
Description
0
0
S2:
Search data lower word
S2+1: Search data upper word
Function
code
370
An Unsigned Two-word Record Search Instruction
371
searches the specified table of records for a record with
372
the specific data (2 words) in the specified location.
373
When a record matching the specified condition is
374
found, its record number and data are output.
Symbol
C: First control word
C
S1: First word of first record to search
S1
S2: First word of search data
S2
D1: First destination word
D1
D2
D2: Destination index register
Subroutines
Interrupt tasks
OK
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
SFC action or
transition programs
OK
OK
Data type
Size
WORD
6
WORD
Variable
DWORD
2
WORD
Variable
DWORD
2

Advertisement

Table of Contents
loading

Table of Contents