Home › G-codes › Heidenhain TNC (ISO) › G70
G70 Inch units
Heidenhain TNC (ISO) G-code · Mill
Sets inch units for the whole program. It is written in the program begin and end lines. Klartext: BEGIN PGM name INCH.
Format
%NAME G70 *
Addresses
| Address | What it does |
|---|---|
%NAME | Program name |
How it works
Set once at program start. Cannot be changed inside the program.
Example program
%PART1 G70 *
N10 G30 G17 X+0 Y+0 Z-1 *
N20 G31 G90 X+4 Y+4 Z+0 *
N99999999 %PART1 G70 *
N10 G30 G17 X+0 Y+0 Z-1 *
N20 G31 G90 X+4 Y+4 Z+0 *
N99999999 %PART1 G70 *
Example is in inch. Check offsets and clearances first.
Watch out for
- Begin and end lines must carry the same unit code.
- Inch programs on the TNC use 4 decimal places.
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 |
| Fagor 8055 8065 | Inch programming |
| LinuxCNC Tormach | Lathe finishing cycle |
| Mach3 Mach4 | Inch units, Mach3 |
| 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 Heidenhain TNC (ISO) 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 Heidenhain TNC G-codes