CNC Machinist Calculator Ultra

Home › G-codes › Heidenhain TNC (ISO) › G01

G01 Straight line at feed rate, Cartesian

Heidenhain TNC (ISO) G-code · Mill

Cuts a straight line at feed rate F to the Cartesian target point. Klartext: L X Y Z RL RR R0 F.

Format

G01 [G40 G41 G42] X Y Z F [M]

Addresses

AddressWhat it does
X Y ZEnd point of the line
G40 G41 G42Radius compensation
FFeed rate in mm per min

How it works

Modal path function. F is modal too.

Example program

N60 G01 Z-5 F1000 M3 *
N70 G01 G41 X+5 Y+5 F300 *
N80 G26 R5 F150 *
N90 Y+95 *
…

The full 9-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G00 · G41 · G26 · G27

G01 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucLinear interpolation at feed rate
Haas NGCLinear interpolation feed motion
Mazak (EIA)Linear interpolation, feed move
Okuma OSPLinear interpolation
Mitsubishi M70 M80Linear feed move
Brother SpeedioLinear interpolation
Siemens 840D 828DLinear interpolation at feed rate
Fagor 8055 8065Linear interpolation
LinuxCNC TormachLinear feed move
Mach3 Mach4Linear feed move
Centroid CNC12 AcornLinear feed move
Hurco WinMax (NC)Linear feed move
FadalLinear interpolation at feed
Swiss (Citizen Star)Linear feed move

Every G-code for Heidenhain TNC (ISO) 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 Heidenhain TNC G-codes

App Store Google Play