Other information
16.5 Names
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 must be letters or underscores.
● Maximum length: :
– Program names (Page 33)
– 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
● CYCLE
● CUST_
● GROUP_
● _
● S_
● E_
● F_
● CCS_
● CC_
User cycles
We recommend that the names of user cycles begin with U_.
Variables
A detailed description of the name assignment for variables appears in:
382
Reserved for names for
SIEMENS cycles
SIEMENS compile cycles
User compile cycles
Programming Manual, 01/2015, 6FC5398-1BP40-5BA2
Fundamentals