587,999 active members*
2,064 visitors online*
Register for free
Login
Results 1 to 17 of 17
  1. #1
    Join Date
    Nov 2007
    Posts
    330

    G73/83 Reducing peck

    Hi all,

    Just to give you some info: Fadal 3016 with Fanuc 0i control.

    When using either G73 or G83 all works fine, execpt that I must use a Q value to state depth of each peck. Not a problem, but I want to be able to change the peck through the cycle, such as initial peck 10mm, reducing by 1mm per peck to a final peck of 5mm. According to the Fadal manual all should be ok by changing the Q to I, J and K values, but if I put this code in I get a confused motion on the machine. It goes to the R plane (as I specify), then drills the value set in the parameters 5114 or 5115 depending on if I'm using G73 or G83.

    FYI parameter 5101: 11010001 Not sure if that's of any use though!

    Having just read through the Fanuc manual, I don't know if I can even use this code, as there's plenty of reference to the Q peck depth, but not a thing about I, J and K.

    If anyone can help I'd appreciate it.

    Matt.

  2. #2
    Join Date
    Mar 2003
    Posts
    2932
    As far as I know, there isn't a reducing peck cycle on a Fanuc.

  3. #3
    Join Date
    Jun 2008
    Posts
    1511
    Fanuc does not have a cycle like this. I have only heard of this on the Haas machines. If you want to do this you have to either write the code long hand or write a macro to acheive this.

    Stevo

  4. #4
    Join Date
    Nov 2007
    Posts
    330
    Thanks for the help. It's a shame.

    I'd better start learning to write macros!

  5. #5
    Join Date
    Feb 2009
    Posts
    1
    Hi I am suraj i lost my parameter cnc takisawa tc2 with fanuc control ot plz. help me

  6. #6
    Join Date
    Jun 2008
    Posts
    1511
    Quote Originally Posted by surajsharma View Post
    Hi I am suraj i lost my parameter cnc takisawa tc2 with fanuc control ot plz. help me
    surajsharma,

    First you should probably post this in a new thread. People are not going to be looking to help you with lost parameters with a thread title of G73/G83 peck drilling cycle.

    As for your parameters you should contact the MTB they should have a copy or backup of your parameters. Check your power cabinet. The MTB usually puts a hard copy of the parameters and options in there for this reason. The only other option you have is if someone has the same make and model machine that you could get a copy from. That is another reason it will help to start a new thread with a new title.

    Stevo

  7. #7
    Join Date
    Jan 2006
    Posts
    4396
    Quote Originally Posted by stevo1 View Post
    Fanuc does not have a cycle like this. I have only heard of this on the Haas machines. If you want to do this you have to either write the code long hand or write a macro to acheive this.

    Stevo
    If you don't know how to write macros you can write a sub to do it. I have had to do this a few times for really deep holes. I used the 3-2-1 method. In other words 3x drill dia -2x drill dia- one x drill dai until the depth is achieved.
    Toby D.
    "Imagination and Memory are but one thing, but for divers considerations have divers names"
    Schwarzwald

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

    www.refractotech.com

  8. #8
    Join Date
    Nov 2007
    Posts
    330
    Thanks for all your answers.

    I think that writing the macro to do this is probably the best way.

    So all I need to do now is learn to write macros.......

    Any advice greatly received

    Matt.

    That's a bit lazy really, as I know there's a bunch of macro advice on this forum so I should do a search.

  9. #9
    Join Date
    Jan 2006
    Posts
    4396
    Quote Originally Posted by mattpatt View Post
    Thanks for all your answers.

    I think that writing the macro to do this is probably the best way.

    So all I need to do now is learn to write macros.......

    Any advice greatly received

    Matt.

    That's a bit lazy really, as I know there's a bunch of macro advice on this forum so I should do a search.
    There are books on Macros as well as helpful software.

    Macro B seems to be popular and NC Plot Software to prove it out.
    Toby D.
    "Imagination and Memory are but one thing, but for divers considerations have divers names"
    Schwarzwald

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

    www.refractotech.com

  10. #10
    Join Date
    Nov 2007
    Posts
    330
    Actually hovering over the 'buy it now' button for Peter Smid's book.

  11. #11
    Join Date
    Jan 2006
    Posts
    4396
    Quote Originally Posted by mattpatt View Post
    Actually hovering over the 'buy it now' button for Peter Smid's book.
    You might want to ask around a little more. I know his books are recommended by many but there might be something better.

    Are you sure your machine will use Macro B or is it Macro A?
    Toby D.
    "Imagination and Memory are but one thing, but for divers considerations have divers names"
    Schwarzwald

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

    www.refractotech.com

  12. #12
    Join Date
    Nov 2007
    Posts
    330
    Thanks for your concern. I have Macro B

  13. #13
    Join Date
    Jan 2006
    Posts
    4396
    Quote Originally Posted by mattpatt View Post
    Thanks for your concern. I have Macro B
    LOL, good.
    Toby D.
    "Imagination and Memory are but one thing, but for divers considerations have divers names"
    Schwarzwald

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

    www.refractotech.com

  14. #14
    Join Date
    Jun 2008
    Posts
    1511
    Quote Originally Posted by mattpatt View Post
    Thanks for your concern. I have Macro B
    Quote Originally Posted by tobyaxis View Post
    LOL, good.
    LMAO……Don’t worry Toby he’s got it covered

    Quote Originally Posted by mattpatt View Post
    Thanks for all your answers.

    I think that writing the macro to do this is probably the best way.

    So all I need to do now is learn to write macros.......

    Any advice greatly received

    Matt.

    That's a bit lazy really, as I know there's a bunch of macro advice on this forum so I should do a search.
    Matt,

    The best way to learn macros is to do by trial and error. I never bought any books on macro programming. I did however have very smart predecessors. I heard good and bad things about every book out there. I would start with any free books or data you can learn from. If that and asking questions here is not enough then maybe look at purchasing a book. It will take some time when learning but then it will hit you and start to make sense. Here are a few links to other threads discussing and giving examples of what you are trying to do.

    http://www.cnczone.com/forums/showthread.php?t=63449
    http://www.cnczone.com/forums/archiv...hp/t-7819.html

    Stevo

  15. #15
    Join Date
    Nov 2007
    Posts
    330
    Thanks all. I've taken this in as best I can and I will give it a bash the next time the machine is between jobs.

    I'm going to use this on a FADAL 3016 VMC with Fanuc 0i-MC control.

    I think I need to do something with the following program. I've highlighted where I think I have to change"

    %
    :9136(DEEP DRILL)
    IF[#6GE0]GOTO70
    G00W0. (No W on my machine. Change to a safe Z position?)
    #4=#5002
    #3=ABS[#3]
    #2=ABS[#2]
    IF[#19EQ98]GOTO1
    #19=99
    N1G#19F#9
    #27=ABS[#23]
    #28=ABS[#6]-ABS[#26]
    #29=ABS[#26]
    DO1
    IF[#27LE#3]GOTO2
    GOTO3
    N2#27=#3
    N3IF[#27GE#28]GOTO4
    G00Z[#2-#29]
    G1Z-[#29+#27]
    G00Z#4
    G4U#1 (Change to G4 X#1)
    #28=#28-#27
    #29=#29+#27
    #27=#27*.5
    END1
    N4G00Z[#2-#29]
    G1Z#6F#9
    G00Z#4
    M99
    N70#3000=1(K MUST BE NEGATIVE)
    %


    Anyway, I've had a bit of a look and I think I can understand what's going on. And I've got the Fanuc manual handy for the variable references.

    I'll suck it and see.

    Cheers,

    Matt.

  16. #16
    Join Date
    Jan 2007
    Posts
    161
    Quote Originally Posted by stevo1 View Post
    Fanuc does not have a cycle like this. I have only heard of this on the Haas machines. If you want to do this you have to either write the code long hand or write a macro to acheive this.

    Stevo
    Hey Stevo
    The Yasnac I-80 control has the deep hole drilling cycle and G12/G13 circle cutting features. Haas took the ball and really made these features popular. I have used both of these features on Matsuura and Haas machines
    _____________
    teamjnz

  17. #17
    Join Date
    Jun 2008
    Posts
    1511
    Thanks for the info. I have never run a Yasnac control. Good to know.

    Stevo

Similar Threads

  1. To Peck drill or not to peck dril.....
    By Crashmaster in forum MetalWork Discussion
    Replies: 20
    Last Post: 08-23-2008, 05:33 PM
  2. Reducing motor current requirement?
    By JerryB123 in forum Stepper Motors / Drives
    Replies: 2
    Last Post: 11-19-2007, 11:33 PM
  3. reducing output on psu.
    By thx1138 in forum CNC Machine Related Electronics
    Replies: 4
    Last Post: 09-17-2006, 09:47 PM
  4. Reducing amperage?
    By stdly in forum CNC Machine Related Electronics
    Replies: 17
    Last Post: 02-23-2006, 04:23 AM

Posting Permissions

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