Glossary · CNC and machine tools
Block number
Also known as: Sequence number, N number
German: Satznummer
In CNC programming, a block number is the optional sequence number at the start of a program block, written with the address letter N, that identifies the block within an NC program.
- CNC
- Standards
In one sentence
A block number (N word) labels a block in an NC program so operators and programs can refer to it; it does not change the execution order.
Example
The line N0120 G01 X50.0 F200 carries the block number 120, which the operator uses to restart the program after a tool change.
How it applies
- Programming: Block numbers are usually written in steps of 5 or 10 so blocks can be inserted later without renumbering. Most controls execute blocks in the order they appear in the file, not in the order of their numbers.
- Operation: Operators use block numbers to search for a restart point after an interruption, a tool break or a program stop, depending on the functions the control offers.
- Documentation: Setup sheets and work instructions that refer to specific blocks (for example 'check the dimension after N0340') must be updated whenever the NC program is revised. Treat the program revision and the referring document as one change under Configuration control.
Block number vs. program block
The Program block (NC) is the complete line of instructions: preparatory functions, coordinates, feed rate and miscellaneous functions. The block number is only its label. A block without a number is still a valid block on most controls.