Results 1 to 4 of 4

Thread: M00 within cuts with same tool

  1. #1
    Registered
    Join Date
    Nov 2005
    Location
    usa
    Posts
    60
    Downloads
    0
    Uploads
    0

    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
    Registered Rekd's Avatar
    Join Date
    Apr 2003
    Location
    teh Debug Window
    Posts
    1,876
    Downloads
    0
    Uploads
    0
    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
    Registered dmealer's Avatar
    Join Date
    Oct 2004
    Location
    USA
    Posts
    116
    Downloads
    0
    Uploads
    0
    Matt,
    Does anyone produce some good literature on modifying MCX posts?


  4. #4
    Registered Alex_Cole's Avatar
    Join Date
    Mar 2005
    Location
    usa
    Posts
    213
    Downloads
    0
    Uploads
    0
    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


 


About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.