Skip to content

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.

The brands and control names mentioned belong to their owners and are used only to identify the equipment. GetGCode is not affiliated with or endorsed by any manufacturer, ISO or ASME: this is our own content, not official documentation. Legal notice.

Family
Spindle
Machine
Milling, Turning, Mill-turn
Risk
Medium
Example
M41 / M42

How to write it on each control

Example
M41 / M42
Fanuc · Haas—

Fanuc: Machine dependent; it may require the spindle to stop.

Haas: Low gear/high gear on compatible machines.

Machine: Milling, Turning, Mill-turn

Other codes in Spindle

See the full list of G and M codes

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 apps