Copying character strings
How can I copy strings simply?
Since the system function SFC 20 ("BLKMOV") does not support any character strings, you can proceed as follows:
Using the function FC 2 ("CONCAT") from the IEC functions of
the standard library, you actually join two strings. If you leave
the second string empty, then only the first string is copied to
the desired location (see Figure 1).
Figure 1: Copying character strings with the IEC function "CONCAT"