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 #621 background imageLoading...
Page #621 background image
583
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Table Data Processing Instructions
3
SRCH
SRCH
Applicable Program Areas
Operands
z Operand Specifications
Instruction Mnemonic Variations
Function
code
Function
DATA SEARCH SRCH @SRCH 181
Searches for a word of data within a range of
words.
Symbol
SRCH
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 UDINT 2
R1 First word in range UINT Variable
Cd Comparison data WORD 1
C: First control word R1: First word in range
Note C and C+1, R1 and R1+W-1 must be in the
same data area.
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
C
OK OK OK OK OK OK OK OK OK OK
OK
---
--- OK --- --- --- ---R1 ---
Cd OK OK
C: First control word
R1: First word in range
Cd: Comparison data
SRCH(181)
C
R1
Cd
15 0
C
15 014
C+1
000 0000 0000 0000
0
Output selection
W: Number of words in range
&1 to &65535 (decimal) or
#0001 to #FFFF (hex)
0: Does not output number of matches to DR0.
1: Outputs number of matches to DR0.
R1
R1+(W–1)
15 0
---to
Search range

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