-

Lexical Error (LEX0001): 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.

Double-click the error message to jump to the affected position in the editor.

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