G21 – Set Machine Units To Millimetres
This command is used to set machine units to Millimetres. All gcode values after this command will be processed as Millimetres.
Syntax & Parameters
- G21
Example program
N10 G21
The above gcode will set the machine units to Millimetres.