While creating a program, the Sysmac Studio displays a duplicate name error. What causes this error?

The Sysmac Studio found a duplicate name for the following data items during a program check. If you double-click the message that is displayed on the Build Tab Page, the Edit Pane will show the location of the error for you to correct.

  • Variable names in the same POU
  • Section names in the same POU
  • Member names in the same union of structure
  • Enumerators in the same enumeration
  • Local variable names and global variable names
  • POU names and data type names
  • Data type names and variable names
  • Enumerators of an enumeration and enumerators of another enumeration
  • Enumerators and variable names