G83 Peck Drilling Program

Category : Beginners Fanuc

G83 Peck Drilling Program Example

G83 Peck Drilling Program, G83 is a deep hole peck drilling canned cycle.

Cycle G83 drills holes breaks up the chips as it goes. It fully retracts from the hole after each peck.

This simple part has four M12 holes drilled countersunk and tapped. The datum is the centre of the part so the holes positions are.

X55. Y55.
X-55. Y55.
X-55. Y-55.
X55. Y-55.

G83 Peck Drilling Program

G83 Peck Drilling Program

Here is the CNC code

G83 Peck Drilling Program

The machine first moves to X-55. Y-55. and rapids the Z axis to 3mm above the part.

G83 Peck Drilling Program

It then rapids the Z axis down to 1mm above the part R1.

The G83 Cycle instructs it to drill a hole 17.5mm deep (Z-17.5) at a feed of 200mm per minute (F200.) 

The Q2. tells the machine to drill the hole in 2mm steps. After each step it retracts to the surface of the part.

This allows all the chips or powder to come out of the hole after each cut. It also allows the drill to cool.

As it drills the depth increases by 2mm each time.

When the hole is done it rapids back to the initial point (Z3.) This was in the line

G83 Peck Drilling Program

This is because of the G98.

If it were G99 it would return to 1mm above the job (R1.)

See explanation of G98 and G99

Once the cycle is active each time it sees a position it repeats the drilling process.

When the G80 is programmed it no longer drills holes.

Now watch the video to see it all in action.

G83 Drilling Program Example

More G83 stuff from Haas

Thanks

If you have been affected by any of the issues in this post or need CNC Counselling then contact me.

If you want to learn to program CNC Milling Machines

Look no further Contact CNC Training Centre

 

 

 


G73 Peck Drilling Example (Canned Cycle)

G73 Peck Drilling Example

G73 is a peck drilling canned cycle.

This cycle drills holes and breaks up the chips as it goes. It does not fully retract from the hole.

It retracts just enough to break the chips up.

This simple part has four M12 holes drilled countersunk and tapped. The datum is the centre of the part so the holes positions are.

X55. Y55.
X-55. Y55.
X-55. Y-55.
X55. Y-55.

G73 Peck Drilling Example

Here is the CNC code (G73 Peck Drilling Example)

G73 Peck Drilling Example

The machine first moves to X-55. Y-55. and rapids the Z axis to 3mm above the part.

 

G73 Peck Drilling Program Example

It then rapids the Z axis down to 1mm above the part R1.

The G73 Cycle instructs it to drill a hole 17.5mm deep (Z-17.5) at a feed of 200mm per minute (F200.) 

The Q2. tells the machine to drill the hole in 2mm steps. After each step it retracts a small amount to break up the chips from the drilling.

As it drills the depth increases by 2mm each time.

When the hole is done it rapids back to the initial point (Z3.) This was in the line

G73 Peck Drilling Program Example

This is because of the G98.

If it were G99 it would return to 1mm above the job (R1.)

See explanation of G98 and G99

Once the cycle is active each time it sees a position it repeats the drilling process.

When the G80 is programmed it no longer drills holes.

Now watch the video to see it all in action (G73 Peck Drilling Example)

G73 Drilling Example

Haas G73 example

Thanks

If you have been affected by any of the issues in this post or need CNC Counselling then contact me.

If you want to learn to program CNC Milling Machines

Look no further Contact CNC Training Centre

 

 

 


CNC Tooling Spot Drill Centre Drill

Category : Tooling Useful Stuff

CNC Tooling

Spot Drill Centre Drill Spot The Difference

Now if you already know then:

GET SOME WORK DONE

You don’t need to waste your time reading all this bollocks.

CNC Tooling

Spot The Difference

Now Let’s Talk About Centre Drills

They come in various sizes designated by a BS number.

BS1 to BS6

BS6 being big.

Anyway BS1 is 1/8″ diameter and BS6 weighs in at a massive 5/8″and a government health warning.

CNC Tooling

There is only one reason why you would use a centre drill and that is if you require clearance for a centre.

CNC Tooling

If you have a long part and you wish to support it with a tailstock then you need clearance for the point of the centre.

If you used a spot drill the point would touch before the sides.

CNC Tooling

If the part is going to be ground then it will most likely be held between two centres.

CNC Tooling

 

CNC Tooling

Now the big problem with centre drills is that in order to clear the point of your centre they have to have that little point (pilot) on the end.

