G20 – Set Machine Units To Inches

The G20 command is used to set the machine units to inches.


All G-code values that follow this command will be interpreted as inches.

 

G20 is a modal command and belongs to Group 6.

 


Syntax & Parameters

 

G20

 


Example program

 

N10 G20

 

Explanation:
This command sets the machine units to inches.