G20 – Set Machine Units To Inches

This command is used to set machine units to Inches. All gcode values after this command will be processed as inches.


Syntax & Parameters


  • G20



Example program


N10 G20


The above gcode will set the machine units to Inches.