Home › G-codes › Mazak (EIA) › G90
G90 Absolute programming / OD and ID turning cycle
Mazak (EIA) G-code · Mill, Lathe
On mills: Absolute programming
All positions are measured from the active work zero. Standard for most programs.
Format
G90
Addresses
| Address | What it does |
|---|---|
G90 | No addresses |
How it works
Modal, group 03.
Example program
G20 G17 G40 G49 G80 G90 (SAFETY LINE, ABSOLUTE)
G54 G00 X1. Y1. (MOVE TO X1. Y1. FROM PART ZERO)
G91 G28 Z0. (INCREMENTAL FOR HOME)
G90 (BACK TO ABSOLUTE)
G54 G00 X1. Y1. (MOVE TO X1. Y1. FROM PART ZERO)
G91 G28 Z0. (INCREMENTAL FOR HOME)
G90 (BACK TO ABSOLUTE)
Example is in inch. Check offsets and clearances first.
Watch out for
- On a Mazak lathe G90 is a turning cycle, not absolute mode. Do not copy mill habits.
On lathes: OD and ID turning cycle
Mazak calls it fixed cycle A. One block cuts a full pass: in, along Z, out and back. Repeat X for more passes. On the lathe G90 is not absolute mode.
Format
G90 X(U) Z(W) [R] F
Addresses
| Address | What it does |
|---|---|
X | Diameter for this pass |
Z | End of the cut |
R | Taper amount, radius value |
F | Feed rate |
How it works
Modal until another group 01 code.
Example program
T0101 (OD ROUGH TOOL)
G97 S1000 M03 (SPINDLE ON)
G00 X2.1 Z.1 M08 (START POINT)
G90 X1.9 Z-1. F.01 (PASS 1)
…
G97 S1000 M03 (SPINDLE ON)
G00 X2.1 Z.1 M08 (START POINT)
G90 X1.9 Z-1. F.01 (PASS 1)
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- After the cycle give G00 before normal moves, or the next X still runs the cycle.
Related codes
G90 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Absolute programming |
| Haas NGC | Absolute positioning |
| Okuma OSP | Absolute programming |
| Mitsubishi M70 M80 | Absolute programming |
| Brother Speedio | Absolute programming |
| Siemens 840D 828D | Absolute dimensions |
| Heidenhain TNC (ISO) | Absolute dimensions |
| Fagor 8055 8065 | Absolute programming |
| LinuxCNC Tormach | Absolute distance mode |
| Mach3 Mach4 | Absolute mode |
| Centroid CNC12 Acorn | Absolute positioning |
| Hurco WinMax (NC) | Absolute mode |
| Fadal | Absolute positioning |
| Swiss (Citizen Star) | OD turning cycle |
Every G-code for Mazak (EIA) 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 G90 in the app All Mazak G-codes