CNC Machinist Calculator Ultra

Home › G-codes › Fanuc › G90

G90 Absolute programming / Outer and inner diameter turning cycle

Fanuc G-code · Mill, Lathe

On mills: Absolute programming

Axis values are positions measured from the active work zero. The normal mode for most programs.

Format

G90

How it works

Modal, group 03.

Example program

G17 G20 G40 G49 G80 G90 (SAFE START, ABSOLUTE)
G54 G00 X1. Y1. (POSITION FROM PART ZERO)
X2. (NOW AT X2. FROM ZERO, NOT 2 MORE)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Outer and inner diameter turning cycle

In G code system A, G90 is a single pass turning cycle, not absolute mode. Each line rapids in, turns along Z, feeds out and rapids back. Add R for a taper.

Format

G90 X(U) Z(W) [R] F

Addresses

AddressWhat it does
X ZEnd point of the cut, X as a diameter
U WIncremental end point
RTaper, radius difference from start to end of the cut. Minus when the diameter grows toward the chuck
FFeed

How it works

Modal, group 01. Each new X line runs another pass.

Example program

T0101 (OD ROUGH TOOL)
G97 S1200 M03 (CONSTANT RPM)
G00 X2.1 Z.1 M08 (CYCLE START POINT)
G90 X1.9 Z-1.5 F.01 (PASS 1)
…

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

Watch out for

Related codes

G91 · G54 · G94 · G92 · G71

G90 on other controls

The same number can mean something different on another control.

ControlMeaning
Haas NGCAbsolute positioning
Mazak (EIA)Absolute programming
Okuma OSPAbsolute programming
Mitsubishi M70 M80Absolute programming
Brother SpeedioAbsolute programming
Siemens 840D 828DAbsolute dimensions
Heidenhain TNC (ISO)Absolute dimensions
Fagor 8055 8065Absolute programming
LinuxCNC TormachAbsolute distance mode
Mach3 Mach4Absolute mode
Centroid CNC12 AcornAbsolute positioning
Hurco WinMax (NC)Absolute mode
FadalAbsolute positioning
Swiss (Citizen Star)OD turning cycle

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 G90 in the app All Fanuc G-codes

App Store Google Play