Home › G-codes › Haas NGC › G01
G01 Linear interpolation feed motion / Linear interpolation motion
Haas NGC G-code · Mill, Lathe
On mills: Linear interpolation feed motion
Moves the tool in a straight line at the programmed feed rate. Haas also allows automatic chamfers and corner rounds between two G01 moves with ,C and ,R.
Format
Addresses
| Address | What it does |
|---|---|
X Y Z | End point of the move |
A B | Rotary axis end point if fitted |
F | Feed rate in inches per minute in G94 |
,C | Chamfer distance at the corner to the next move |
,R | Corner round radius to the next move |
How it works
Modal, motion group 01. The F value is also modal.
Example program
G01 Z-.25 F10. (FEED DOWN)
X2. ,R.25 F20. (CUT ALONG X WITH A .25 CORNER ROUND)
Y1.5 ,C.1 (CUT ALONG Y WITH A .1 CHAMFER)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- An F word is needed on or before the first G01 line, or the control alarms.
- The ,C and ,R corner only works when the next block is also a G01 move in the same plane.
On lathes: Linear interpolation motion
Feeds the tool in a straight line at the F feed rate. Used for turning, facing, tapers and chamfers. Corner chamfers and radii can be added with ,C and ,R between two G01 moves.
Format
Addresses
| Address | What it does |
|---|---|
X | X axis absolute position, diameter |
Z | Z axis absolute position |
U | X axis incremental move, diameter |
W | Z axis incremental move |
Y | Y axis position, Y axis lathes |
C | C axis position, C axis lathes |
F | Feed rate, per rev in G99 or per minute in G98 |
,C | Chamfer distance from the corner, comma C |
,R | Corner radius between two moves, comma R |
A | Angle of movement, used with only one of X, Z, U or W |
I K | Chamfer for 90 degree corners only, I from Z to X, K from X to Z |
How it works
Modal, group 01. F is modal too.
Example program
G99 G96 S600 M03 (CSS 600 SFM, FEED PER REV)
G00 G54 X.75 Z.1 (APPROACH)
G01 Z0 F.006 (FEED TO FACE)
…
The full 8-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- F is modal. If no F has been given yet the control alarms.
- A ,C or ,R block must be followed by another linear move that forms the corner.
- In G99 the feed is per rev. In G98 it is per minute. Check which one is active.
Related codes
G00 · G02 · G03 · G94 · G98 · G99
G01 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Linear interpolation at feed rate |
| 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 |
| 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 Haas NGC 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 G01 in the app All Haas NGC G-codes