Thread: peck drilling on mach 3
-
18-02-2018 #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 cars
RC helicopters
Motorbikes
Renovating an entire house
Twatter: @CrazyLThirteen
Insta: CrazyLThirteen
-
18-02-2018 #2
-
19-02-2018 #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
-
19-02-2018 #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.
-
19-02-2018 #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,
NickLast 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
-
19-02-2018 #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.
-
19-02-2018 #7
G80 usually cancels canned cycles
-
19-02-2018 #8
-
19-02-2018 #9
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.
-
The Following User Says Thank You to Neale For This Useful Post:
-
19-02-2018 #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.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
G Code For Drilling Circle
By dakes55 in forum Programmers CornerReplies: 0Last Post: 07-10-2016, 08:02 PM -
Drilling Ø0.2mm holes on aluminium
By hoezap in forum Metalwork DiscussionReplies: 5Last Post: 09-04-2016, 06:28 PM -
RFQ: CNC drilling/tapping
By Wal in forum Projects, Jobs & RequestsReplies: 2Last Post: 17-11-2013, 07:13 PM -
drilling brass?
By irving2008 in forum Metalwork DiscussionReplies: 23Last Post: 04-08-2012, 03:56 PM -
Drilling Acrylic with CamBam
By m.marino in forum Machine DiscussionReplies: 2Last Post: 06-06-2012, 04:45 PM
Bookmarks