-

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.

 


This help information is valid for iCube Engineer Online Help 2025.6

Copyright © 2025 YASKAWA EUROPE GmbH and © 2025 YASKAWA America, Inc.