Results 1 to 5 of 5

Thread: Fanuc drill macro with variable depth and fixed retract point

  1. #1
    Registered
    Join Date
    Mar 2007
    Location
    USA
    Posts
    10
    Downloads
    0
    Uploads
    0

    Fanuc drill macro with variable depth and fixed retract point

    At our shop we have a lengthy program that especially causes issues on our gildemeister lathe as it lacks memory to keep using it and keep your programs stored. I assume as it was written with CAM, and it rapids to .02 clearance above last peck, drills to a certain depth every time, and rapids back to .1 out of the part, and repeats. It's a royal pain to have to edit the program to get the desired depth each time, and eats a ton of memory. I'm currently reading up on macros, but haven't yet discovered if it was possible to create a macro that could be called up like the regular cycle, but rather than retract .020 above then peck more, could one be written to do like the lengthy program does, but remain flexible enough to easily change the depths of the holes? Thanks.


  2. #2
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2,502
    Downloads
    0
    Uploads
    0
    Sounds like a plain old G83 cycle. You might try this in MDI just to see...

    G97 S500 M03
    G83 W-2.0 R0 Q1500 F0.008


  3. #3
    Registered padobranac's Avatar
    Join Date
    Mar 2006
    Location
    Croatia
    Posts
    107
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by dcoupar View Post
    Sounds like a plain old G83 cycle. You might try this in MDI just to see...

    G97 S500 M03
    G83 W-2.0 R0 Q1500 F0.008
    Maybe Z-2.0 instead of W-2.0

    BTW, macro could be called through M/G/T code as I know, you have parameters to set that.
    Attached Thumbnails Attached Thumbnails Fanuc drill macro with variable depth and fixed retract point-untitled.jpg  
    Sorry for bad english


  4. #4
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2,502
    Downloads
    0
    Uploads
    0
    Either W or Z should work. W is incremental Z.


  • #5
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    18,961
    Downloads
    0
    Uploads
    0
    Here is also a drill macro that may come in handy.
    Al.
    Attached Thumbnails Attached Thumbnails Fanuc drill macro with variable depth and fixed retract point-drill_peck_macro2.jpg   Fanuc drill macro with variable depth and fixed retract point-drill_peck_macro.jpg  
    CNC, Mechatronics Integration and Custom Machine Design (Skype Avail).

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  • Similar Threads

    1. Center Drill Drill Depth
      By bowersjack in forum General Metalwork Discussion
      Replies: 9
      Last Post: 09-04-2012, 01:20 PM
    2. Removal of the drill press depth stop threaded rod
      By devinchi in forum Shopmaster/Shoptask
      Replies: 4
      Last Post: 03-14-2010, 10:10 AM
    3. Macro variable example I programmed today.
      By theemudracer in forum G-Code Programing
      Replies: 1
      Last Post: 03-07-2007, 09:50 PM
    4. Macro variable for current tool diam ?
      By Shizzlemah in forum Fadal
      Replies: 3
      Last Post: 10-30-2006, 09:47 AM
    5. Problem with drill depth
      By Alan S in forum Post Processors for MC
      Replies: 2
      Last Post: 11-03-2005, 03:23 AM

    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.