And these little bastard break off. Oh and if your turret on your lathe is not aligned properly, you got no chance.

A BS1 centre drill has a pilot that’s just .64mm in diameter!!!!!

As soon as it makes contact you’ll see it wandering aimlessly around like a drunk teenager in Birmingham on a Saturday night.

Carry on now and it will snap off and if your having a shit day it will lodge itself in the part. You’ll need a neutron bomb to get it out.

So let’s move on and stop talking about these annoying little beasts.

Rule Number 1 only use them if you have to.

Rule Number 2 only use them if you really have to.

Rule Number 3 only use them if you really really have to.

CNC Tooling Spot Drills

Now these again come in various sizes a much bigger range from 2mm to 20mm and you get a 120 degree point or a 90 degree point.

B & Q are great for all kinds of DIY products (free add). But whatever you do don’t use the drills for serious engineering.

CNC Tooling

Shelves, building kitchen units, making the misses a Jewelry Box. They are fantastic, but not if you want to be a serious grown up engineer and play with the big boys.

So lets bin all the shitty cheap HSS drills and buy some decent stuff. Oh by the way don’t blame me if your boss says “dream on”

Why Am I Saying This

Well because modern drills are amazing.

They hold accurate size.

Don’t need a spot drill.

Really super fast.

Last longer.

Oh did I mention they are bloody expensive.

Centre Drill

Now with HSS drills you can buy thousands of em for a fiver and still have change to buy Robbie Williams concert tickets.

Authors Note

Please don’t read any of my articles if you like Robbie Williams, it means your a twat. Now Robin Williams, that’s totally different. Don’t you just love “Mrs Doubtfire” my favourite film.

Drills Drills More About Drills

But good quality modern drills are expensive. The good news is they easily pay for themselves. You need to treat them carefully because if they are carbide then they can chip and smash easily. You know in that James Bond movie where he is disarming a nuclear bomb? Well treat them like that and you’ll be just fine.

CNC Tooling

Anyway that’s not what this article is about.

CNC Tooling Centre Drill

A centre drill has a 60 degree point which is not good to start a drill. With a spot drill you can get a 120 degree point which is roughly the same as your drill point so it gives the drill a great start.

The drill won’t wander but if you heed my advice and use a super duper new drill then it will drill perfectly without any spot drill.

Spot Drill Last

I would always  use good quality CNC Tooling.

Use a good quality modern drill and then use a 90 degree point spot drill after to chamfer your holes.

This means you can rapid the spot drill right into the hole and then feed in just a tiny amount to create the chamfer.

Spot Drills The Good Bit

You can deburr with a spot drill. Just program it to go around your shape and put a nice clean chamfer around you part.

CNC Tooling Conclusion Spot Drill Centre Drill

Always use good quality CNC Tooling

Use a centre drill only if you have to.

Make sure your turret is aligned on a CNC Lathe.

Centre drills are for centre locations on long or ground parts.

Centre drills are for grinding between centres

Spot drill can be same angle as drill.

Spot drill after drilling.

Use spot drills to deburr parts.

Thanks

If you have been affected by any of the issues in this post or need CNC Counselling then contact me.

If you want to learn to program CNC Milling Machines

Look no further Contact CNC Training Centre


G94 Facing Example (Sample Program)

G94 Facing Example

G94 Facing Program Example

G94 Facing Example

:Blank Size: 65mm Diameter 85mm Long

:Final Size: 65mm Diameter 82mm Long

This program will rapid to X66. Z3. it will then machine the face down to Z0 in three cuts. The first G94 line tells it to face past centreline to X-1.6 at a feed-rate of F.2 The Z axis moves to Z2.

Cuts
1: Z2.
2: Z1.
3: Z0

The cycle stays in the control until cancelled by a G0 rapid command.

So it remembers exactly what you told it, a bit like my wife, she keeps reminding me of the time I got so hammered I pissed in her wardrobe (some of the shoes still smell to this day).

The G0 G28 U0 W0 will move the turret back to machine reference point.

The G0 will cancel the G94 Facing cycle.

G94 Facing Example Is It Any Good?

Well personally I think it is.

Now I’ll tell you why. You could say it’s really easy to write the program to face a part.

G0 X50. Z0
G1 X-1.6 F.2
G0 X50. Z2.

So that’s easy to do but….

Some one wrote a comment on one of my posts the other day and he started it by saying “back in the real world”.

Can’t lie and say it didn’t piss me off but being the mature well balanced man that I am I ignored it.

