Function - Concatenate strings.

Inputs

Input

Data type

Description

IN_1

STRING

Any string variable or constant expression.

IN_N

STRING

Any string variable or constant expression.

Outputs

Output

Data type

Description

Q

STRING

Concatenation of all inputs.

Remarks

In FBD or LD language, the block may have up to 16 inputs. In 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


Fixed_Image

LD Language

Fixed_Image

CONCAT

IEC 61131-3 Automation platform > Programming - Reference guide > String operations > CONCAT

Previous chapterNext chapter


Created with the Personal Edition of HelpNDoc: Save time and frustration with HelpNDoc's WinHelp HLP to CHM conversion feature