Heidenhain M Codes

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Heidenhain M Codes

M
Code Description

M0 Stop program run (Spindle STOP, Coolant OFF)

M1 Optional program STOP (Spindle STOP, Coolant OFF)

Stop program run (Spindle STOP,Coolant OFF,Go to block 1,Clear the status
M2 display(depending on machine parameter))

M3 Spindle ON clockwise

M4 Spindle ON counterclockwise

M5 Spindle STOP

Tool change (STOP program run (depending on machine parameter),Spindle


M6 STOP)

M8 Coolant ON

M9 Coolant OFF

M13 Spindle ON clockwise (Coolant ON)

M14 Spindle ON counterclockwise (Coolant ON)

M30 Same as M2

Vacant miscellaneous function or Cycle call, modally effective (depending on


M89 machine parameter)

M91 Within the positioning block: Coordinates are referenced to machine datum

Within the positioning block: Coordinates are referenced to position defined by


M92 machine tool builder, such as tool change position

M94 Reduce the rotary axis display to a value below 360°

M97 Machine small contour steps

M98 Machine open contours completely

M99 Blockwise cycle call (Cycle call, NON-MODAL)

M101 Automatic tool change with replacement tool if maximum tool life has expired

M102 Reset M101

M103 Reduce feed rate during plunging to factor F (percentage)

M104 Reactivate the datum as last defined

M105 Machining with second kv factor

M106 Machining with first kv factor


M107 Suppress error message for replacement tools with oversize

M108 Reset M107

M109 Constant contouring speed at tool cutting edge (increase and decrease feed rate)

M110 Constant contouring speed at tool cutting edge (feed rate decrease only)

M111 Reset M109/M110

M112 Enter contour transition between two contour elements

M113 Reset M112

M114 Automatic compensation of machine geometry when working with tilted axes

M115 Reset M114

M116 Feed rate for rotary axes in mm/min

M117 Reset M116

M118 Superimpose handwheel positioning during program run

M120 Pre-calculate radius-compensated contour (LOOK AHEAD)

M124 Contour filter

M126 Shortest-path traverse of rotary axes

M127 Reset M126

M128 Retain the position of the tool tip when positioning the tilted axes (TCPM)

M129 Reset M128

M130 Moving to position in an untilted coordinate system with a tilted working plane

Exact stop at nontangential contour transitions when positioning with rotary


M134 axes

M135 Reset M134

M136 Feed rate F in millimeters per spindle revolution

M137 Reset M136

M138 Selection of tilted axes

M140 Retraction from the contour in the tool-axis direction

M141 Suppress touch probe monitoring

M142 Delete modal program information

M143 Delete basic rotation

Compensating the machine’s kinematics configuration for


M144 ACTUAL/NOMINAL positions at end of block

M145 Reset M144


M148 Retract the tool automatically from the contour at NC stop

M149 Reset M148

M150 Suppress limit switch message

M200 Laser cutting: Output programmed voltage directly

M201 Laser cutting: Output voltage as a function of distance

M202 Laser cutting: Output voltage as a function of speed

M203 Laser cutting: Output voltage as a function of time (ramp)

M204 Laser cutting: Output voltage as a function of time (pulse)

You might also like