EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals