G01 Linear interpolation at feed rate / Linear interpolation, feed move
Fanuc G-code · Mill, Lathe
On mills: Linear interpolation at feed rate
Moves the tool in a straight line to the end point at the feed rate F. This is the basic cutting move for profiles, facing and plunging.
Format
Addresses
| Address | What it does |
|---|---|
X Y Z | End point of the line |
F | Feed rate, inches per minute in G94 or inches per revolution in G95 |
How it works
Modal, group 01. F is also modal and stays until changed.
Example program
G01 Z-.1 F15. (FEED DOWN TO DEPTH)
X4.6 F30. (FACE ACROSS AT 30 IPM)
Y.5 (STEP OVER)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- If no F has been given since power on, the first G01 gives an alarm.
- Check G94 or G95 is the one you expect. F10. in G95 means 10 inches per revolution.
- Chamfer and corner R addresses on G01 are an option and depend on parameter settings.
On lathes: Linear interpolation, feed move
Cuts in a straight line at the programmed feed. X is a diameter. With the chamfer and corner R option, C or R at the end of a block adds a 45 degree chamfer or a blend radius at the corner.
Format
Addresses
| Address | What it does |
|---|---|
X Z | Absolute end point, X as a diameter |
U W | Incremental move |
C | Chamfer size at the corner, option |
R | Corner radius at the corner, option |
F | Feed, inches per rev in G99 or inches per minute in G98 |
How it works
Modal, group 01.
Example program
G50 S3000 (MAX SPINDLE SPEED)
G96 S500 M03 (CSS 500 SFM)
G00 X.85 Z.1 M08 (APPROACH)
…
The full 9-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- F is per rev in G99 and per minute in G98. A feed of .008 in G98 barely moves.
- Chamfer and corner R need the option and work only between two single axis moves at 90 degrees.
- On machines with a C axis, the chamfer may use I or K instead of C. A parameter selects the format.
Related codes
G00 · G02 · G03 · G94 · G95 · G98 · G99
G01 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| 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 |
| 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 Fanuc 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 Fanuc G-codes