603,970 active members*
2,755 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > Mastercam > M00 within cuts with same tool
Results 1 to 4 of 4
  1. #1

    M00 within cuts with same tool

    I find often myself needing to have an M00 in the middle of a tools cutting routine. An example of this would be cutting the left and right sides of a large plate then rotating the clamps and cutting the near and far edges. Any way of doing this easily? I've beeb using manual entry and editing after posting. One problem is that the start/end points end up different. Help o' gurus of the mcam. this is with mcam version 9 btw.

  2. #2
    Join Date
    Apr 2003
    Posts
    1876
    I use Misc Values/Integers to toggle a program stop. (0 = No, 1 = Yes)

    It gets output to the beginning of the operation you set it for. It also prompts you for a comment and adds it to the NC file if you put one in.

    In the post I created a function to handle the code..

    Code:
    pstop      # Stop routine
               pretract
               q3			#Stop Comment?
               stopcomment = ucase(stopcomment)
               if stopcomment = "", n, "M00", e
               if stopcomment <> "", n, "M00", "(", *stopcomment, ")", e
    #           n, "M00", e
               if wcstype > one, absinc = zero
               n, *spindle, *speed, pgear, strcantext,e
               pcan1, pbld, n, *sgcode, *sgabsinc, pwcs, pfxout, pfyout, *cabs, e
               pbld, n, "G43", *tlngno, pfzout, scoolant, next_tool, e
               absinc = sav_absinc
    and call pstop from the tool changes...

    Code:
    ptlchg0         #Call from NCI null tool change (tool number repeats)
          pcorner_round
          pchip_conveyor
          pforce_a_output
          pheader_comment
          pcuttype
          pcom_moveb
          toolcount = toolcount + 1
          prvtp = rbuf(3,toolcountp)
          if toolcountn <= tooltotal, nexttool = rbuf(4,toolcountn)
            else, nexttool = first_tool
          if mi10=one & op_id<>last_op_id, pstop
    Another more popular but not as robust option is to use Canned Text or Manual Entry. The results with these are not as good as customizing your own.
    Matt
    San Diego, Ca

    ___ o o o_
    [l_,[_____],
    l---L - □lllllll□-
    ( )_) ( )_)--)_)

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  3. #3
    Join Date
    Oct 2004
    Posts
    116
    Matt,
    Does anyone produce some good literature on modifying MCX posts?

  4. #4
    Join Date
    Mar 2005
    Posts
    215
    there really isn't any lit avaible for Mastercam X posts other than the parameter guide that comes with the X system. Other than that you can just use the V9 pdf post reference guide to answer your questions. What is it that you are trying to accomplish? Let us know and maybe we can help.

    AC

Posting Permissions

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