N - Number

The N command is used to specify a line number within a G-code program.

 

Line numbers are optional and perform no functional role in program execution. They are provided solely as an identifier to help users reference, read, and troubleshoot specific lines of G-code.

 

This should not be confused with the internal line numbering that MASSO uses while running a program, which is independent of any N values defined in the G-code file.

 


Syntax & Parameters

The N value specifies the line number assigned to that block of G-code.

 


Example Program

 

N10
N20
N30

 

In this example, line numbers are included for readability and reference only, and they do not affect how the program is executed.