Back to GSM Code List

G45-G48: Offset increment/decrement

Old or specific functions to increase/decrease tool movements.

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.

Family
Compensation
Machine
Milling, Turning, Mill-turn
Risk
High
Example
G45 X... / G46 X...
E.g.:
G45 X... / G46 X...

Machine: Milling, Turning, Mill-turnRisk: High

Fanuc · ISO común

  • Fanuc: Legacy/specific; can modify compensations in non-obvious ways.
  • ISO común: High risk if the operator isn't expecting offset changes.

Other codes in Compensation

See the full list of G and M codes

Frequently Asked Questions (FAQ)

What does G45-G48 mean in a CNC program?

Old or specific functions to increase/decrease tool movements. In the catalogue it appears as "Offset increment/decrement", within the Compensation family.

Can you give me an example of G45-G48?

G45 X... / G46 X... — Old or specific functions to increase/decrease tool movements.

Which machines use G45-G48?

G45-G48 is used in: Milling, Turning, Mill-turn.

What should you watch out for with G45-G48?

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 tools