You cannot use certain reserved words when defining a tag name for a variable tag. You cannot use:
& |
* |
** |
- |
/ |
+ |
< |
<= |
>= |
<> |
= |
> |
ACTION |
AND |
ANY_NUM |
AREA |
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 |
Note: Using a reserved words or Cicode function name for a tag name may generate a compile error message.
Published June 2018