This abstract DataTypeis the base DataTypefor all enumeration DataTypeslike NodeClassdefined in 8.30. All DataTypesinheriting from this DataTypehave special handling for the encoding as defined in OPC 10000-6. All enumeration DataTypesshall inherit from this DataType.

Some special rules apply when subtyping enumerations. Any enumeration DataTypenot directly inheriting from the Enumeration DataTypecan only restrict the enumeration values of its supertype. That is, it shall neither add enumeration values nor change the text associated to the enumeration value. As an example, the enumeration Days having {‘Mo’, ‘Tu’, ‘We’, ‘Th’, ‘Fr’, ‘Sa’, ‘Su’} as values can be subtyped to the enumeration Workdays having {‘Mo’, ‘Tu’, ‘We’, ‘Th’, ‘Fr’}. The other direction, subtyping Workdays to Days would not be allowed as Days has values not allowed by Workdays (‘Sa’ and ‘Su’).