Search This Blog

Thursday, November 13, 2014

"What is M00-M01 (Optional stop) M-CODE in CNC Programming"


M-Code M00-M01 (Optional stop):

The M00 code is used to stop a program. When the controller reads M00 in the program, it stops all the axes, spindle, turns off the coolant (including Through Spindle Coolant). In The next block after the M00 will be highlighted when viewed in the program editor so you can insert a comment for operator what to do when M00 Called. For example, comment to clean the chips or check the tool etc. Pressing Cycle Start button will continue program operation from the highlighted block after the operator has confirmed the note inserted.

M01 works the same as M00, except the Optional Stop button the machine control board must be on.
If no Optional Stop button is OFF on the controller board, then the machine will not stop when it reads M01.

NOTE: If anything very Important to stop the machine while program execution it is better to use M00 instead ofM01. Since if operator forgets to put ON the Optional stop Button then also the machine will stop at M00.

Example Program M00:


N170 G0 Z10.0
N171 M05 (Spindle Off)
N172 M00 (Clean the Chips)
N173 M03 S3000 (Turn ON the spindle)

Example Program M01:

N170 T6 M06
N171 G43 H6 (Call Tool Length offset)
N172 M01 (Check the tool for damage) (If operator has put new tool he may not switch ON Optional stop Button)
N173 M03 S3000 (Turn ON the spindle)

APT Command to insert in Your Program = STOP

8 comments:

  1. The article that you have shared and thanks for sharing the information with us.
    Power Press Machines in India | Heat Treatment Machines in India

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. not anything live all of the time. Then why to maintain identical patter of hard work over and over. Why to copy identical method for extraordinarily essay. Use range approach for extraordinary subjects because of the fact every trouble has its private which means that. hold such posts on. CNC machining

    ReplyDelete
  4. I cannot find my code number for optional on Amazon

    ReplyDelete
  5. helpful tips and tricks. Thank you

    ReplyDelete