Compiler Error C0169
Message: 'VAR_GLOBAL' declaration only allowed in global variable list
Possible error cause: 'VAR_GLOBAL' is used outside of global variable lists.
Error correction: Use 'VAR_GLOBAL' in global variable lists only.
Example 409. Example of the error:
PROGRAM PLC_PRG VAR_GLOBAL i : INT; END_VAR
Message:
C0169: 'VAR_GLOBAL' declaration only allowed in global variable list