-

Semantic Warning (SEM2001): Ambiguous identifier '...'.

The ambiguity concerns a variable name and an enumeration (ENUM) element. When using the variable/enum element Red declared in the following example, the warning may appear:

If enumerations contain elements with the same name as an existing variable, such elements must always be used together with the relating enumeration name (MyInt := ColorEnum#Red; in the example above). If only the element name is specified (MyInt := Red;), always the variable will be used in the code.

This is a warning message to inform you about that important issue. Check the reason for this warning. If it is intended, no corrections are required as reaction to this message.