concat
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
IN_1 |
STRING |
|
|
|
Any string variable or constant expression. |
IN_N |
STRING |
|
|
|
Any string variable or constant expression. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Q |
STRING |
|
|
Concatenation of all inputs. |
Remarks
- In the FBD Language or FFLD Language, the block can have up to 16 inputs.
- In the IL Language or ST Language, the function accepts a variable number of inputs (at least 2).
- Use the + operator to concatenate strings.
FBD Language Example
FFLD Language Example
IL Language Example
Op1: FFLD 'AB'
CONCAT 'CD', 'E'
ST Q (* Q is now 'ABCDE' *)
ST Language Example
Q := CONCAT ('AB', 'CD', 'E');
(* now Q is 'ABCDE' *)