M07

Machining center, Lathe

Mist coolant ON (number and meaning differ by machine)

Format and notes

M07 (stop with M09)

Most M codes are assigned by the machine builder (the Siemens ISO dialect manual leaves M00–M89 to the machine tool maker). The same number can mean different things on different machines, so always check your machine’s manual.

Diagram: three ways to apply coolant and their M codes

M08: floodM07: mist (LinuxCNC etc.)M07: shower (Haas)
Flood coolant (a large volume) is M08 almost everywhere. Mist (atomized and sprayed) is M07 in LinuxCNC and the NIST language specification. On Haas machining centers M07 is shower coolant (poured from above), not mist. The machine builder assigns the numbers, so check the operator's manual.

Differences between controls and machines

The same code can be written or assigned differently depending on the CNC control and the machine builder. Always check your machine’s manual.

“One source / reference” rows were confirmed in only one source. “CAM post output / reference” rows show what a CAM post processor outputs and could not be confirmed in the control maker’s own public documents.

SourceMachineItemDetail
LinuxCNC—MeaningM7 mist, M8 flood, M9 both OFF
NISTMachining centerMeaningM07 mist, M08 flood, M09 both OFF
HaasMachining centerMeaningShower coolant ON (option). Stops with M09, and stops and resumes automatically before and after a tool change
CAM post for Okuma (Autodesk)Machining centerMeaningThe Okuma post-processor outputs M07 as mistCAM post output / reference
MHLW (Japan) training textLatheAvailabilityThe M-code table has only M08 and M09 (no M07)
CAM post for FANUC (Autodesk)Machining centerAvailabilityThe generic FANUC post-processor does not assign an M-code to mistCAM post output / reference

Sources

The meaning of this code agrees in two or more sources from different publishers. Explanations are written in our own words.

  1. LinuxCNC project — M-Codes (LinuxCNC Documentation) linuxcnc.org
  2. National Institute of Standards and Technology (NIST), USA — The NIST RS274NGC Interpreter – Version 3 (NISTIR 6556, 2000) nvlpubs.nist.gov
  3. Haas Automation, Inc. — M07 Shower Coolant On (machining center, per-code explanation page) haascnc.com
  4. Haas Automation, Inc. — Mill Operator's Manual – 18 Mill M-Codes (online version) haascnc.com
  5. Autodesk — OKUMA milling post processor (okuma.cps, Fusion post library) cam.autodesk.com
  6. Ministry of Health, Labour and Welfare (MHLW), Human Resources Development Bureau, Office of the Councillor for Skills Evaluation — Human resource development manual using the practical exam tasks of the Grade 3 Skilled Worker Test: CNC lathe work (March 2018) waza.mhlw.go.jp
  7. Autodesk — FANUC generic post processor (fanuc.cps, Fusion post library) cam.autodesk.com