G45 Tool position offset increase
Fanuc G-code · Mill
Lengthens the move in this block by the offset value. Old style way to account for tool radius on simple straight cuts.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
G45 X Y D
Addresses
| Address | What it does |
|---|---|
X Y | Move to adjust, usually incremental |
D | Offset number |
How it works
One shot, group 00.
Example program
G90 G54 G00 X0. Y0. (START POINT)
G91 G45 X2. D08 (MOVE 2. PLUS THE OFFSET)
G90 (ABSOLUTE)
G91 G45 X2. D08 (MOVE 2. PLUS THE OFFSET)
G90 (ABSOLUTE)
Example is in inch. Check offsets and clearances first.
Watch out for
- Old style function. Cutter radius compensation G41 and G42 is the normal way today.
- One shot only. The offset applies to the move in the same block.
- Do not mix with G41 or G42.
Related codes
G45 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Brother Speedio | Tool offset increase |
| Hurco WinMax (NC) | Tool offset increase |
| Fadal | Tool offset single expansion |
Every G-code for Fanuc 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 G45 in the app All Fanuc G-codes