5.8 Standard Character String Functions
184
FXCPU Structured Programming Manual
(Application Functions)
5.8.2 CONCAT(_E)
Outline
This function connects character strings.
1. Format
*1. Output variable
2. Set data
In explanation of functions, I/O variables inside ( ) are described.
FX3U(C) FX3G FX2N(C) FX1N(C) FX1S
FX
U
/FX
2C
FX0N FX0(S)
Function name
Expression in each language
Structured ladder ST
CONCAT
CONCAT(_IN,_IN);
Example:
Label 3:=
CONCAT(Label 1,Label 2);
CONCAT_E
CONCAT_E(EN,_IN,_IN,Output
label);
Example:
CONCAT_E(X000,Label 1,Label 2,
Label 3);
Variable Description Data type
Input
variable
EN Execution condition Bit
_IN ( )
_IN ( )
Head word device which stores the data (character string) to be
connected, or directly specified character string
String
Output
variable
ENO Execution status Bit
*1 ( )
Head word device which will store the connected data (character
string)
String
Label 3Label 1
Label 2
CONCAT
_IN *1
_IN
CONCAT_E
EN ENO
*1
Label 3
X000
Label 1
_IN
_IN
Label 2
s1
s2
d