L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual
Page 643
Advertising
L-force | PLC Designer
PLC Designer Libraries
DMS 3.2 EN 02/2011 TD29
641
Example in FBD:
Example in ST:
VarSTRING1 := MID ('SUSI',2,2);
Note!
String functions are not "thread safe": When using tasks, string functions may only
be used in a single task. If the same function is used in different tasks, there is a
danger of overwriting.
CONCAT
Provided by standard.lib.
Concatenation (combination) of two strings.
The input variables STR1 and STR2 as well as the return value of the function are type
STRING.
Example in IL:
LD 'SUSI'
CONCAT 'WILLI'
ST VarSTRING1 (* Result is 'SUSIWILLI' *)
Example in FBD:
Advertising