Home › G-codes › Hurco WinMax (NC) › G20
G20 Inch input (ISNC)
Hurco WinMax (NC) G-code · Mill
Tells an ISNC program that dimensions are in inches. Put it in its own block at the start before any coordinates.
Format
G20
Addresses
| Address | What it does |
|---|---|
none | No words |
How it works
Modal, group 06. ISNC only. Cancel with G21.
Example program
%
G20 (INCH, OWN BLOCK)
G90 G17 G40 G80 G54 (SAFE START)
T1 M06 (.500 END MILL)
G20 (INCH, OWN BLOCK)
G90 G17 G40 G80 G54 (SAFE START)
T1 M06 (.500 END MILL)
Example is in inch. Check offsets and clearances first.
Watch out for
- Basic NC uses G70 for inch. In BNC G20 is not the units code.
- G20 does not change the display units. Those follow the units chosen when you open the NC editor.
Related codes
G20 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Inch input |
| Haas NGC | Inch programming check |
| Mazak (EIA) | Inch input |
| Okuma OSP | Inch input confirmation |
| Mitsubishi M70 M80 | Inch input |
| Brother Speedio | Inch input |
| Fagor 8055 8065 | Lower work zone limits (8055) |
| LinuxCNC Tormach | Inch units |
| Mach3 Mach4 | Inch units |
| Centroid CNC12 Acorn | Inch units |
| Fadal | Check for inch setting |
| Swiss (Citizen Star) | Inch input |
Every G-code for Hurco WinMax (NC) in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.
Open G20 in the app All Hurco WinMax G-codes