So not a Guru

Changing drill rpm at a point in progress

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.

Share this post


Link to post
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 🤣

Share this post


Link to post
Share on other sites

  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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

I just created a custom drill cycle. It was easier than I thought it would be.

Thanks for the replies!

Share this post


Link to post
Share on other sites

Custom drill cycles is the way to go. Unfortunately they are limited in number. I am already running out of them.

Share this post


Link to post
Share on other sites

Can someone explain how to create custom drill cycles? Like, is it done with MISC reals/ints or is it something done on the post level with the parameters of the control and such?

Share this post


Link to post
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).

Share this post


Link to post
Share on other sites

otherwise 3d contour with change at point works the trick.

Share this post


Link to post
Share on other sites

I still use this sample by John Paris for mine:

 

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
21 hours ago, myemail said:

You can create more by using Misc Integers as variable selectors.

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.

  • Haha 1

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

IMO, it should be user definable.  As in, how ever many you define in the post is how many are in the drop down.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • 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