Home › G-codes › LinuxCNC Tormach › G1
G1 Linear feed move
LinuxCNC Tormach G-code · Mill and lathe
Moves in a straight line at the active feed rate. This is the basic cutting move on mills and lathes.
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
G20 G17 G40 G49 G54 G80 G90 G94 (INCH, SAFE START)
T1 M6 G43 (.500 END MILL)
S3000 M3
G0 X-0.6 Y0 Z0.1 (START OFF THE PART)
…
T1 M6 G43 (.500 END MILL)
S3000 M3
G0 X-0.6 Y0 Z0.1 (START OFF THE PART)
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- An F word must be active before the first G1, or LinuxCNC stops with an error.
- F units follow G93, G94 or G95. G94 units per minute is normal on a mill.
- In G93 inverse time mode 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 |
| Mach3 Mach4 | 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 LinuxCNC Tormach 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 LinuxCNC Tormach G-codes