Message: size of string expected after '('
Possible error cause: The length of the string is not specified.
Error correction: Specify a string length between the parentheses.
Example of the error:
PROGRAM PLC_PRG
VAR
str : STRING();
END_VAR
--> C0027: size of string expected after '('
--> C0006: ';, :=, REF=, ( or [' expected instead of ')'
Error correction:
Example: str : STRING(100);