CNC Machinist Calculator Ultra

Home › M-codes › Heidenhain TNC (ISO) › M4

M4 Spindle on counterclockwise

Heidenhain TNC (ISO) M-code · Mill

Starts the spindle counterclockwise. Used for left hand taps and left hand tools.

Format

M4

Addresses

AddressWhat it does
M4No addresses

How it works

Modal. Acts at start of block.

Example program

N30 T4 G17 S300 *
N40 G00 X+20 Y+20 M4 *
N50 Z+2 *

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M3 · M5

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
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 Heidenhain TNC (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 M4 in the app All Heidenhain TNC M-codes

App Store Google Play