FC_MultiConcat - General Information

Overview

Type:

Function

Available as of:

V1.0.0.0

Versions:

Current version

Task

The function FC_MultiConcat concatenates four given strings to a single, composite string.

Description

The function concatenates the four input strings according to their sequence to a composite STRING with a maximum length of 80 character.

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_etResult

ET_Result

Provides diagnostic and status information as an enumeration value.

q_sResultMsg

STRING [80]

Provides additional diagnostic and status information as a text message.

Return Value

Data type

Description

STRING[80]

The composite string.

Diagnostic Messages

The following elements of ET_Result are used for q_etResult.

Name

Data type

Value

Description

Ok

UDINT

0

Operation completed successfully.

StringTooLong

UDINT

1

Concatenated string contains more than 80 characters.