CNC Machinist Calculator Ultra

Home › M-codes › Mach3 Mach4 › M4

M4 Spindle on counterclockwise

Mach3 Mach4 M-code · Mill

Starts the spindle in reverse at the S speed.

Format

M4 [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)
T7 M6 (LH TAP)
S500 M4 (SPINDLE REVERSE)
G43 H7 Z0.5 (LENGTH OFFSET)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M3 · M5 · G74

M4 on other controls

The same number can mean something different on another control.

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

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 M4 in the app All Mach3 Mach4 M-codes

App Store Google Play