WCONCAT
Concatenation (combination) of two WSTRINGs.
FUNCTION WCONCAT: WSTRING (255)
VAR_INPUT
STR1 : WSTRING(255) (*Head part of the concatenated result*)
STR2 : WSTRING(255) (*Tail part of the concatenated result*)
END_VAR
Example in IL:
LD “SUSI“
WCONCAT “WILLI“
ST Var1 (*Result is “SUSIWILLI“*)
Example in ST:
Var1 := WCONCAT (“SUSI“,“WILLI“);
Requirements
Development environment |
Target system type |
PLC libraries to be linked |
---|---|---|
TwinCAT v3.0.0 |
PC or CX (x86) |
Tc2_Standard |