Fundamental Principles of NC Programming
3.2 Structure and contents of an NC program
Control-internal extensions
The program name assigned when the program is created is expanded within the control with
the addition of a prefix and a suffix.
● Prefix: _N_
● Suffix:
– Main programs: _MPF
– Subprograms: _SPF
Files in punch tape format
Externally created program files that are read via the V.24 interface must be present in punch
tape format.
The following additional rules apply for the program name of a file in punch tape format:
● First character: %
● Then a four-character file extension: _xxx
Examples:
● %_N_SHAFT123_MPF
● %Flange3_MPF
References
For detailed information on downloading, creating and storing NC programs, see:
Turning, milling and grinding operating manual; "Manage programs" section
3.2
Structure and contents of an NC program
3.2.1
Blocks and block components
Blocks
An NC program consists of a sequence of NC blocks. Each block contains the data for the
execution of a step in the workpiece machining.
Block components
NC blocks consist of the following components:
● Commands (statements) according to DIN 66025
● Elements of the NC high-level language
34
Programming Manual, 01/2015, 6FC5398-1BP40-5BA2
Fundamentals