CNC Machinist Calculator Ultra

Home › M-codes › Hurco WinMax (NC) › M19

M19 Spindle orient

Hurco WinMax (NC) M-code · Mill

Stops and orients the spindle. S sets an angle from 0 to 359 degrees. Coolant also turns off.

Format

M19 [S] [Q]

Addresses

AddressWhat it does
SSpindle angle, 0 to 359 degrees
QQ0 from orient position, Q1 from plus X

How it works

Modal until the spindle restarts.

Example program

T8 M06 (BORING BAR)
M19 S0 Q1 (ORIENT KEY TO PLUS X)
M00 (SET BAR TIP DIRECTION)

Example is in inch. Check offsets and clearances first.

Watch out for

Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.

Related codes

M05 · G76

M19 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucSpindle orientation
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
FadalSpindle stop and orient

Every M-code for Hurco WinMax (NC) 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 Hurco WinMax M-codes

App Store Google Play