Chapter 8 Logic Instructions
8.14 String Processing Instructions
8.14.1 CONCAT
FB/FC
Explanation
FC
CONCAT joins two or more string variables or constants together to form a new
string.
DVP15MC11T
.
Parameters
Meaning Input/ Output
Description Valid range
In1 to InN Strings to join Input
parameter can be
added or removed
while the program
is being written.
The maximum
number of joined
parameters is 8
and the minimum
number is 2.
Depends on the data type of the
variable that the input parameter is
connected to.
Out Result of joining Output
String resulted
from joining
Depends on the data type of the
variable that the output parameter is
Boolean
Bit string Integer
Real
number
Time, date
String
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
to
●
Out
●
Note:
The symbol ● indicates that the parameter is allowed to connect to the variable or constant of the data type.
CONCAT
EN ENO
In1 Out
InN
.
.
.
.
..
8-187