FC_MultiConcat

 

FC_MultiConcat - General Information

Overview

Type:

Function

Available as of:

V1.0.3.0

Versions:

Current version

Task

Linking several strings

Description

The function links the transferred strings according to their sequence.

Interface

Input

Data type

Description

i_sString1

STRING[80]

String 1

i_sString2

STRING[80]

String 2

i_sString3

STRING[80]

String 3

i_sString4

STRING[80]

String 4

Output

Data type

Description

q_etDiag

GD.ET_Diag

General library-independent statement on the diagnostic.

A value not equal to ET_Diag.Ok corresponds to an diagnostic message.

q_etDiagExt

ET_DiagExt

POU-specific output on the diagnostic.

q_etDiag = ET_Diag.Ok -> Status message

q_etDiag <> ET_Diag.Ok -> Diagnostic message

Return Value

Data type

Description

STRING[80]

The composed string

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Ok

0

Ok

InputParameterInvalid

StringTooLong

16

The string is too long.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

The strings have been linked successfully.

StringTooLong

Enumeration name:

StringTooLong

Enumeration value:

16

Description:

The string is too long.

Issue

Cause

Solution

-

The strings that have been transferred at the inputs i_sString1, i_sString2, i_sString3 and i_sString4 are too long.

Ensure that the total length of the strings i_sString1, i_sString2, i_sString3 and i_sString4 does not exceed 80 characters.