Home › G-codes › Mazak (EIA) › G16
G16 Polar coordinate input on
Mazak (EIA) G-code · Mill
Positions are given as a radius and an angle from the current work zero. In G17 the first axis X is the radius and Y is the angle in degrees. Handy for bolt circles.
Format
G16 then X(radius) Y(angle)
Addresses
| Address | What it does |
|---|---|
X | Radius from the work zero in G17 |
Y | Angle in degrees, counterclockwise from plus X |
How it works
Modal until G15.
Example program
G90 G54 G00 X0. Y0. (BOLT CIRCLE CENTER AT ZERO)
G43 H04 Z1. (LENGTH OFFSET)
G16 (POLAR INPUT ON)
G81 X2. Y0. Z-.6 R.1 F8. (HOLE 1, R 2., 0 DEG)
…
G43 H04 Z1. (LENGTH OFFSET)
G16 (POLAR INPUT ON)
G81 X2. Y0. Z-.6 R.1 F8. (HOLE 1, R 2., 0 DEG)
…
The full 8-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- The center is the work zero, so set G54 on the bolt circle center or use G52.
- Do not mix polar input with G68 rotation unless you have proved it on the machine.
Related codes
G16 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Polar coordinate command |
| Okuma OSP | Work coordinate system select, one block |
| Brother Speedio | Polar coordinate command |
| Heidenhain TNC (ISO) | Tangential arc, polar |
| Fagor 8055 8065 | Main plane by two axes |
| Mach3 Mach4 | Polar coordinates on |
| Hurco WinMax (NC) | Polar coordinates |
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 G16 in the app All Mazak G-codes