Search This Blog

Sunday, November 16, 2014

"What is M-CODES M07, M08 & M09 (Coolant Activation codes) mean in CNC Programing"

M-Code M07, M08 and M09 Coolant activation and deactivation M-codes

M07 Shower Coolant or Flood Coolant:  

In general this M-code activates the Coolant Pump and the coolant is flooded into the machine through the pipes provide near spindle and flow is directed towards the cutting of material by tool. This cools the tool which gets heated by the material cutting forces

Example:

N170 T02 M06                               (Tool change)
N171 T03                                       (Pre Tool)
N172 G54 G90 G0 X10 Y10 Z50  (Z to safety plane)
N173 M07                                      (Coolant ON)
N174 G01 Z1 F50                          (Z motion in Controlled Feed)

M08 Mist Coolant:  

In general this M-code activates the mist Coolant Pump and the coolant is flooded into the machine through the pipes provide near spindle and flow is directed towards the cutting of material by tool. This cools the tool which gets heated by the material cutting forces. The Basic Mist uses the Venturi principle for operation. When air is introduced to a typical unit and the “Air Valve” is open, it passes completely through and is released at the “Nozzle Tip”. The air stream forms a “Venturi”, creating suction that draws coolant from a coolant reservoir to the “Coolant Port” where it joins the air to form a mist spray. The force of the spray is easily regulated by adjusting the “Air Valve” to control both air volume and velocity.

Note: M07 and M08 the optional coolant is automatically turned off before a tool change or a pallet change, and it will automatically restart after a tool change if it was not cancelled prior to a tool change.

Example:

N170 T02 M06                               (Tool change)
N171 T03                                        (Pre Tool)
N172 G54 G90 G0 X10 Y10 Z50   (Z to safety plane)
N173 M08                                       (Coolant ON)
N174 G01 Z1 F50                           (Z motion in Controlled Feed)

M09 Coolant OFF:  

This M-code turns off all the Coolant commands running on the controller. Programmer has to keep in mind not to use M09 while the material cutting is in progress. It must be switched off only when required or at the end of the tool finishes the cutting. 

Example:

N172 G00 Z 50                        (Z Retract to safety plane)
N173 M09                                (Coolant OFF)
N174 M05                                (Spindle OFF)
N174 G91 G28 G0 Z50            (Z to retract Home Position)

Coolant Thru:  

M88 To coolant thru ON and M89 to Coolant thru OFF. these M-codes used for Through-the-spindle coolant in some of the machines, Coolant thru has the Different M-codes on Different machine; please check the machine manual to use in the CNC Programs. Coolant Thru always activates the coolant through the Spindle of the machine and through the Cutting Tool to the cutting surface. Normally this type of coolant to be used only for the tools designed for the thru coolant.

NOTE: Above indicated M-codes are only for some particular machine controllers to activate coolant.


NOTE: Before using any M-Codes for Coolants please refer the Machine user manual since every machine has its own M-codes defined by the machine manufacturer.


NOTE:  Status of the coolant is checked only at the start of a program, so a low coolant condition will not stop a running program.

coolant condition will not stop a running program.