CNC Machinist Calculator Ultra

Home › G-codes › Okuma OSP › G56

G56 Tool length offset Z axis

Okuma OSP G-code · Mill

Applies the tool length offset on Z using the H number. This is the Okuma version of Fanuc G43 H.

Format

G56 Z H

Addresses

AddressWhat it does
ZZ position after the offset
HTool length offset number

How it works

Modal, tool length offset group. Cancel with G53.

Example program

O1000 (OKUMA MILL SAMPLE)
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 T3 M06 (.375 DRILL)
N3 G00 G90 X1. Y1. S2000 M03 (FIRST HOLE)
…

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

Watch out for

Related codes

G53 · G43 · G15

G56 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucWork coordinate system 3
Haas NGCWork offset 3 select
LinuxCNC TormachWork coordinate system 3
Mach3 Mach4Work offset 3
Centroid CNC12 AcornWork coordinate system 3
Hurco WinMax (NC)Work coordinate system 3
FadalFixture offset 3, same as E3

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 G56 in the app All Okuma OSP G-codes

App Store Google Play