Compiler Error C0007
Message
Expression expected instead of ‘<token>’
Message Cause
Syntax error
Solution
Make sure that the syntax is correct.
Error Example
PROGRAM PLC_PRG
VAR
x: INT;
bTest : BOOL;
END_VAR
IF THEN
x := 9;
END_IF
--> C0007: Expression expected instead of 'THEN'