Now my inner nasty, immature, unbalanced me said “look mate I was in the real world when you were still shitting yellow”. Obviously I didn’t post it and if your reading this now thinking it’s you, well it isn’t.

Anyway as to the G94 Facing Example

In the “real world” you get to the end of the batch of parts and find that one of them is way too long and you need to face a shit load off the front.

Now had you used the cycle as below and got into the habit of always using it.

G0 X50. Z3.
G94 X-1.6 Z0 F.2
G0 G28 U0 W0

The alteration would be really easy.

G0 X50. Z12. (Imagine You Have An Extra 12mm On the Face)
G94 X-1.6 Z10.5 F.2
Z9.
Z7.5
Z6.
Z4.5
Z3.
Z1.5
Z0
G0 G28 U0 W0

Rapid Move Cancels G94

Note don’t forget you must have the G0 rapid move at the end to cancel the G94.

(Just like G0 cancels a canned cycle in milling)

Don’t be tempted to put G0 in the moves as the control will just wiz around in Z and sit there laughing at you.

G0 X50. Z12. (This is what not to do)
G94 X-1.6 F.2
G0 Z10.5 (NO NO NO NO NO NO)
Z9.
Z7.5
Z6.
Z4.5
Z3.
Z1.5
Z0
G0 G28 U0 W0

See full explanation

Using G94 on a Haas Lathe

Thanks

If you have been affected by any of the issues in this post or need CNC Counselling then contact me.

If you want to learn to program CNC Milling Machines

Look no further Contact CNC Training Centre


CNC Program Quiz What’s Wrong?

Category : Mazak Mill

CNC Program

I got a desperate call from a customer asking me what was wrong with the CNC program below as he kept getting alarms.

The machine is a Horizontal Mazak running an (G Code) CNC program. It’s a thread milling CNC program.

I found quite a few errors in the code quite quickly and congratulating myself confidently told him to run the program.

This guy has been my best friend since I was 17 and I couldn’t resist a bit of sarcasm (we call it piss taking here in England).

You have to be careful when you have a go at Garry. Ever since our days together as apprentices at Rolls Royce (circa 1971) whenever I took the piss out of him he would get me back 10 fold.

(It’s no coincidence that Rolls Royce went bust in 1971)

I remember my first time at arc welding nervously trying to master the technique. Garry thought it might be amusing to smash a large mallet into the underside of the metal clad welding both.

I have always been the type of person who jumps and alarms quite easily.

Panic struck I threw the complete welding torch into the air and spontaneously evacuated my bowels. It sparked and flashed around the cabinet, which I had long since vacated, for a good minute before the instructor intervened.

I was the subject of ridicule and derision for the next few days by the whole of the Rolls Royce training school (about 200 teenagers).

For the younger generation, it was in those strange halcyon days when the UK invested in manufacturing. Oh and we had Black Sabbath, Led Zeppelin, Deep Purple and the fuckin Osmonds.

CNC Program

The CNC Program

Anyway enough of that. So yea I thought the program was OK but it alarmed out again.

A sarcastic laugh ensued and comments about “how the Mighty Fall”.

Needless to say I hadn’t found the real error in the code.

I have to call it a school boy error, mind you when I was at school I couldn’t even write my fuckin’ name, let alone error check a complex CNC Program.

I must have demonstrated this a hundred times on a whiteboard. My students took it all in but obviously I didn’t….. So what’s the error?

N30 T16 T72 M06 (5/8″ THREADMILL)
M911
B0
M51
M08

G90 G0 G54 X0 Y35. S3000 M3
G0 Z2.0
G91
G01 Z-20. F1000.
Z0.605
G41 Y-10.548 F263.
G03 X0 Y22.003 Z.907 I0 J11.002
G03 X0 Y0 Z1.814 I0 J-11.455
G03 X0 Y-22.003 Z.907 I0 J-11.002
G40 X0 Y10.548
G90 Z2.
G0 Z50.

Some hints If You Haven’t Got It Yet

When you are in cutter compensation the machine is reading ahead so the alarm my well be a few lines in front of where you are.

There are errors which are more a matter of discipline but won’t cause alarms.

When I check word documents I always put my finger on each word as I read the document.

I find that when you read it your brain is making the same mistake as when you wrote it.

Biggest clue read this on Modal Information.

Thanks

If you have been affected by any of the issues in this post or need CNC Counselling then contact me.

If you want to learn to program CNC Milling Machines

Look no further Contact CNC Training Centre

 

 

 


Careers in CNC

View all current vacancies in CNC

Click here

Call David: 07834 858 407