Home › G-codes › Mazak (EIA) › G01
G01 Linear interpolation, feed move / Linear interpolation, lathe
Mazak (EIA) G-code · Mill, Lathe
On mills: Linear interpolation, feed move
Cuts in a straight line at the feed rate F. F is inches per minute in G94 and inches per rev in G95.
Format
G01 X Y Z [A B C] F
Addresses
| Address | What it does |
|---|---|
X Y Z | End point of the cut |
F | Feed rate, stays modal until changed |
How it works
Modal, group 01.
Example program
G90 G54 G00 X-.5 Y0. (START OFF THE PART)
G43 H02 Z.1 (LENGTH OFFSET)
G01 Z-.1 F15. (FEED TO DEPTH)
X4.5 F30. (CUT ACROSS)
…
G43 H02 Z.1 (LENGTH OFFSET)
G01 Z-.1 F15. (FEED TO DEPTH)
X4.5 F30. (CUT ACROSS)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- The first G01 in a program needs an F word or the control alarms.
- In G91 the values are distances, not positions. Check G90 or G91 before running.
On lathes: Linear interpolation, lathe
Cuts in a straight line. X is a diameter. F is inches per rev in G99 and inches per minute in G98.
Format
G01 X(U) Z(W) F
Addresses
| Address | What it does |
|---|---|
X Z | End point, X as a diameter |
U W | Incremental move |
F | Feed rate |
How it works
Modal, group 01.
Example program
T0101 (OD TURNING TOOL)
G99 G97 S1200 M03 (FEED PER REV)
G00 X1.5 Z.1 M08 (START)
G01 Z-1.25 F.008 (TURN)
…
G99 G97 S1200 M03 (FEED PER REV)
G00 X1.5 Z.1 M08 (START)
G01 Z-1.25 F.008 (TURN)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- F.008 in G98 is almost no feed. Check G98 or G99.
Related codes
G01 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 |
| 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 Mazak (EIA) 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 Mazak G-codes