Home › G-codes › Siemens 840D 828D › G70
G70 Inch input for geometry
Siemens 840D 828D G-code · Mill and lathe
Positions and arc data are read in inches. Feed rates stay in the unit set by machine data. Use G700 when feed should also be in inches.
Format
G70
How it works
Modal, G group 13 (dimension units).
Example program
G70 G90 G54 ; INCH GEOMETRY
G0 X1 Y1 ; X AND Y IN INCHES
G1 Z-0.1 F100 ; F STILL IN MM PER MIN ON A METRIC MACHINE
G0 X1 Y1 ; X AND Y IN INCHES
G1 Z-0.1 F100 ; F STILL IN MM PER MIN ON A METRIC MACHINE
Example is in inch. Check offsets and clearances first.
Watch out for
- G70 does not convert F. On a metric machine F stays in mm per min. Use G700 for inches per minute.
- Set the unit at the program start. Do not switch units inside a contour.
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 |
| Heidenhain TNC (ISO) | Inch units |
| 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 Siemens 840D 828D 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 Siemens 840D 828D G-codes