-

CIL Generator Error (CILG0022): There exists a name conflict between the program instance and the global variable '...'.

The CIL Generator has detected a global variable which has an identical name to a program instance defined in the 'Tasks and Events' editor. The affected name is indicated in the error message.

Rename either the program instance or the global variable to ensure that each element name is unique within the current project. After renaming the instance, some further adaptions may be necessary.

Remedy

Double-click the error message to jump to the Data List where the global variable is declared.

It is recommended to use the 'Refactoring' feature for renaming the global variable.