Home › M-codes › Siemens 808D ISO › M19
M19 Spindle orientation
Siemens 808D ISO M-code · Mill, Lathe
On mills: Spindle orientation
Turns the spindle to the fixed position set in SD43240 M19_SPOS. Used before tool changes and boring shifts.
Format
How it works
Non-modal.
Example program
M19 (ORIENT SPINDLE)
T02 M06 (TOOL CHANGE)
Example is in inch. Check offsets and clearances first.
Watch out for
- The stop angle is a setting data value, SD43240, not a Fanuc parameter.
On lathes: Spindle orientation
Turns the spindle to a set angle and holds it there, for example for a C axis job or a tool that must face one way.
Format
How it works
Non-modal.
Example program
M19 (ORIENT SPINDLE TO SD43240 ANGLE)
M00 (STOP FOR SETUP CHECK)
Example is in inch. Check offsets and clearances first.
Watch out for
- The stop angle comes from setting data SD43240 $SA_M19_SPOS, not from the program.
Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.
Related codes
M19 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Spindle orientation |
| Haas NGC | Orient 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 OSP | Spindle orientation (Lathes & Mills) |
| Mitsubishi M70 M80 | Spindle orientation |
| Brother Speedio | Spindle orientation |
| Siemens 840D 828D | Spindle positioning |
| Siemens 808D | Spindle positioning to set angle |
| Fagor 8055 8065 | Spindle orientation |
| LinuxCNC Tormach | Spindle orient |
| Mach3 Mach4 | Spindle orient |
| Centroid CNC12 Acorn | Spindle orient, macro |
| Hurco WinMax (NC) | Spindle orient |
| Fadal | Spindle stop and orient |
Every M-code for Siemens 808D ISO 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 Siemens 808D ISO M-codes