Home › G-codes › Mach3 Mach4 › G15
G15 Polar coordinates off
Mach3 Mach4 G-code · Mill
Cancels polar coordinate mode. X and Y are normal Cartesian positions again.
Format
G15
Addresses
| Address | What it does |
|---|---|
G15 | No address words |
How it works
Modal, polar group. Default at start up.
Example program
G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
G0 X0 Y0 (CENTER)
G16 (POLAR ON)
G0 X1.0 Y45.0 (RADIUS 1 AT 45 DEG)
…
G0 X0 Y0 (CENTER)
G16 (POLAR ON)
G0 X1.0 Y45.0 (RADIUS 1 AT 45 DEG)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Put G15 in the safe start line if any program uses G16. A left over G16 turns X and Y into radius and angle.
Related codes
G15 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Polar coordinate command cancel |
| Haas NGC | Secondary spindle swap cancel |
| Mazak (EIA) | Polar coordinate input off |
| Okuma OSP | Work coordinate system select, modal |
| Brother Speedio | Polar coordinate cancel |
| Fagor 8055 8065 | Longitudinal axis selection |
| Hurco WinMax (NC) | Polar coordinates cancel |
| Fadal | YZ circular interpolation with A axis |
Every G-code for Mach3 Mach4 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 G15 in the app All Mach3 Mach4 G-codes