CNC Machinist Calculator Ultra

Home › G-codes › Swiss (Citizen Star) › G20

G20 Inch input

Swiss (Citizen Star) G-code · Lathe

Sets inch units for all paths. Put it before any move.

Format

G20

Addresses

AddressWhat it does
NoneNo addresses

How it works

Modal, unit group.

Example program

($1 MAIN PATH)
G20 G18 G99 (INCH, SAFE START)
G00 X.55 Z-.02 T0100 (TOOL 1)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G21

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

Every G-code for Swiss (Citizen Star) 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 Swiss G-codes

App Store Google Play