2.2 Fundamental Principles of NC Programming
Note
DIN 66025 is the guideline for NC programming.
2.2.1 Name of an NC program
Rules
Each NC program must be assigned a program name (identifier) when it is created. The
program 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 either be two letters or an underscore followed by a letter.
Note
If this condition is satisfied, then an NC program can be called as subprogram from another
program just by specifying the program name. However, if the program name starts with
digits, the subprogram call is then only possible via the CALL statement.
● Maximum length: 24 characters
Note
Uppercase/lowercase letters
The SINUMERIK NC language does not distinguish between uppercase and lowercase letters.
Note
Impermissible program names
To avoid problems with Windows applications, the following program names may not be used:
● CON, PRN, AUX, NUL
● COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9
● LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9
Further restrictions, see "Names (Page 382)".
Fundamentals
2.2 Fundamental Principles of NC Programming
NC programming
42 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0