Message: Local defined enumeration are no longer supported. Use datatype definition instead.
Possible error cause: A local enumeration declaration was used together with a compiler version that does not support this.
Error correction: Use a later compiler version, or define the enumeration in a DUT.
Example of the error:
PROGRAM PLC_PRG VAR localEnumVar : (RED, GREEN, BLUE) := RED; END_VAR --> C0099: Local defined enumeration are no longer supported. Use datatype definition instead.