Find(_E) - Mitsubishi Electric MELSEC FX Series Structured Programming Manual

Hide thumbs Also See for MELSEC FX Series:
Table of Contents

Advertisement

FXCPU Structured Programming Manual
(Application Functions)
5.8.6

FIND(_E)

Outline
This function searches a character string.
1. Format
Function name
FIND
FIND_E
*1.
Output variable
2. Set data
Variable
EN
Input
_IN1 (
variable
_IN2 (
ENO
Output
variable
*1
In explanation of functions, I/O variables inside ( ) are described.
FX
3U(C)
Expression in each language
Structured ladder
FIND
Label 1
_IN1
Label 2
_IN2
X000
FIND_E
EN
ENO
Label 1
_IN1
Label 2
_IN2
Execution condition
Head word device which stores a character string to get search
)
s1
Head word device which stores a character string to be searched
)
s2
Execution status
Head word device which will store the search result
(
)
d
FX
FX
FX
3G
2N(C)
1N(C)
FIND(_IN1,_IN2);
Example:
*1
D20
D20:=
FIND(Label 1,Label 2);
FIND_E(EN,_IN1,_IN2,Output
label);
Example:
FIND_E(X000,Label 1,Label 2,
*1
D20
D20);
Description
5.8 Standard Character String Functions
FX
FX
/FX
FX
1S
U
2C
0N
ST
Data type
Bit
String
String
Bit
Word [signed]
1
FX
0(S)
2
3
4
5
6
A
195

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents