Home › G-codes › Mach3 Mach4 › G9
G9 Exact stop, one block
Mach3 Mach4 G-code · Mill
Mach4. Stops exactly at the end of this one move to make a sharp corner. Later moves blend again.
Format
G9 G1 X Y F
Addresses
| Address | What it does |
|---|---|
X Y | End point that must be reached exactly |
F | Feed rate |
How it works
Non modal. Only acts in its own block.
Example program
G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
T1 M6 (TOOL CHANGE)
S2500 M3 (SPINDLE ON)
G43 H1 Z0.5 (LENGTH OFFSET)
…
T1 M6 (TOOL CHANGE)
S2500 M3 (SPINDLE ON)
G43 H1 Z0.5 (LENGTH OFFSET)
…
The full 9-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Use G9 on the few corners that must be sharp instead of G61 for the whole program.
- G9 is not in the Mach3 G code table. On Mach3 switch G61 on and off around the corner.
Related codes
G9 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Exact stop, one block |
| Haas NGC | Exact stop, one block |
| Okuma OSP | Exact stop, one block |
| Mitsubishi M70 M80 | Exact stop check, one block |
| Brother Speedio | Exact stop check |
| Siemens 840D 828D | Exact stop, one block |
| Fagor 8055 8065 | Arc defined by three points |
| Centroid CNC12 Acorn | Decelerate and stop, one block |
| Hurco WinMax (NC) | Exact stop, one block |
| Fadal | Decelerate with feed ramps, exact stop |
Every G-code for Mach3 Mach4 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 G9 in the app All Mach3 Mach4 G-codes