M-code reference
M04 M-Code: Spindle On Counter-Clockwise
Spindle On Counter-Clockwise — Starts the spindle counter-clockwise. It is used for left-hand taps, some lathe tools and back-boring.
| Property | Value |
|---|---|
| Code | M04 |
| Function | Spindle On Counter-Clockwise |
| Used on | Mills and lathes |
What does M04 do?
Starts the spindle counter-clockwise. It is used for left-hand taps, some lathe tools and back-boring.
M04 example
S300 M04
G74 X0 Y0 Z-15.0 R5.0 F375.Tips
- Running a right-hand tool in M04 rubs and burns it instantly.
M-codes vary between machine builders. Codes from M00 to M09, M30 and M98/M99 are nearly universal; most others are defined by the machine builder. Always check the M-code list in your machine manual.
Related codes
- M03 — Spindle On Clockwise
- M05 — Spindle Stop
- G74 — Left-Hand Tapping (Mill) / Face Peck Drilling (Lathe)
Most-used M-codes
| Code | Function |
|---|---|
M00 | Program Stop |
M01 | Optional Stop |
M03 | Spindle On Clockwise |
M05 | Spindle Stop |
M06 | Tool Change |
M08 | Flood Coolant On |
M09 | Coolant Off |
M30 | Program End and Rewind |
M98 | Subprogram Call |
M99 | Subprogram Return / Loop |
Frequently asked questions
What does M04 mean on a CNC machine?
M04 is Spindle On Counter-Clockwise. Starts the spindle counter-clockwise. It is used for left-hand taps, some lathe tools and back-boring.