M19 Spindle stop and orient
Fadal M-code · Mill
Stops the spindle and turns it to the orient position. Used for boring bar shifts and setup.
Format
M19
How it works
Non modal.
Example program
N10 G0 Z1. M9
N11 M19 (ORIENT SPINDLE)
N12 M0 (CHECK BAR TIP DIRECTION)
N11 M19 (ORIENT SPINDLE)
N12 M0 (CHECK BAR TIP DIRECTION)
Example is in inch. Check offsets and clearances first.
Watch out for
- Use it to set a boring bar tip direction for G76.
- Keep hands clear. The spindle moves to orient.
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 |
| Fagor 8055 8065 | Spindle orientation |
| LinuxCNC Tormach | Spindle orient |
| Mach3 Mach4 | Spindle orient |
| Centroid CNC12 Acorn | Spindle orient, macro |
| Hurco WinMax (NC) | Spindle orient |
Every M-code for Fadal 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 Fadal M-codes