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.
FX
3U(C)
FX
3G
FX
2N(C)
FX
1N(C)
FX
1S
FX
U
/FX
2C
FX
0N
FX
0(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 3
Label 1
Label 2
CONCAT
_IN
*1
_IN
CONCAT_E
EN
ENO
*1
Label 3
X000
Label 1
_IN
_IN
Label 2
s1
s2
d