Fundamental Principles of NC Programming
2.2 Language elements of the programming language
• Vocabulary words
• DIN addresses with several letters
• Jump markers
Design
The identifiers are composed of up to 32 characters. The following characters may be used:
• Letters
• Underscore symbols
• Digits
The first two characters must be letters or underscores, separators must not be programmed
between the individual characters (see the following pages).
Example:
CMIRROR, CDON
Note
Reserved vocabulary words must not be used as identifiers. Separators are not permitted
between the individual characters.
Note
Number of characters for each identifier
•
•
•
Rules for allocating identifiers
The following rules are provided in order to avoid identifier collisions:
• All identifiers beginning with "CYCLE" or "_" are reserved for SIEMENS cycles.
• All identifiers beginning with "CCS" are reserved for SIEMENS compile cycles.
• User compile cycles begin with "CC".
• We recommend that users select identifier names, which either begin with "U" (User) or
Further reserved identifiers
• The identifier "RL" is reserved for conventional turning machines.
2-14
Program names: 24 characters
Axis identifiers: 8 characters
Variable identifiers: 31 characters
contain the underscore symbol, because these are not used by the system, compile
cycles or SIEMENS cycles.
Programming Manual, 10.2004 Edition, 6FC5 298-7AB00-0BP1
Fundamentals