CNC Machinist Calculator Ultra

Home › G-codes › Centroid CNC12 Acorn › G21

G21 Metric units

Centroid CNC12 Acorn G-code · Mill and lathe

Reads all following dimensions and feeds in millimeters. It does not change the native machine units.

Format

G21

Addresses

AddressWhat it does
noneNo words

How it works

Modal, units group.

Example program

G21 ; METRIC
G90 G54 ; ABSOLUTE, WORK OFFSET 1
G0 X25. Y25. ; MOVE IN MM

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G20

G21 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucMetric input
Haas NGCMetric programming check
Mazak (EIA)Metric input
Okuma OSPMetric input confirmation
Mitsubishi M70 M80Metric input
Brother SpeedioMetric input
LinuxCNC TormachMillimeter units
Mach3 Mach4Metric units
Hurco WinMax (NC)Metric input (ISNC)
FadalCheck for metric setting
Swiss (Citizen Star)Metric input

Every G-code for Centroid CNC12 Acorn 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 G21 in the app All Centroid CNC12 Acorn G-codes

App Store Google Play