Glossary · CNC and machine tools
NC program
Also known as: CNC program
German: NC-Programm
In machine tools, an NC program is the sequence of program blocks that a numerical control executes to move the axes and switch machine functions, typically written in G-code and M-code.
- CNC
In one sentence
An NC program is the sequence of blocks, usually in G-code and M-code, that a numerical control executes to machine a part.
Example
The NC program O1001 roughs and finishes a pump housing in 84 blocks and calls the drilling cycle as a subprogram.
How it applies
- Programming: NC programs are written at the control, in an editor or generated by a Computer-aided manufacturing (CAM) system through a postprocessor. Subprograms and cycles reduce repetition.
- Production: The released NC program, together with the tool list and setup sheet, defines how a part is made. In regulated industries it is part of the validated process.
- Documentation: Manage NC programs like controlled documents: version, release status, machine and control they are valid for, and the link to the drawing revision. A Configuration baseline for a part should include the NC program version, and every change should pass Change control.
NC program vs. part program
A Part program is the NC program for machining a specific part. 'NC program' is the wider term and also covers programs for measuring, warm-up or maintenance routines. In practice the two terms are often used as synonyms.