Names in the SIMATIC AX Hardware Declaration language (e.g. device or module names) need to comply with the following rules
- A name may only contain letters, numbers or the following characters:
-,_,# - A name must be unique within its context (for example, a module name must only be used once in the same device).
- The same name can be used for elements of different types (e.g. a module and a device may be named the same)
Names are treated case-insensitive, so for exmpale "device1" and "DEVICE1" are considered equal.
Note that for some types of elements, additional rules apply:
- While the same name can be used for modules in different devices, this does not apply to PLC modules. A PLC's name must be unique wihtin the project, regardless of which device the PLC belongs to.