SPINDLE CONTROL (M03, M04, AND M05)
To start the spindle turning clockwise (forward) at the currently programmed speed, program: M03
To start the spindle turning counterclockwise at the currently programmed speed, program: M04
The speed is programmed by the S word.
To stop the spindle from turning, program: M05
It’s okay to use M03 or M04 if the spindle speed is set to 0; if this is done, the spindle won’t start turning. If later the spindle speed is set above 0, the spindle starts turning. It is permitted to use M03 or M04 when the spindle is already turning, or to use M05 when the spindle is already stopped.
- Introduction
- Programming Overview
- Programming G-Code
- Rapid Linear Motion (G00)
- Linear Motion at Feed Rate (G01)
- Arc at Feed Rate (G02 and G03)
- Dwell (G04)
- Set Offsets (G10)
- Plane Selection (G17, G18, G19)
- Length Units (G20 and G21)
- Return to Predefined Position (G28 and G28.1)
- Return to Predefined Position (G30 and G30.1)
- Straight Probe (G38.x)
- Cutter Compensation (G40, G41, G42)
- Dynamic Cutter Compensation (G41.1 and G42.1)
- Apply Tool Length Offset (G43)
- Engrave Sequential Serial Number (G47)
- Cancel Tool Length Compensation (G49)
- Absolute Coordinates (G53)
- Select Work Offset Coordinate System (G54 to G59.3)
- Set Exact Path Control Mode (G61)
- Set Blended Path Control Mode (G64)
- Distance Mode (G90 and G91)
- Arc Distance Mode (G90.1 and G91.1)
- Temporary Work Offsets (G92, G92.1, G92.2, and G92.3)
- Feed Rate Mode (G93, G94, and G95)
- Spindle Control Mode (G96 and G97)
- Programming Canned Cycles
- Programming M-Code
- Supported M-Codes Reference
- Program Stop and Program End (M00, M01, M02, and M30)
- Spindle Control (M03, M04, and M05)
- Tool Change (M06)
- Coolant Control (M07, M08, and M09)
- Automatic Collet Closer Control (M10 and M11)
- Override Control (M48 and M49)
- Feed Override Control (M50)
- Spindle Speed Override Control (M51)
- Set Current Tool Number (M61)
- Set Output State (M64 and M65)
- Wait on Input (M66)
- Cycle count, repeat, and return subroutine (M30/M99)
- Programming Input Codes
- Advanced Programming