Find - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

3. Instructions

FIND$

Instruction
FIND IN STRING
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
S1
Source text string first word
S2
Found text string first word
D
First destination word
S1: Source Text String
15
S1
Text string data: 4,095 characters max. + NUL
to
S1 + maximum 2,047 words
S2: Found Text String
15
S2
Text string data: 4,095 characters max. + NUL
to
S2 + maximum 2,047 words
Note The data from S1 to S1 + the maximum 2,047 words and from S2 to S2 + the maximum 2,047 words must be in the
same area.
Operand Specifications
Word addresses
Area
CIO
WR
HR
S1
S2
OK
OK
OK
D
1074
Mnemonic
Variations
FIND$
@FIND$
Block program areas
Step program areas
OK
OK
Description
0
to
0
to
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Function
code
Finds a designated text string from within a text
660
string.
FIND$
FIND$(660)
S1: Source text string first word
S1
S2: Found text string first word
S2
D
D: First destination word
Subroutines
OK
Data type
UINT
UINT
UINT
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
---
---
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
SFC action or transition
Interrupt tasks
programs
OK
OK
Size
Variable
Variable
1
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents