CNC Machinist Calculator Ultra

Home › M-codes › Siemens 840D 828D › M41

M41 Gear stage selection M40 to M45

Siemens 840D 828D M-code · Mill and lathe

M41 to M45 select gear stage 1 to 5. M40 lets the control pick the gear stage from the programmed speed. Only on machines with a gearbox.

Format

M40 or M41 to M45

How it works

Modal.

Example program

M41 ; GEAR STAGE 1 FOR HIGH TORQUE
S300 M3 ; LOW SPEED
M40 ; AUTOMATIC GEAR SELECTION

Example is in inch. Check offsets and clearances first.

Watch out for

Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.

Related codes

M3

M41 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucLow gear range
Haas NGCSpindle low gear override
Okuma OSPSpindle gear range 1
Fagor 8055 8065Spindle gear range 1
Centroid CNC12 AcornSelect low gear range, macro
Hurco WinMax (NC)Single touch probing
FadalLow range RPM

Every M-code for Siemens 840D 828D 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 M41 in the app All Siemens 840D 828D M-codes

App Store Google Play