Back to GSM Code List

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
E.g.:
M38 / M39

Machine: 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

See the full list of G and M codes

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