CNC Machinist Calculator Ultra

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

G71 Millimeter units

Heidenhain TNC (ISO) G-code · Mill

Sets millimeter units for the whole program. It is written in the program begin and end lines. Klartext: BEGIN PGM name MM.

Format

%NAME G71 *

Addresses

AddressWhat it does
%NAMEProgram name

How it works

Set once at program start.

Example program

%LINEAR G71 *
N10 G30 G17 X+0 Y+0 Z-20 *
N20 G31 G90 X+100 Y+100 Z+0 *
N99999999 %LINEAR G71 *

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G70

G71 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucStock removal in turning, rough cycle
Haas NGCBolt hole arc
Mazak (EIA)OD and ID roughing cycle, Z direction
Okuma OSPReturn level for fixed cycles
Mitsubishi M70 M80Longitudinal rough cutting cycle
Siemens 840D 828DMetric input for geometry
Fagor 8055 8065Millimeter programming
LinuxCNC TormachLathe roughing cycle, along Z
Mach3 Mach4Metric units, Mach3
Centroid CNC12 AcornRough turning cycle
Hurco WinMax (NC)Metric input (Basic NC)
FadalCheck for metric setting, older code
Swiss (Citizen Star)Rough turning cycle

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 G71 in the app All Heidenhain TNC G-codes

App Store Google Play