G99 is a LinuxCNC G-code that sets the retract level used by canned cycles. With G99 active, the tool retracts to the position given by the R word of the canned cycle rather than to the Z position that was in effect before the cycle started. G98 and G99 can be switched between during a series of cycles.
| Language | gcode |
|---|---|
| Code | G99 |
| Group | canned cycle return level |
| Syntax | G99 |
| Dialect | LinuxCNC |