FC_MultiConcat - General Information
Type: |
Function |
Available as of: |
V1.0.3.0 |
Versions: |
Current version |
Linking several strings
The function links the transferred strings according to their sequence.
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 |
General library-independent statement on the diagnostic. A value not equal to ET_Diag.Ok corresponds to an diagnostic message. |
|
q_etDiagExt |
POU-specific output on the diagnostic. q_etDiag = ET_Diag.Ok -> Status message q_etDiag <> ET_Diag.Ok -> Diagnostic message |
Data type |
Description |
---|---|
STRING[80] |
The composed string |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
0 |
Ok |
|
InputParameterInvalid |
16 |
The string is too long. |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
The strings have been linked successfully.
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. |