concat

PLCopen motion icon

 FunctionClosed A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. - Concatenate of strings.

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

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' *)