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.
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
- Compensation
- Machine
- Milling, Turning, Mill-turn
- Risk
- High
- Example
- G45 X... / G46 X...
How to write it on each control
| Example | G45 X... / G46 X... | |
|---|---|---|
| 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. |
Machine: Milling, Turning, Mill-turn
Sources
- Standard: ISO 6983-1:2009 Numerical control of machines — Program format and definitions of address words — Part 1
- Official manual: FANUC Series 0i-MODEL F Operator's Manual, Machining Center System (B-64604EN-2/01) · G45, G46, G47, G48
- Official manual: FANUC Series 30i/31i/32i-MODEL B Maintenance Manual (B-64485EN/01) · G45, G48
Other codes in Compensation
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 apps
CNC G-code Simulator
CNC IDE: editing with G/M tooltips, line inspector, conversion between controls and 2D/3D toolpath.
CNC Alarms Guide
CNC Alarms and Solutions Guide. Enter the error code or symptom to find the cause and how to repair it at the machine.
Calculate cycle time
Estimate CNC turning and milling cycle time from G-code. Calculate parts per hour with a breakdown of cutting, rapids, canned cycles and tool changes.