Message: Identifier '<identifier name>' not defined
Possible error cause: An identifier is used that is not declared.
Error correction: Declare the variables that you want to use.
Example of the error:
PROGRAM PLC_PRG VAR END_VAR i := 1; --> C0018: 'i' is no valid assignment target --> C0046: Identifier 'i' not defined
Error correction:
Example: VAR i : INT; END_VAR