Semantic Error (SEM1066): Invalid base data type '...' for enumeration '...'.
In a data types worksheet, a user-defined enumeration data type was defined with an invalid base data type. The base data type of an enumeration defines the type of contained enumeration elements.
Only ANY_INT data types are supported for enumerations: LINT, DINT, INT, SINT, ULINT, UDINT, UINT, USINT.