587,396 active members*
3,590 visitors online*
Register for free
Login
Results 1 to 11 of 11
  1. #1
    Join Date
    Jul 2008
    Posts
    54

    Red face Deep Hole Drilling

    Hi All
    This is probably a no brainer to you clever people.
    I have a number of grease galleries to drill some shafts 5.5mm Drill X 90mm deep
    I need a example of some code do a drill retraction to clear the swarf

    I can peak drill with a G74 down to Z-30.00 fine but how do i go deeper and clear the swarf with a retraction to Z0.50 and rapid back to hole bottom

    With a G90 it rapids out fine but goes back into the hole at the programmed feed rate (takes ages)

    I'm running a Fanuc 6T Lathe

    Thanks
    Snow

  2. #2
    Join Date
    May 2004
    Posts
    4519
    I take it your lathe does not have G83 drilling cycle. Does it have custom macro capability? Do you have enough Z travel to clear the drill by its own length from the front of the part?

    There are many threads on CNCZone about deep drilling. Just look for them using the custom search box at the top right of the page.

  3. #3
    Join Date
    Jul 2008
    Posts
    54
    Quote Originally Posted by txcncman View Post
    I take it your lathe does not have G83 drilling cycle. Does it have custom macro capability? Do you have enough Z travel to clear the drill by its own length from the front of the part?

    There are many threads on CNCZone about deep drilling. Just look for them using the custom search box at the top right of the page.
    Sorry no G83. My machine is a oldie...Still a goodie thu

    Yes i can call a custom macro P(prg number) (M99 to return to the prgm that called it)

    Yes there is enough length in front of the workpiece

  4. #4
    Join Date
    May 2004
    Posts
    4519
    You can tackle this problem with a custom drill macro. Search some of the threads about drilling macro here on CNCZone.

    You can also do a sub program with looping to get full retraction. It is a little tricky but doable. In the main program you would put your sub call with repeat X times:

    G00 X0. Z0.1
    M98 P1000 L51
    G00 G90 Z0.1

    Then the sub would look something like:

    G01 G91 Z-0.1 F0.004
    G00 Z5.
    G00 Z-4.9
    G01 Z-0.1 F0.020
    M99

    The above should drill a hole 5.0 deep. It loops 51 times to account for the Z0.1 start point.

  5. #5
    Join Date
    Jul 2008
    Posts
    54
    Thank you!!!!!!!!!!!!!!!!!
    This is a massive help

  6. #6
    Join Date
    Feb 2006
    Posts
    1792
    A clever program indeed.

  7. #7
    Join Date
    May 2004
    Posts
    4519
    Thanks. But I did not invent it. Was taught by some old guy years ago.

  8. #8
    Join Date
    Jul 2008
    Posts
    54
    It's got that 'Kiss' thing written all over it

  9. #9
    Join Date
    Jan 2007
    Posts
    243
    Hi,
    try this Drill Pecking Calculator: Drill Peck Calculator
    www.WebMachinist.Net
    The Ultimate Online Source for Machinist Related Stuff!

  10. #10
    Join Date
    May 2007
    Posts
    1003
    Quote Originally Posted by Snowie View Post
    Yes i can call a custom macro P(prg number) (M99 to return to the prgm that called it)
    Not really sure I fully understand this statement. Yes you can call a macro program with a P, but the format for using a subprogram is exactly how you describe. It doesn't mean you have macro capability. Do you truly have Macro B? If you do, then I have a macro program to do what you want. Also should you have Macro B, will it accept an IF/THEN statement? My macro program would require modifying if not.

  11. #11
    Quote Originally Posted by txcncman View Post
    You can also do a sub program with looping to get full retraction. It is a little tricky but doable. In the main program you would put your sub call with repeat X times:

    G00 X0. Z0.1
    M98 P1000 L51
    G00 G90 Z0.1

    Then the sub would look something like:

    G01 G91 Z-0.1 F0.004
    G00 Z5.
    G00 Z-4.9
    G01 Z-0.1 F0.020
    M99

    The above should drill a hole 5.0 deep. It loops 51 times to account for the Z0.1 start point.
    Of course intelligent use of G91 always works, there are multiple such examples when Incremental programming helps solve very complex calculations.

    Helman
    cnc programming tutorials

Similar Threads

  1. Deep hole drilling
    By kalmah in forum MetalWork Discussion
    Replies: 9
    Last Post: 02-27-2013, 11:17 PM
  2. Deep Hole Drilling
    By Tornos100 in forum CNC Swiss Screw Machines
    Replies: 8
    Last Post: 02-27-2013, 10:57 PM
  3. Deep hole drilling
    By Veracity in forum MetalWork Discussion
    Replies: 7
    Last Post: 06-17-2011, 03:40 PM
  4. G83 deep hole drilling
    By mike852 in forum Community Club House
    Replies: 2
    Last Post: 02-08-2010, 07:34 PM

Tags for this Thread

Posting Permissions

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