CNC Machinist Calculator Ultra

Home › M-codes › Mach3 Mach4 › M3

M3 Spindle on clockwise

Mach3 Mach4 M-code · Mill

Starts the spindle forward at the S speed. With no S word the last speed is used.

Format

M3 [S]

Addresses

AddressWhat it does
SSpindle speed in RPM

How it works

Modal, spindle group.

Example program

G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
T1 M6 (TOOL CHANGE)
S18000 M3 (SPINDLE ON 18000 RPM)
G4 P3.0 (WAIT FOR SPEED)
…

The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M4 · M5

M3 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucSpindle on, forward
Haas NGCSpindle on clockwise
Doosan (Fanuc)Left spindle forward rotation
DMG Mori MAPPS (Fanuc)Spindle start(normal)
Mazak (EIA)Spindle normal rotation
Okuma OSPSpindle clockwise (Lathes & Mills)
Mitsubishi M70 M80Spindle on clockwise
Brother SpeedioSpindle on clockwise
Siemens 840D 828DSpindle on clockwise
Heidenhain TNC (ISO)Spindle on clockwise
Fagor 8055 8065Spindle clockwise
LinuxCNC TormachSpindle clockwise
Centroid CNC12 AcornSpindle on clockwise
Hurco WinMax (NC)Spindle on clockwise
FadalSpindle on clockwise
Swiss (Citizen Star)Main spindle forward

Every M-code for Mach3 Mach4 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 M3 in the app All Mach3 Mach4 M-codes

App Store Google Play