CNC Machinist Calculator Ultra

Home › G-codes › Okuma OSP › G91

G91 Incremental programming

Okuma OSP G-code · Mill, Lathe

On mills: Incremental programming

Positions are distances from the current point. Useful for repeated patterns in a subprogram.

Format

G91

How it works

Modal. Cancel with G90.

Example program

O1000 (OKUMA MILL SAMPLE)
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 G00 G90 X1. Y1. (FIRST HOLE)
N3 G91 X.5 (NEXT HOLE .5 OVER)
…

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

Watch out for

On lathes: Incremental programming

X and Z are distances from the current point. X distance is on diameter.

Format

G91

How it works

Modal. Cancel with G90.

Example program

O2000 (OKUMA LATHE SAMPLE)
N1 G50 S3000 (MAX SPINDLE 3000 RPM)
N2 G90 G00 X2. Z.1 T010101 (ABSOLUTE)
N3 G91 G01 Z-.5 F.01 (INCREMENTAL .5)
…

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

Watch out for

Related codes

G90

G91 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucIncremental programming
Haas NGCIncremental positioning
Mazak (EIA)Incremental programming
Mitsubishi M70 M80Incremental programming
Brother SpeedioIncremental programming
Siemens 840D 828DIncremental dimensions
Heidenhain TNC (ISO)Incremental dimensions
Fagor 8055 8065Incremental programming
LinuxCNC TormachIncremental distance mode
Mach3 Mach4Incremental mode
Centroid CNC12 AcornIncremental positioning
Hurco WinMax (NC)Incremental mode
FadalIncremental positioning

Every G-code for Okuma OSP 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 G91 in the app All Okuma OSP G-codes

App Store Google Play