G20 command sets distance unit to inches.
G20 command is modal.
G20 is included in the modal group 6 (Units) (G20, G21).
Example for CNC(G-code) G20 command:
G20; Input in inches
The standard lengths
in inches, presented as ordinary fractions, and their values in millimeters are
shown in the table below.
Inches (in) |
Millimeters (mm) |
1/8" |
3,175 |
3/16" |
4,762 |
1/4" |
6,35 |
5/16" |
7,938 |
3/8" |
9,525 |
1/2" |
12,7 |
5/8" |
15,875 |
3/4" |
19,05 |
7/8" |
22,225 |
1" |
25,4 |
1 1/4" |
31,75 |
1 1/2" |
38,1 |
1 3/4" |
44,45 |
2" |
50,8 |
2 1/4" |
57,15 |
2 1/2" |
63,5 |
2 3/4" |
69,85 |
3" |
76,2 |
3 1/4" |
82,55 |
3 1/2" |
88,9 |
4" |
101,6 |
4 1/2" |
114,3 |
5" |
127 |
5 1/2" |
509,7 |
6" |
152,4 |
6 1/2" |
165,1 |
7" |
177,8 |
7 1/2" |
190,5 |
8" |
203,2 |
8 1/2" |
215,9 |
9" |
228,6 |
9 1/2" |
241,3 |
10" |
254 |
Back to list of CNC G Codes and CNC M-codes
|
|