Skip to content

G7/G8: Lathe diameter/radius mode

Selects whether lathe X coordinates are read as diameter or radius depending on the control.

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
Lathe
Machine
Turning, Mill-turn
Risk
High
Example
G7 / G8

How to write it on each control

Example
G7 / G8
ISO común · Fanuc—

ISO común: Very critical: changes the dimensional interpretation of X.

Fanuc: In Fanuc it usually depends on parameters/settings more than G7/G8.

Machine: Turning, Mill-turn

Other codes in Lathe

See the full list of G and M codes

Frequently Asked Questions (FAQ)

What does G7/G8 mean in a CNC program?

Selects whether lathe X coordinates are read as diameter or radius depending on the control. In the catalogue it appears as "Lathe diameter/radius mode", within the Lathe family.

Can you give me an example of G7/G8?

G7 / G8 — Selects whether lathe X coordinates are read as diameter or radius depending on the control.

Which machines use G7/G8?

G7/G8 is used in: Turning, Mill-turn.

What should you watch out for with G7/G8?

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