Home › M-codes › Haas NGC › M119
M119 Secondary spindle orient
Haas NGC M-code · Lathe
Orients the secondary spindle to zero, or to P whole degrees or R degrees with decimals.
Format
M119 [P] [R]
Addresses
| Address | What it does |
|---|---|
P | Angle in whole degrees |
R | Angle with decimals |
How it works
Non-modal.
Example program
M145 (SECONDARY SPINDLE STOP)
M119 R45.5 (ORIENT TO 45.5 DEGREES)
M114 (BRAKE ON)
M119 R45.5 (ORIENT TO 45.5 DEGREES)
M114 (BRAKE ON)
Example is in inch. Check offsets and clearances first.
Watch out for
- Range is 0 to 360. M119 alarms while G14 is on; use M19 instead.
Related codes
M119 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Doosan (Fanuc) | Right spindle orientation |
| DMG Mori MAPPS (Fanuc) | Spindle (second) orientation |
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 M119 in the app All Haas NGC M-codes