CNC Machinist Calculator Ultra

Home › G-codes › Fanuc › G12.1

G12.1 Polar coordinate interpolation on

Fanuc G-code · Mill, Lathe

On mills: Polar coordinate interpolation on

Turns a linear axis and a rotary axis into a flat X and C plane so you can program flats or slots on the face of a part in Cartesian moves. Mostly used on lathes with live tooling, rare on mills.

Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.

Format

G12.1

How it works

Modal, group 21. Cancel with G13.1.

Example program

G00 X2. C0. (START POSITION)
G12.1 (POLAR INTERPOLATION ON)
G01 X1. F10. (PROGRAM IN THE FLAT PLANE)
C.5 (CUT A FLAT)
…

The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Polar coordinate interpolation on

Turns a live tool, X and the C axis into a flat XY style plane on the face of the part. Use it to mill flats, hex and slots on the face with X and C moves.

Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.

Format

G12.1

Addresses

AddressWhat it does
XLinear axis, follows the normal diameter setting
CHypothetical axis, programmed as a linear distance

How it works

Modal until G13.1.

Example program

T0606 (.5 END MILL, FACE LIVE TOOL)
G98 (FEED PER MINUTE)
G00 X1.2 Z.1 C0 (APPROACH)
G17 G12.1 (POLAR INTERPOLATION ON)
…

The full 9-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G13.1 · G07.1 · G17 · G18 · G98

G12.1 on other controls

The same number can mean something different on another control.

ControlMeaning
Mazak (EIA)Polar coordinate interpolation on
Mitsubishi M70 M80Polar coordinate interpolation on
Swiss (Citizen Star)Polar coordinate interpolation on

Every G-code for Fanuc 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 Fanuc G-codes

App Store Google Play