7-220
7.11 String Processing Instructions
7.11.17 Character string data search
INSTR
7.11.17
Character string data search
INSTR
INSTR(P)
P: Executing condition
:
indicates any of the following
instructions.
INSTR
INSTRP
Input argument,
EN:
Executing condition
:Bit
s1:
Character string data to be searched
:String
s2:
Character string data in which character string data are
searched
:String
n:
Search start position
:ANY16
Output argument,
ENO:
Execution result
:Bit
d:
Start number of the device that stores the search result
:ANY16
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
Others
Bit
Word
Bit
Word
K, H
$
−
−
−
−
−
−
−
−
n
−
−
−
−
−
Universal
UD
High
Performance
Structured ladder
ST
EN
ENO
s
1
d
s
2
n
INSTR
INSTR
(EN,
s
1,
s
2,
n
, d);
ENO:=
s
1
s
2
d
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......