-

Semantic Error (SEM1070): The data type of value '...' is not equal to the base data type '...' of enumeration '...' .

In a data types worksheet, an invalid value has been specified for an element in a user-defined enumeration data type. The specified value must match the defined base data type.

Error examples: In MyEnum, the LINT literal does not match the SINT data type. In MyEnum2, the value range of SINT is exceeded.