Insert_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.3
INSERT(_E)
Outline
This function inserts a character string.
1. Format
Function name
INSERT

INSERT_E

*1.
Output variable
2. Set data
Variable
EN
_IN1 (
Input
variable
_IN2 (
_P
ENO
Output
variable
*1
In explanation of functions, I/O variables inside ( ) are described.
FX
3U(C)
Expression in each language
Structured ladder
INSERT
Label 1
_IN1
Label 2
_IN2
D20
_P
INSERT_E
X000
EN
ENO
Label 1
_IN1
Label 2
_IN2
D20
_P
Execution condition
Head word device which stores a character string to get insertion
)
s1
)
Head word device which stores a character string to be inserted
s2
Word device which stores a character position to get insertion
(
)
n
Execution status
Head word device which will store a character string obtained by
(
)
d
insertion
5.8 Standard Character String Functions
FX
FX
FX
3G
2N(C)
1N(C)
INSERT(_IN1,_IN2,_P);
Example:
*1
Label 3
Label 3:=
INSERT(Label 1,Label 2,D20);
INSERT_E(EN,_IN1,_IN2,_P,
Output label);
Example:
INSERT_E(X000,Label 1,Label 2,
*1
Label 3
D20,Label 3);
Description
FX
FX
/FX
FX
1S
U
2C
0N
ST
Data type
Bit
String
String
Word [signed]
Bit
String
1
FX
0(S)
2
3
4
5
6
A
187

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents