Skip to content

G36/G37: Automatic tool measurement

Functions used on some lathes for compensation or automatic measurement on the X/Z axes.

For reference only: syntax changes with the control, the post-processor and the machine parameters. Check the official manual and run a simulation before cutting. Legal notice.

The brands and control names mentioned belong to their owners and are used only to identify the equipment. GetGCode is not affiliated with or endorsed by any manufacturer, ISO or ASME: this is our own content, not official documentation. Legal notice.

Family
Measurement
Machine
Turning, Mill-turn
Risk
High
Example
G36 X... / G37 Z...

How to write it on each control

Example
G36 X... / G37 Z...
Fanuc · ISO común—

Fanuc: Around Fanuc it can be associated with automatic measurement/compensation; depends on option.

ISO común: Highly variable; validate with the control manual.

Machine: Turning, Mill-turn

Sources

Other codes in Measurement

See the full list of G and M codes

Frequently Asked Questions (FAQ)

What does G36/G37 mean in a CNC program?

Functions used on some lathes for compensation or automatic measurement on the X/Z axes. In the catalogue it appears as "Automatic tool measurement", within the Measurement family.

Can you give me an example of G36/G37?

G36 X... / G37 Z... — Functions used on some lathes for compensation or automatic measurement on the X/Z axes.

Which machines use G36/G37?

G36/G37 is used in: Turning, Mill-turn.

What should you watch out for with G36/G37?

High risk: a mistake here can cause a crash, a broken tool or an out-of-tolerance part. Simulate the program and dry-run it before cutting.

Related apps