G-code reference
G60 G-Code: Single Direction Positioning
Single Direction Positioning — Approaches every target from the same direction (with a parameter-defined overtravel) to eliminate backlash when positioning holes for boring.
| Property | Value |
|---|---|
| Code | G60 |
| Function | Single Direction Positioning |
| Modal group | 00 |
| Type | One-shot (non-modal) — active only in its own block |
| Used on | Milling machines |
| Syntax | G60 X_ Y_ |
What does G60 do?
Approaches every target from the same direction (with a parameter-defined overtravel) to eliminate backlash when positioning holes for boring.
G60 is a one-shot code: it only acts in the block where it is written, and the previously active modal codes take over again afterwards.
Syntax and parameters
G60 X_ Y_G60 example program
G60 X50.0 Y30.0▶ Open this example in the G-code viewer
Tips and common mistakes
- Overtravel and direction are set by parameters.
Controller compatibility
G60 follows the ISO/Fanuc dialect used by Fanuc, Haas, Brother, Doosan, Hurco (ISO mode), Mazak (EIA/ISO mode), Okuma (G-code mode) and Siemens in ISO dialect mode. Parameters, option packages and builder-specific behaviour can differ, so confirm the details in your machine's programming manual before running a new program.