Skip to main content

Compiler Error C0009

Message: Unexpected token '<token>' found

Possible error cause: Syntax error

Error correction: Use the correct syntax.

Example 319. Example of the error:
PROGRAM PLC_PRG
VAR
END_VAR

END_FOR;

Message:

C0009: Unexpected token 'END_FOR' found