Home › G-codes › Mach3 Mach4 › G1
G1 Linear feed move
Mach3 Mach4 G-code · Mill
Moves in a straight line at the active feed rate. This is the basic cutting move.
Format
G1 [X] [Y] [Z] [A] [B] [C] F
Addresses
| Address | What it does |
|---|---|
X Y Z | End point of the cut |
F | Feed rate in the active feed mode |
How it works
Modal, motion group. Stays on until another motion code.
Example program
G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
T1 M6 (TOOL CHANGE)
G43 H1 Z1.0 (LENGTH OFFSET)
S10000 M3 (SPINDLE ON)
…
T1 M6 (TOOL CHANGE)
G43 H1 Z1.0 (LENGTH OFFSET)
S10000 M3 (SPINDLE ON)
…
The full 8-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- F units follow G20 or G21 and G93, G94 or G95. G94 units per minute is normal on a mill.
- A feed above the Motor Tuning limit is cut at the slower limit, so a fast CAM feed may never be reached.
- In G93 inverse time every G1 needs its own F word.
Related codes
G1 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Linear interpolation at feed rate |
| Haas NGC | Linear interpolation feed motion |
| Mazak (EIA) | Linear interpolation, feed move |
| Okuma OSP | Linear interpolation |
| Mitsubishi M70 M80 | Linear feed move |
| Brother Speedio | Linear interpolation |
| Siemens 840D 828D | Linear interpolation at feed rate |
| Heidenhain TNC (ISO) | Straight line at feed rate, Cartesian |
| Fagor 8055 8065 | Linear interpolation |
| LinuxCNC Tormach | Linear feed move |
| Centroid CNC12 Acorn | Linear feed move |
| Hurco WinMax (NC) | Linear feed move |
| Fadal | Linear interpolation at feed |
| Swiss (Citizen Star) | Linear feed move |
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 G1 in the app All Mach3 Mach4 G-codes