1. #1
    Hi guys

    Quick question. I have a small desktop mill running Mach 3 and when I wrote a small prog earlier using G83, with 4 holes to drill, it drilled the 1st one, but simply went to the next positions without drilling in those positions.

    Any ideas on what I'm missing here? Cheers guys.
    RC
    Motorbikes
    Being chained to the bed
    Twatter: @CrazyLThirteen
    Insta: CrazyLThirteen

  2. #2
    Quote Originally Posted by Crazy L View Post
    Hi guys

    Quick question. I have a small desktop mill running Mach 3 and when I wrote a small prog earlier using G83, with 4 holes to drill, it drilled the 1st one, but simply went to the next positions without drilling in those positions.

    Any ideas on what I'm missing here? Cheers guys.
    Need to see the code.!!

  3. #3
    A thought did strike me, could be irrelevant but if the code is good, what Version of Mach3 are you using?
    You think that's too expensive? You're not a Model Engineer are you? :D

  4. #4
    Hi guys, code is thus:

    G0 X-12.5 Y0.
    G83 G98 Z-9. R2. Q1. F50
    G0 X0. Y12.5
    X12.5 Y0.
    X0. Y-12.5

    Like I said, goes to position and drills 1st hole, not the other 3.

    No idea what version I'm running tbh and can't find out until I get home tonight, it was on the pc when I bought it as a running machine.

  5. #5
    You've put a G0 on line 3 of that code
    It shouldn't be there, just X/Y coordinates for further points at which to peck drill.
    I believe there is also a specific G code to define the end of the canned cycle but would have to look that up,
    Regards,
    Nick
    Last edited by magicniner; 19-02-2018 at 02:42 PM.
    You think that's too expensive? You're not a Model Engineer are you? :D

  6. #6
    Ok thanks, but I'm not sure if that G0 is there in reality as I'm only trying to recall what I have written.

    If I have left it there I shall delete it and see where it gets me. Many thanks.

    I use heidenhain at work and have not touched fanuc in 10 years so Im a bit rusty.
    Last edited by Crazy L; 19-02-2018 at 02:46 PM.

  7. #7
    G80 usually cancels canned cycles

  8. #8
    Quote Originally Posted by Crazy L View Post
    Ok thanks, but I'm not sure if that G0 is there in reality as I'm only trying to recall what I have written.

    If I have left it there I shall delete it and see where it gets me. Many thanks.

    I use heidenhain at work and have not touched fanuc in 10 years so Im a bit rusty.
    Without the line 3 G0 it works on my test copy of Mach3 - I have a clone of my live Mach3 install and config on my laptop (less the PP driver and limit/home switch config), it's Mach3 R3.043.062
    You think that's too expensive? You're not a Model Engineer are you? :D

  9. #9
    Neale's Avatar
    Lives in Plymouth, United Kingdom. Last Activity: 9 Hours Ago Has been a member for 5-6 years. Has a total post count of 1,193. Received thanks 221 times, giving thanks to others 5 times.
    The reason for the problem is that the 2nd set of coordinates is given with a G0, and the next two sets do not have any "G" command. Giving a set of coordinates without a "G" command means "repeat the last G0/G1/G83/whatever using these coordinates". So you move to the second location using G0, do nothing there, and then, in effect, do two more G0 commands. Nick is quite right - drop the G0 in line 3 but leave the coordinates as given, and you will then execute the three further peck drill cycles. Don't need to bother with ending the cycle.

  10. The Following User Says Thank You to Neale For This Useful Post:


  11. #10
    Hey guys, came home and fired up the pc to have a nosey at my prog, and yes, there was a G0 in there. I have removed it and it drills all the holes now. Ta muchly chaps.

    After 12 hrs of cutting metal, its now time to...cut metal.

Similar Threads

  1. G Code For Drilling Circle
    By dakes55 in forum Programmers Corner
    Replies: 0
    Last Post: 07-10-2016, 08:02 PM
  2. Drilling 0.2mm holes on aluminium
    By hoezap in forum Metalwork Discussion
    Replies: 5
    Last Post: 09-04-2016, 06:28 PM
  3. RFQ: CNC drilling/tapping
    By Wal in forum Projects, Jobs & Requests
    Replies: 2
    Last Post: 17-11-2013, 07:13 PM
  4. drilling brass?
    By irving2008 in forum Metalwork Discussion
    Replies: 23
    Last Post: 04-08-2012, 03:56 PM
  5. Drilling Acrylic with CamBam
    By m.marino in forum Machine Discussion
    Replies: 2
    Last Post: 06-06-2012, 04:45 PM

Bookmarks

Posting Permissions

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