M41/M42: Low/high spindle gear range
Selects the low or high mechanical spindle gear range on machines with a gearbox.
For reference only: syntax changes with the control, the post-processor and the machine parameters. Check the official manual and run a simulation before cutting. Legal notice.
- Family
- Spindle
- Machine
- Milling, Turning, Mill-turn
- Risk
- Medium
- Example
- M41 / M42
M41 / M42Machine: Milling, Turning, Mill-turnRisk: Medium
Fanuc · Haas
- Fanuc: Machine dependent; it may require the spindle to stop.
- Haas: Low gear/high gear on compatible machines.
Other codes in Spindle
Frequently Asked Questions (FAQ)
What does M41/M42 mean in a CNC program?
Selects the low or high mechanical spindle gear range on machines with a gearbox. In the catalogue it appears as "Low/high spindle gear range", within the Spindle family.
Can you give me an example of M41/M42?
M41 / M42 — Selects the low or high mechanical spindle gear range on machines with a gearbox.
Which machines use M41/M42?
M41/M42 is used in: Milling, Turning, Mill-turn.
What should you watch out for with M41/M42?
Medium risk: it rarely breaks anything on its own, but a wrong value shows up on the part. Check the block before running the batch.
Related tools
CNC G-code Simulator
CNC IDE: editing with G/M tooltips, line inspector, conversion between controls and 2D/3D toolpath.
CNC Alarms Guide
CNC Alarms and Solutions Guide. Enter the error code or symptom to find the cause and how to repair it at the machine.
Calculate cycle time
Estimate CNC turning and milling cycle time from G-code. Calculate parts per hour with a breakdown of cutting, rapids, canned cycles and tool changes.