-

Error: Invalid constant '...'.

In a textual worksheet (e.g., ST code or data type worksheet), the lexical analysis detected a constant/literal which cannot be resolved due to an invalid IEC 61131-3 syntax. The affected code position is underlined in the worksheet.

Further Info
For information on literals refer to the topic "Literals according to IEC 61131-3".