Real-Time 3D Graphics Simulation for Computer Numerical Control
| G20 INCH UNITS | |
|
N_ G20 |
| The G20 command defaults the system to inch units. When a program is being run and the G20 command is encountered, all coordinates are stated as inch units. | |
| Example G20 | |
| % | (PROGRAM START FLAG) |
| :1009 | |
| N5 G90 G20 | (SET INCH MODE) |
| N10 M06 T2 | |
| N15 M03 S1000 | |
| N20 G00 X1 Y1 | |
| N25 Z1 | |
| N30 G01 Z-0.125 F5 | |
| N35 X3.625 F15 | |
| N40 Y1.75 | |
| N45 G00 Z1 | |
| N50 X0 Y0 | |
| N55 M05 | |
| N60 M30 |