Home › G-codes › Mach3 Mach4 › G70
G70 Inch units, Mach3
Mach3 Mach4 G-code · Mill
Mach3. Same as G20, program values in inches. G20 is preferred.
Format
G70
Addresses
| Address | What it does |
|---|---|
G70 | No address words |
How it works
Modal, units group.
Example program
G0 G70 G90 G54 G17 G40 G49 G80 (INCH VIA G70)
T1 M6 (TOOL CHANGE)
G43 H1 Z1.0 (LENGTH OFFSET)
G0 X1.0 Y1.0 (INCH POSITION)
T1 M6 (TOOL CHANGE)
G43 H1 Z1.0 (LENGTH OFFSET)
G0 X1.0 Y1.0 (INCH POSITION)
Example is in inch. Check offsets and clearances first.
Watch out for
- A Fanuc lathe style G70 finish cycle line does not run a cycle here. It switches units.
Related codes
G70 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Finishing cycle |
| Haas NGC | Bolt hole circle |
| Mazak (EIA) | Finishing cycle |
| Mitsubishi M70 M80 | Finishing cycle |
| Siemens 840D 828D | Inch input for geometry |
| Heidenhain TNC (ISO) | Inch units |
| Fagor 8055 8065 | Inch programming |
| LinuxCNC Tormach | Lathe finishing cycle |
| Centroid CNC12 Acorn | Profile finishing cycle |
| Hurco WinMax (NC) | Inch input (Basic NC) |
| Fadal | Check for inch setting, older code |
| Swiss (Citizen Star) | Finish turning cycle |
Every G-code for Mach3 Mach4 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 G70 in the app All Mach3 Mach4 G-codes