Home › G-codes › Mazak (EIA) › G12.1
G12.1 Polar coordinate interpolation on
Mazak (EIA) G-code · Lathe
Lets you mill flats and shapes on the face with X and C as if they were X and Y. G13.1 turns it off. Used on Integrex and lathes with live tools.
Format
G12.1 then G13.1
Addresses
| Address | What it does |
|---|---|
X | Position in the polar plane |
C | Hypothetical axis, programmed as a linear distance |
How it works
Modal until G13.1.
Example program
T1111 (.500 LIVE END MILL)
G98 G00 X2.2 C0. Z.1 (START)
G12.1 (POLAR INTERPOLATION ON)
G01 Z-.1 F10. (TO DEPTH)
…
G98 G00 X2.2 C0. Z.1 (START)
G12.1 (POLAR INTERPOLATION ON)
G01 Z-.1 F10. (TO DEPTH)
…
The full 8-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Give G12.1 and G13.1 in their own blocks.
- Check whether X in the polar plane is read as a diameter or a radius on your control.
- Cutter comp G41 or G42 must be cancelled before G13.1.
Related codes
G12.1 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Polar coordinate interpolation on |
| Mitsubishi M70 M80 | Polar coordinate interpolation on |
| Swiss (Citizen Star) | Polar coordinate interpolation on |
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 G12.1 in the app All Mazak G-codes