Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Changing drill rpm at a point in progress


So not a Guru
 Share

Recommended Posts

Is there a simple way to do this in MC (maybe using a point?)

On the rare occasions that we have to do porting ops, it can be necessary to run at one speed and feed, up until the reaming operation is done, then change the speed and or feed for the porting operation.

We also sometimes need to use one drill to start a hole and another to drill thru (gun drill style). In those instances the 2nd drill needs to be run at low RPM and feed, until it is safely in the hole, then the speed and feed increased for the actual cutting.

Link to comment
Share on other sites

A point path should do the trick. Since, as far as I can tell, you can't edit RPM in the toolpath editor, you'll probably need to create different operations for your different RPMs and select the depths to go to for each RPM/feed.

You can also set up a normal canned cycle to start where the drill is safely in the piloted hole with all retracts at incremental 0. Then put point paths before and after at lower feeds/speeds to safely enter and retract from the hole.

Another trick I've used for carbide drills is a 3D contour with a line along the drill axis going to the necessary depths. I'll typically set the start of the line at a point below the surface where the drill will be completely "captured"  and it will end at the full depth of the hole. Set plunge rate to the feed you want the drill to begin drilling to the start of the contour, and then it will take off from there at the cutting feed rate, however I don't think you'll be able to edit RPM this way.

I've done it each way I've described and they've all worked well, just depends on what you're trying to accomplish. The other option would be to probably create custom drill cycles, but where is the fun in that? Being creative is more fun 🤣

Link to comment
Share on other sites
7 hours ago, The Chipmaker said:

  We made a custom drill cycle for our gun drills. I just have to adjust line 175, 190 & 205.

 

 

N160M906T26
N165G00G17G90X0.Y10.151Z0.W0.
N170M01
N175S50M03
N180G43W14.875H26M08
N185X0.Y10.151
N190G1W11.937F2.
N195S485
N200G98G81W9.795R11.937F.75
N205G1W11.937F5.
N210S50
N215W14.875

If you made a custom drill cycle you could have used additional parameters to define those feed and never touch the posted code if that is what you meant by adjusting those lines of code.

Link to comment
Share on other sites

With all the new drilling tech (and not vary new) there should be a better canned cycle to start with. we should be able to control what is going on, master cam and the machine builders should work on this (adding a G383 drill cycle is easy what to put in it is hard).

Link to comment
Share on other sites

That doesn't go straight to the post, here it is courtesy John Paris:

Here's a gundrill cycle I added to my post..my be some food for thought

#----------------------------------------------------------------------------
#Gundrill variables           08/25/2015
#----------------------------------------------------------------------------
fmt  "S"   4  drill_speed
fmt  "Z"   2  start_hgt
fmt  "F"   15 drill_feed
fmt  "Z"   2  clr_hght
fmt  "Z"   2  rpd_ht

 

 

pgundrill   # Custom Gun Drill cycle  08/25/2015
      #~drillcyc$, e$
      pdrlcommonb
      #########################
      #Gundrill variable definition settings
      #########################
      drill_speed = dwell$
      start_hgt = peck1$ + 0.1
      drill_feed = peck2$
      clr_hght = initht$
      rpd_ht = refht$
      speed = 50
      spdir2 = 0
      #########################
      #Gundrill Cycle
      #########################
      pbld, n$, *rpd_ht, e$
      pbld, *sg01, *start_hgt, *feed, e$
      pbld, n$, sm05, e$
      pbld, "M51" "(HIGH PRESSURE COOLANT ON)", e$
      pbld, *drill_speed, *sm03, e$
      pbld, n$, "G04", "P2000", e$
      pcan1, pbld, n$, *sg01, pxout, pyout, pfzout, *drill_feed, strcantext, e$
      pbld, n$, *sm05, e$
      pbld, n$, *sg00, *start_hgt, e$
      pbld, n$, *speed, *spindle, e$
      pbld, n$, *sm09, "(HIGH PRESSURE COOLANT OFF)", e$
      pbld, n$, sg00, *clr_hght, e$
      pbld, n$, "(END GUNDRILL CYCLE)", e$
      pbld, n$, "()", e$
      pcom_movea

 

pgundrill_2   # Custom Gun Drill cycle  Modified 10/02/15
      #~drillcyc$, e$
      pdrlcommonb
      #########################
      #Gundrill variable definition settings
      #########################
      drill_speed = dwell$
      start_hgt = peck1$ + 0.1
      drill_feed = peck2$
      clr_hght = initht$
      rpd_ht = refht$
      speed = 50
      spdir2 = 0
      #########################
      #Gundrill Cycle
      #########################
      pcan1, pbld, n$, *sg00, sgabsinc, pwcs, pxout, pyout, e$
      pbld, n$, *rpd_ht, e$
      pbld, *sg01, *start_hgt, *feed, e$
      pbld, n$, sm05, e$
      pbld, "M51" "(HIGH PRESSURE COOLANT ON)", e$
      pbld, *drill_speed, *sm03, e$
      pbld, n$, "G04", "P2000", e$
      pbld, n$, pfzout, *drill_feed, strcantext, e$
      pbld, n$, *sm05, e$
      pbld, n$, *sg00, *start_hgt, e$
      pbld, n$, *speed, *spindle, e$
      pbld, n$, *sm09, "(HIGH PRESSURE COOLANT OFF)", e$
      pbld, n$, sg00, *clr_hght, e$
      pbld, n$, "(END GUNDRILL CYCLE)", e$
      pbld, n$, "()", e$
      pcom_movea

 

pdrlcst$         #Custom drill cycles 9 - 19 (user option)
      #Use this postblock to customize drilling cycles 9 - 19
      if drillcyc$ = 8, pgundrill
      if drillcyc$ > 8, pdrlcst8

Link to comment
Share on other sites
19 minutes ago, SlaveCam said:

Sure there are many workarounds, but most of them count as hack in my book. Why not just remove the limit? We're not in 80s using 640KB of memory any more.

and for me, hack, workaround, whatever, I just get the job done with the tools I have...

If they(CNC) modify it, great, if not, no sweat....show up and cut it

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...