CNC Machinist Calculator Ultra

Home › M-codes › Fanuc › M19

M19 Spindle orientation

Fanuc M-code · Mill and lathe

Stops the spindle at a fixed angle. Used for tool changes on mills, boring bar shifts and some part loading.

Format

M19

How it works

Stays until a spindle command.

Example program

G00 X3. Z1. M09 (CLEAR PART)
M05 (SPINDLE STOP)
M19 (ORIENT SPINDLE)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M05

M19 on other controls

The same number can mean something different on another control.

ControlMeaning
Haas NGCOrient spindle
Doosan (Fanuc)Left spindle orientation
DMG Mori MAPPS (Fanuc)Spindle orientation
Mazak (EIA)Spindle orientation position (for the robot to insert a workpiece)
Okuma OSPSpindle orientation (Lathes & Mills)
Mitsubishi M70 M80Spindle orientation
Brother SpeedioSpindle orientation
Siemens 840D 828DSpindle positioning
Fagor 8055 8065Spindle orientation
LinuxCNC TormachSpindle orient
Mach3 Mach4Spindle orient
Centroid CNC12 AcornSpindle orient, macro
Hurco WinMax (NC)Spindle orient
FadalSpindle stop and orient

Every M-code for Fanuc 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 M19 in the app All Fanuc M-codes

App Store Google Play