M CODE
|
DESCRIPTION
|
USE IN
|
M00
|
Program stop
|
Lathe& Milling
|
M01
|
Optional code for program stop
|
Lathe& Milling
|
M02
|
End of program
|
Lathe& Milling
|
M03
|
Spindle start clockwise
|
Lathe& Milling
|
M04
|
Spindle start counter clockwise
|
Lathe& Milling
|
M05
|
Spindle stop (cancel M03 & M04)
|
Lathe& Milling
|
M06
|
Tool change command
|
Milling
|
M08
|
Coolant ON
|
Lathe& Milling
|
M09
|
Coolant OFF
|
Lathe& Milling
|
M10
|
Chuck clamp
|
Lathe
|
M10
|
4th axis break ON
|
Milling
|
M11
|
Chuck unclamp
|
Lathe
|
M11
|
4th axis break release
|
Milling
|
M12
|
Auto air jet ON
|
Lathe
|
M12
|
5th axis break ON
|
Milling
|
M13
|
Auto air jet OFF
|
Lathe
|
M13
|
5th axis break release
|
Milling
|
M14
|
Main spindle clamp
|
Lathe
|
M15
|
Main spindle unclamp
|
Lathe
|
M16
|
Tool change command
|
Milling
|
M17
|
Rotate turret forward
|
Lathe
|
M18
|
Rotate turret reverse
|
Lathe
|
M17
|
APC Pallet Unclamp
and Open APC Door
|
Milling
|
M18
|
APC Pallet clamp and
close APC Door
|
Milling
|
M19
|
Orient spindle (P,R)
|
Lathe& Milling
|
M21
|
Tailstock advance
|
Lathe
|
M22
|
Tailstock retract
|
Lathe
|
M21
|
Interface with - fin signals (optional user Mcode)
|
Milling
|
M23
|
Angle out of thread ON
|
Lathe
|
M24
|
Angle of thread OFF
|
Lathe
|
M25
|
Interface with - fin signals optional user M code
|
Lathe
|
M28
|
Interface with - fin signals optional user M code
|
Lathe& Milling
|
M30
|
Main program end & reset
|
Lathe& Milling
|
M31
|
Chip auger forward
|
Lathe& Milling
|
M32
|
Chip auger reverse
|
Lathe& Milling
|
M33
|
Chip auger stop
|
Lathe& Milling
|
M34
|
Coolant spigot position down , increament (+1)
|
Milling
|
M35
|
Coolant spigot position up , increament (-1)
|
Milling
|
M36
|
Part catcher ON
|
Lathe
|
M37
|
Part catcher OFF
|
Lathe
|
M36
|
Pallet part ready
|
Milling
|
M38
|
Specify spindle variation ON
|
Lathe
|
M39
|
Specify spindle variation OFF
|
Lathe
|
M39
|
Rotate tool turret
|
Milling
|
M41
|
Spindle low gear override
|
Lathe& Milling
|
M42
|
Spindle high gear override
|
Lathe& Milling
|
M43
|
Turret unlock
|
Lathe
|
M44
|
Turret lock
|
Lathe
|
M50
|
Execute pallet change
|
Milling
|
M51-M58
|
Optional user M code set
|
Lathe& Milling
|
M59
|
Output relay set
|
Lathe& Milling
|
M61-M68
|
Optional User M Code
Clear
|
Lathe& Milling
|
M69
|
Output relay clear
|
Lathe& Milling
|
M75
|
Set G35 or G136
Reference Point
|
Milling
|
M76
|
Control display
inactive
|
Lathe& Milling
|
M77
|
Control display
active
|
Lathe& Milling
|
M78
|
Alaram if skip signal
found
|
Lathe& Milling
|
M79
|
Alaram if skip signal
not found
|
Lathe& Milling
|
M80
|
Automatic door open
|
Milling
|
M81
|
Automatic door close
|
Milling
|
M82
|
Tool unclamp
|
Milling
|
M83
|
Auto air jet ON
|
Milling
|
M84
|
Auto air jet OFF
|
Milling
|
M85
|
Automatic door open
|
Lathe
|
M86
|
Automatic door close
|
Lathe
|
M86
|
Tool clamp
|
Milling
|
M88
|
High pressure coolant
ON
|
Lathe& Milling
|
M89
|
High pressure coolant
OFF
|
Lathe& Milling
|
M93
|
Axis position capture
start
|
Lathe& Milling
|
M94
|
Axis position capture
stop
|
Lathe& Milling
|
M95
|
Sleep mode
|
Lathe& Milling
|
M96
|
Jump if no input
|
Lathe& Milling
|
M97
|
Local sub program
call
|
Lathe& Milling
|
M98
|
Sub program call
|
Lathe& Milling
|
M99
|
Sub program /Routine
return/ Loop program
|
Lathe& Milling
|
M101
|
MOM (minimum oil
machining ) canned cycle mode (I)
|
Milling
|
M102
|
MOM (minimum oil
machining) mode (I , J)
|
Milling
|
M103
|
MOM (minimum oil
machining) mode CANCEL
|
Milling
|
M109
|
Interactive user
input
|
Lathe& Milling
|
M110
|
Tailstock chuck clamp
|
Lathe
|
M111
|
Tailstock chuck
unclamp
|
Lathe
|
M119
|
Sub spindle orient
|
Lathe
|
M21-M28
|
Optional user M code
interface with M-Fin Signal
|
Lathe
|
M133
|
Live tool drive
forward
|
Lathe
|
M134
|
Live tool drive
reverse
|
Lathe
|
M135
|
Live tool drive stop
|
Lathe
|
M143
|
Sub spindle forward
|
Lathe
|
M144
|
Sub spindle reverse
|
Lathe
|
M145
|
Sub spindle stop
|
Lathe
|
M154
|
C axis engage
|
Lathe
|
M155
|
C axis disengage
|
Lathe
|
M164
|
Rotate APL grippers
to “n” position
|
Lathe
M165
Open APL gripper 1
(Raw Material)
Lathe
M166
Close APL gripper 1
(Raw Material)
Lathe
M167
Open APL gripper 2
(finish material)
Lathe
M168
Close APL gripper 2
(finish material)
Lathe
HAAS CNC M-CODE LIST FOR LATHE & MILLING
Reviewed by www.cncknowledge.in
on
May 04, 2020
Rating: