CNC Machinist Calculator Ultra

Home › M-codes › Siemens 808D ISO › M04

M04 Spindle on counterclockwise

Siemens 808D ISO M-code · Mill, Lathe

On mills: Spindle on counterclockwise

Starts the spindle counterclockwise at speed S in rpm.

Format

M04 [S]

Addresses

AddressWhat it does
SSpindle speed in rpm

How it works

Modal until M03 or M05.

Example program

T04 M06 (LEFT HAND TOOL)
S800 M04 (SPINDLE CCW 800 RPM)
G90 G54 G00 X0. Y0. (POSITION)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Spindle on counterclockwise

Starts the spindle in the left hand (counterclockwise) direction at the speed in S.

Format

M04 [S]

How it works

Modal until M03 or M05.

Example program

T0202 (TOOL RUN IN M04)
G97 S900 M04 (900 RPM COUNTERCLOCKWISE)
G00 X52.0 Z2.0 M08 (APPROACH)

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

M03 · M05

M04 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
Siemens 808DSpindle on counterclockwise
Heidenhain TNC (ISO)Spindle on counterclockwise
Fagor 8055 8065Spindle counterclockwise
LinuxCNC TormachSpindle counterclockwise
Mach3 Mach4Spindle on 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 Siemens 808D ISO 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 M04 in the app All Siemens 808D ISO M-codes

App Store Google Play