-

Semantic Error (SEM1077): Ambiguous enumeration value '...'.

In a code worksheet, an enumeration element is accessed, whose membership cannot be determined definitely, i.e., the element may belong to one of several user-defined enumerations.
If enumerations contain elements with the same name, such elements must always be used together with the relating enumeration name.

Background: accessing enumeration elements in the code

According to the IEC 61131 standard, an enumeration value can be accessed as follows:
The following rules apply:

In both cases, the enumeration name must be specified before the element name.