Home › G-codes › Centroid CNC12 Acorn › G0
G0 Rapid positioning
Centroid CNC12 Acorn G-code · Mill, Lathe
On mills: Rapid positioning
Moves to the end point at full rapid rate. On a Centroid mill, a Z move up is done first, then X and Y. A Z move down is done last, after X and Y arrive.
Format
Addresses
| Address | What it does |
|---|---|
X Y Z | End point of the move |
A B | Optional rotary axes |
How it works
Modal, motion group. Default at job start. Stays on until G1, G2 or G3.
Example program
T1 M6 ; LOAD TOOL 1, Z GOES HOME FIRST
G54 G0 X0 Y0 ; WORK OFFSET 1
S3000 M3 ; SPINDLE ON
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Unlike Fanuc, CNC12 splits the Z move from the XY move on a rapid. Plan clamp clearance with that order in mind.
- Feed override does not slow G0 unless rapid override is turned on.
- Comments start with a semicolon. Text after the semicolon is ignored.
On lathes: Rapid positioning
Moves to the end point at full rapid. X is a diameter in diameter mode. Use X Z for absolute and U W for incremental moves.
Format
Addresses
| Address | What it does |
|---|---|
X Z | Absolute end point, X as diameter |
U W | Incremental distance in X and Z |
How it works
Modal, motion group. Default.
Example program
T0101 ; TOOL 1 WITH OFFSET 1
G97 S1200 M3 ; SPINDLE ON
G0 X1.1 Z.1 M8 ; RAPID NEAR THE PART
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Parameter 55 sets diameter or radius mode for X. 0 is diameter mode.
- Feed override does not slow G0 unless rapid override is on.
Related codes
G0 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Rapid positioning |
| Haas NGC | Rapid motion positioning |
| Mazak (EIA) | Rapid positioning |
| Okuma OSP | Rapid positioning |
| Mitsubishi M70 M80 | Rapid positioning |
| Brother Speedio | Rapid positioning |
| Siemens 840D 828D | Rapid traverse positioning |
| Heidenhain TNC (ISO) | Rapid straight line, Cartesian |
| Fagor 8055 8065 | Rapid traverse |
| LinuxCNC Tormach | Rapid move |
| Mach3 Mach4 | Rapid move |
| Hurco WinMax (NC) | Rapid positioning |
| Fadal | Rapid travel |
| Swiss (Citizen Star) | Rapid positioning |
Every G-code for Centroid CNC12 Acorn 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 G0 in the app All Centroid CNC12 Acorn G-codes