CNC Machinist Calculator Ultra

Home › G-codes › Mach3 Mach4 › G16

G16 Polar coordinates on

Mach3 Mach4 G-code · Mill

X becomes the radius and Y the angle in degrees in the XY plane. Handy for bolt circles. The origin rule differs between Mach3 and Mach4.

Format

G16 X Y

Addresses

AddressWhat it does
XRadius from the polar origin
YAngle in degrees, counterclockwise from 3 o clock

How it works

Modal, polar group. Cancel with G15.

Example program

G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
T1 M6 (TOOL CHANGE)
S2500 M3 (SPINDLE ON)
G43 H1 Z1.0 (LENGTH OFFSET)
…

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

Watch out for

Related codes

G15 · G0 · G1

G16 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucPolar coordinate command
Mazak (EIA)Polar coordinate input on
Okuma OSPWork coordinate system select, one block
Brother SpeedioPolar coordinate command
Heidenhain TNC (ISO)Tangential arc, polar
Fagor 8055 8065Main plane by two axes
Hurco WinMax (NC)Polar coordinates

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 G16 in the app All Mach3 Mach4 G-codes

App Store Google Play