G-code reference

G15: Polar coordinates off

G15 is polar coordinates off. Cancels polar coordinate input and returns to normal X/Y positions. It is modal, so it stays active on the following lines until another code from the same group replaces it.

What G15 does

G15 ends polar coordinate mode started by G16, so X and Y are read as ordinary positions again.

TypeG-code
MachineMill
GroupPolar coordinates
ModalYes: stays active until replaced by another code from the same group

G15 example

G15

Back to normal X/Y input.

WordWhat it means here
G15Polar coordinates off

Codes people confuse with G15

CodeWhat it does instead
G16 Polar coordinates on. Reads X as a radius and Y as an angle, handy for bolt-hole circles.

Other codes in the polar coordinates group

Only one code from a modal group is active at a time. Programming any of these replaces G15.

  • G16 Polar coordinates on

Meanings follow the common Fanuc-style standard that Haas, Okuma (EIA mode), Mitsubishi, LinuxCNC and most other controls share for this code. Options and parameters change details from machine to machine, so check the manual for your control.

Quick check: G15

  1. What does G15 do? (Mill)

  2. Which code: Cancels polar coordinate input and returns to normal X/Y positions.(Mill)

  3. What does G16 do? (Mill)

Show the answers
  1. Cancels polar coordinate input and returns to normal X/Y positions.
  2. G15
  3. Reads X as a radius and Y as an angle, handy for bolt-hole circles.

Drill this code with the rest of the core set

More practice hubs

Frequently asked questions

What does G15 mean in CNC programming?
Polar coordinates off. Cancels polar coordinate input and returns to normal X/Y positions.
Is G15 modal?
Yes. G15 belongs to the polar coordinates group and stays active until another code from that group is programmed.
What is the difference between G15 and G16?
G15 (polar coordinates off): cancels polar coordinate input and returns to normal X/Y positions. G16 (polar coordinates on): reads X as a radius and Y as an angle, handy for bolt-hole circles.

G-Code Sprint is an educational practice tool only. It is not a CNC simulator, machine controller, safety manual, or replacement for instruction. Always follow your instructor, employer, machine manual, and shop procedures.

Free preview · no card Try G-Code Sprint