CNC Machinist Calculator Ultra

Home › G-codes › Siemens 808D ISO › G20

G20 Inch input

Siemens 808D ISO G-code · Mill, Lathe

On mills: Inch input

Switches input to inch. Program values, offsets and some parameters and readouts are in inches after it.

Format

G20

How it works

Modal, group 6. Power on default set in MD20154 EXTERN_GCODE_RESET_VALUES[5].

Example program

G20 (INCH)
G17 G40 G49 G80 G90 (SAFE START)
G54 G00 X1. Y1. (POSITION IN INCHES)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Inch input

Positions, arc data, thread lead and the programmable offset are read in inch. Feeds, tool offsets and settable work offsets stay in the machine base unit.

Format

G20

How it works

Modal, G group 06.

Example program

G20 (INCH INPUT)
G00 X3.0 Z0.1 (APPROACH IN INCH)
G01 Z-1.0 F0.008 (NEW FEED AFTER THE SWITCH)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G21 · G92

G20 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucInch input
Haas NGCInch programming check
Mazak (EIA)Inch input
Okuma OSPInch input confirmation
Mitsubishi M70 M80Inch input
Brother SpeedioInch input
Fagor 8055 8065Lower work zone limits (8055)
LinuxCNC TormachInch units
Mach3 Mach4Inch units
Centroid CNC12 AcornInch units
Hurco WinMax (NC)Inch input (ISNC)
FadalCheck for inch setting
Swiss (Citizen Star)Inch input

Every G-code for Siemens 808D 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 G20 in the app All Siemens 808D ISO G-codes

App Store Google Play