In an ST code worksheet, the lexical analysis detected a constant/literal which cannot be resolved due to an invalid IEC 61131 syntax. The affected code position is underlined in the worksheet.
Error example: StartTime := t#1m2514ms;
The TIME literal to be assigned to the StartTime
variable is invalid because milliseconds (ms) must not follow minutes (m) without preceding seconds (s). Example for a correct expression: t#1m25s14ms
.
Refer to the topic "IEC 61131 Implementation -Constants (Literals)" for details on literals.