CNC Machinist Calculator Ultra

Home › G-codes › Haas NGC › G37

G37 Automatic tool length measurement

Haas NGC G-code · Mill

Measures the tool length on a tool setter and writes the H offset. Needs the optional tool setter.

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

Format

G37 H Z F

Addresses

AddressWhat it does
HTool length offset number to write
ZZ position target for the measurement move
FFeed rate

How it works

Non-modal, group 00.

Example program

T4 M06 (TOOL TO MEASURE)
G49 (LENGTH COMP OFF)
G37 H04 Z-10. F20. (MEASURE INTO H04)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G43 · G49 · G35

G37 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucAutomatic tool length measurement
Mazak (EIA)Automatic tool length measurement
Fagor 8055 8065Tangential entry

Every G-code for Haas NGC 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 G37 in the app All Haas NGC G-codes

App Store Google Play