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.
G20 is Modal and is a member of Group 6

 

Syntax & Parameters

 

  • G20

 

 

Example program

 

N10 G20

 

The above gcode will set the machine units to Inches.