Naming rules
A name can be chosen freely providing the following rules are observed:
● Permissible characters:
– Letters: A ... Z, a ... z
– Numbers: 0 ... 9
– Underscore: _
● The first two characters should be letters or underscores.
● Maximum length:
– Program names (Page 42): 24 characters
– Axis names: 8 characters
– Variable names: 31 characters
Note
Reserved keywords must not be used as identifiers.
Cycles
To prevent name conflicts, we recommend that the following specification for the assignment
of names for user cycles is observed:
Character string Reserved for names for
● CYCLE
● CUST_
● GROUP_
● _
● S_
● E_
● F_
SIEMENS cycles
● CCS_
SIEMENS compile cycles
● CC_
User compile cycles
User cycles
We recommend that the names of user cycles begin with U_.
Variables
Information relating to the name assignment for variables is provided in the following chapters:
● System data (Page 390)
● Definition of user variables (DEF) (Page 397)
Fundamentals
2.15 Other information
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 383