M42 High range RPM
Fadal M-code · Mill
Selects the high gear range on machines with a two speed spindle.
Format
M42
How it works
Modal.
Example program
N1 G0 G40 G49 G80 G90 G17 (FORMAT 2 SAFE START)
N2 T1 M6 (1-2 END MILL)
N3 G0 G90 G54 X0. Y0. S5000 M42 (HIGH RANGE)
N4 M3
N2 T1 M6 (1-2 END MILL)
N3 G0 G90 G54 X0. Y0. S5000 M42 (HIGH RANGE)
N4 M3
Example is in inch. Check offsets and clearances first.
Watch out for
- Use high range for small tools and finish passes.
Related codes
M42 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | High gear range |
| Haas NGC | Spindle high gear override |
| Okuma OSP | Spindle gear range 2 |
| Centroid CNC12 Acorn | Select medium low gear range, macro |
| Hurco WinMax (NC) | Two touch probing |
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 M42 in the app All Fadal M-codes