You cannot use certain reserved words when defining your tag name variables. You cannot use:
& |
* |
** |
- |
/ |
+ |
< |
<= |
>= |
<> |
= |
> |
ACTION |
AND |
ANY_NUM |
ARRAY |
BOOL |
CASE |
CONFIGURATION |
CONSTANT |
DATE |
DATE |
DINT |
DO |
DUT |
DWORD |
ELSE |
EN |
END_CASE |
END_CONFIGURATION |
END_FOR |
END_IF |
END_PROGRAM |
END_VAR |
END_WHILE |
ENO |
EXIT |
FALSE |
FOR |
FUNCTION |
IF |
INT |
INT |
MOD |
NOT |
OF |
OR |
PROGRAM |
REAL |
REPEAT |
STRING |
STRING |
TASK |
TIME |
TIME |
TO |
TRUE |
TRUE |
UNTIL |
VAR_EXTERNAL |
VAR_GLOBAL |
VAR_IN_OUT |
VAR_INPUT |
VAR_OUTPUT |
WHILE |
WORD |
XOR |
Using reserved words or Cicode function names may cause a syntax error.