M38/M39: Spindle speed variation
Turns spindle speed variation on/off to reduce chatter depending on the machine.
For reference only: syntax changes with the control, the post-processor and the machine parameters. Check the official manual and run a simulation before cutting. Legal notice.
- Family
- Spindle
- Machine
- Turning, Mill-turn
- Risk
- Medium
- Example
- M38 / M39
M38 / M39Machine: Turning, Mill-turnRisk: Medium
Haas · Fanuc
- Haas: Spindle speed variation on some Haas lathes.
- Fanuc: It may exist as an option or manufacturer feature.
Other codes in Spindle
Frequently Asked Questions (FAQ)
What does M38/M39 mean in a CNC program?
Turns spindle speed variation on/off to reduce chatter depending on the machine. In the catalogue it appears as "Spindle speed variation", within the Spindle family.
Can you give me an example of M38/M39?
M38 / M39 — Turns spindle speed variation on/off to reduce chatter depending on the machine.
Which machines use M38/M39?
M38/M39 is used in: Turning, Mill-turn.
What should you watch out for with M38/M39?
Medium risk: it rarely breaks anything on its own, but a wrong value shows up on the part. Check the block before running the batch.
Related tools
CNC G-code Simulator
CNC IDE: editing with G/M tooltips, line inspector, conversion between controls and 2D/3D toolpath.
CNC Alarms Guide
CNC Alarms and Solutions Guide. Enter the error code or symptom to find the cause and how to repair it at the machine.
Calculate cycle time
Estimate CNC turning and milling cycle time from G-code. Calculate parts per hour with a breakdown of cutting, rapids, canned cycles and tool changes.