EasyManuals Logo
Home>Omron>Controller>CPM1

Omron CPM1 Programming Manual

Omron CPM1
541 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 #367 background imageLoading...
Page #367 background image
346
Special Instructions Section 5-26
Indirectly addressed DM word is non-existent. (Content of *DM word
is not BCD, or the DM area boundary has been exceeded.)
5-26-14DATA SEARCH – SRCH(––)
Limitations This instruction is available in the CQM1 only.
N must be BCD between 0001 to 9999.
R
1
and R
1
+N–1 must be in the same data area.
DM 6143 to DM 6655 cannot be used for C.
Description When the execution condition is OFF, SRCH(––) is not executed. When the
execution condition is ON, SRCH(––) searches the range of memory from R
1
to R
1
+N–1 for addresses that contain the comparison data in C. If one or
more addresses contain the comparison data, the EQ Flag (SR 25506) is
turned ON and the lowest address containing the comparison data is identi-
fied in C+1. The address is identified differently for the DM area:
1,2,3... 1. For an address in the DM area, the word address is written to C+1. For ex-
ample, if the lowest address containing the comparison data is DM 0114,
then #0114 is written in C+1.
2. For an address in another data area, the number of addresses from the be-
ginning of the search is written to C+1. For example, if the lowest address
containing the comparison data is IR 114 and the first word in the search
range is IR 014, then #0100 is written in C+1.
If none of addresses in the range contain the comparison data, the EQ Flag
(SR 25506) is turned OFF and C+1 is left unchanged.
Flags ER: Indirectly addressed DM word is non-existent. (Content of *DM word
is not BCD, or the DM area boundary has been exceeded.)
N is not BCD between 0001 and 9999.
EQ: ON when the comparison data has been matched in the search
range.
R
1
: First word in range
IR, SR, AR, DM, HR, TC, LR
N: Number of words
IR, SR, AR, DM, HR, TC, LR, #
Ladder Symbols Operand Data Areas
@SRCH(––)
N
R
1
C
C: Comparison data, result word
IR, SR, AR, DM, HR, LR
SRCH(––)
N
R
1
C

Table of Contents

Other manuals for Omron CPM1

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CPM1 and is the answer not in the manual?

Omron CPM1 Specifications

General IconGeneral
BrandOmron
ModelCPM1
CategoryController
LanguageEnglish

Related product manuals