587,386 active members*
3,690 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > Mastercam > how to output a stop (M0) after a tool?
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2008
    Posts
    4

    how to output a stop (M0) after a tool?

    1.I want to output a full (non-optional - M0) stop after a tool to move some clamps. I can't see how to do this other than manual edit after I post. I want it to output automatically, so if I go back to this program later and change something, and then repost, the full stop (preferably with comment to move the clamps) will be there.
    2. A slight modification on 1 above, I would like to output a full stop during a single tool, for example after several operations, but before the rest of the operations of the same tool. I want the code to send the tool to the tool change position (preferably some position I can specify), stop the spindle, and read a M0, hopefully with comment to move the clamp. Then start up again, with spindle on, picking up the H code, fixture offset, etc., just like the normal start of a tool. Currently I program in a dummy tool to do one short dummy drill op where I want the stop, then manually edit the program to delete the dummy tool and add the full (M0) stop. The problem is that I might not remember to do this if I have to edit the part file for a new revision later. I really want all this to be in my part program and just come out right. Is this possible? Thanks for any help

  2. #2
    Use toolpath/manual entry. You can type in a zero return command to make the spindle retract for example:
    G91G28Z0
    M0
    Y8.

    make sure the radio button in the dialog box says output as code.
    Then in the next toolpath operation, on the toolpath parameters page, check the box that says force tool change. Since that tool is already in the spindle, there will not be a tool change, but it will outout your insurance line, spindle on, recall offsets etc. It works great.

  3. #3
    Join Date
    Feb 2007
    Posts
    464
    Go to Tool parameters.
    Check Canned text.
    Click on Canned text and add 1.Stop Before,With or After
    Stefan Vendin

  4. #4
    Join Date
    Mar 2008
    Posts
    377
    I would think also your machine controller would have a on /off optional stop
    button

  5. #5
    Join Date
    Jul 2008
    Posts
    139

    Smile

    Sounds like a good place for a manual entry.

    V9--There is a check box to output as 1005 or 1006 gcode.
    X--There is a check box to output as comment or as code.

    1005 should output in ( )
    1006 should not.

    If they both ouput in ( ). The post needs to be edited to remove the brackets from pcomment2 section.

    If you need help I can make the change for you. Just post your "post".

    Canned text can also be used. A value of 1 should output an M00 in most generic postprocessors.

Similar Threads

  1. What G Code to Stop for Tool Change?
    By teamtexas in forum G-Code Programing
    Replies: 1
    Last Post: 09-10-2008, 02:12 AM
  2. Tool Change - Can I set it to auto stop?
    By inthezone in forum Fanuc
    Replies: 16
    Last Post: 01-23-2008, 12:56 AM
  3. SL-40 Tool for a Stop (Code)?
    By rapidtraverse in forum Haas Lathes
    Replies: 11
    Last Post: 01-06-2008, 09:06 PM
  4. Parallel pin 01 - E-stop use as Input or output?
    By mike944 in forum LinuxCNC (formerly EMC2)
    Replies: 2
    Last Post: 12-03-2007, 03:39 PM
  5. ABOUT stop for tool inspection
    By marto74 in forum Haas Mills
    Replies: 9
    Last Post: 11-21-2004, 01:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •