CNC Machinist Calculator Ultra

Home › M-codes › Haas NGC › M21

M21 Tailstock advance

Haas NGC M-code · Lathe

Moves the tailstock forward to the part using Settings 341 and 342. On ST-10 no settings are used.

Format

M21

How it works

Non-modal.

Example program

G53 X0 (TURRET CLEAR)
M21 (TAILSTOCK TO PART)
T0101 (OD TOOL)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M22

M21 on other controls

The same number can mean something different on another control.

ControlMeaning
Doosan (Fanuc)Optional block skip act
DMG Mori MAPPS (Fanuc)External output
Mazak (EIA)Robot service call
Okuma OSPTailstock Barrier ON

Every M-code for Haas NGC 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 M21 in the app All Haas NGC M-codes

App Store Google Play