cnc programing tutorials

Related Posts Plugin for WordPress, Blogger...

Thursday, June 3, 2010

M CODES used in CNC

# M00 - program stop
# M01 - optional stop using stop button
# M02 - end of program
# M03 - spindle on CW
# M04 - spindle on CCW
# M05 - spindle off
# M06 - tool change
# M07 - flood with coolant
# M08 - mist with coolant
# M08 - turn on accessory #1 (120VAC outlet) (Prolight Mill)
# M09 - coolant off
# M09 - turn off accessory #1 (120VAC outlet) (Prolight Mill)
# M10 - turn on accessory #2 (120VAC outlet) (Prolight Mill)
# M11 - turn off accessory #2 (120VAC outlet) (Prolight Mill) or tool change
# M17 - subroutine end
# M20 - tailstock back (EMCO Lathe)
# M20 - Chain to next program (Prolight Mill)
# M21 - tailstock forward (EMCO Lathe)
# M22 - Write current position to data file (Prolight Mill)
# M25 - open chuck (EMCO Lathe)
# M25 - set output #1 off (Prolight Mill)
# M26 - close chuck (EMCO Lathe)
# M26 - set output #1 on (Prolight Mill)
# M30 - end of tape (rewind)
# M35 - set output #2 off (Prolight Mill)
# M36 - set output #2 on (Prolight Mill)
# M38 - put stepper motors on low power standby (Prolight Mill)
# M47 - restart a program continuously, or a fixed number of times (Prolight Mill)
# M71 - puff blowing on (EMCO Lathe)
# M72 - puff blowing off (EMCO Lathe)
# M96 - compensate for rounded external curves
# M97 - compensate for sharp external curves
# M98 - subprogram call
# M99 - return from subprogram, jump instruction
# M101 - move x-axis home (Prolight Mill)
# M102 - move y-axis home (Prolight Mill)
# M103 - move z-axis home (Prolight Mill)

No comments:

Post a Comment