CONCAT

Function - Concatenate strings.

Inputs

IN_1 : STRING Any string variable or constant expression
...

IN_N : STRING Any string variable or constant expression
 

Outputs

Q : STRING    Concatenation of all inputs

Remarks

In FBD or LD language, the block may have up to 16 inputs. In IL or ST, the function accepts a variable number of inputs (at least 2).

Note that you also can use the "+" operator to concatenate strings.

ST Language

Q := CONCAT ('AB', 'CD', 'E');
(* now Q is 'ABCDE' *)

FBD Language


LD Language

IL Language

Op1: LD     'AB'
     CONCAT 'CD', 'E'
     ST  Q   (* Q is now 'ABCDE' *)