G82 Drilling Program Example

G82 Drilling Program Example

G82 Drilling Program Example

G82 Drilling Program Example, 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.

G82 Drilling Program Example

Here is the CNC code

G82 Drilling Program Example

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

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

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

When it gets to depth the P3000 tells it to dwell for 3000 milliseconds which is 3 seconds. No decimal point allowed. (Varies on controls)

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

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.

G82 Drilling Program Example

Haas G82 example

It’s been great fun writing this article for you but to be totally honest i think this cycle is a complete waste of time. Whenever I have put a dwell in a spot drilling cycle it always seems to chatter.

However if you do use this cycle please let me know if you have success with it.

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

 

 

 


G84 Rigid Tapping Program Example

G84 Rigid Tapping Program Example

G84 is a tapping canned cycle.

G84 taps holes.

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.

G84 Rigid Tapping Program Example

G84 Rigid Tapping Program Example

Here is the CNC code

G84 Rigid Tapping Program Example

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

G84 Rigid Tapping Program Example

The G95 selects feed per revolution which means we only need to program the tap pitch for the feed-rate.

See full rigid tap G84 Rigid Tapping Program Example

The M29 engages the rigid tapping mode and the S800 is the speed. (It does not start the spindle)

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

The G84 Cycle instructs it to tap a hole 17.mm deep (Z-17.) at a feed of 1.75mm per revolution (F1.75) 

So it feeds at 1.75mm per revolution with the spindle turning clockwise to depth.

At the bottom of the hole it reverses the spindle and feeds back to the initial point.

This initial point was in the line.

G84 Rigid Tapping 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 tapping process.

When the G80 is programmed it no longer taps holes.

Single block and feedhold do not work in a tapping cycle.

Why? You ask.

IT BUSTS THE TAP

Now watch the video to see it all in action (not breaking the tap).

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

 

 

 


G81 Drilling Example (Canned Cycle)

G81 Drilling Example

The G81 is the most commonly used canned cycle it simply drills a hole and retracts.

All other canned cycles are similar to this but with a few extra bells and whistles.

G81 Drilling Example 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.

G81 Drilling Example

G81 Drilling Program Example

Here is the CNC code

G81 Program Example

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

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

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

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

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 (G81 Drilling Example)

Haas G81

See full explanation

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

 

 

 


Polar Programming G16 Fanuc

Polar Programming G16

Polar programming is cool.

No one loves polar bears more than me.

Polar means you are working around a pole. So your programmed position is determined by a radius and an angle.

No use??? Think about it. Polar Programming G16.

Holes on a pitch circle. Mill a hexagon. Piece of piss. Honestly.

Read on….

Polar bears, polar programming here we go. Don’t go too close to polar bears as they have a propensity to rip you head off.

Oh No Polar Programming G16 is an Option

Sorry yes it’s n option. Anyway hopefully you have it. Don’t blame me blame the tight arse who bought the machine.

Imagine you had some holes like this to machine.

Polar Programming G16First thing you need to do is program a G16 to say you want to use polar programming.

G16 on its own means your datum is the centre of the pole (X0 Y0)

G16 X50. Y50. would put your pole centre at X50. Y50.

Anyway we want it at zero which is the centre of this pattern of holes. So it’s just G16.

Once G16 is active then X becomes your radius and Y becomes your angle.

What’s The Time Mr Wolf?

The angle is always measured from 3.15 as below. (If you’re reading this mum sorry about busting your clock but I needed the picture)

And the angle is measured counterclockwise. This applies to all CAD CAM.

So this angle would be Y60. (60 degrees) and the X would be X25. (Radius)

Polar Programming G16

So you program looks like this

Polar Programming G16

Now see it running.

Lets look at the milling in more detail

Polar Programming G16

Note that the distance to the sharp corner is 46.188 The line N1 uses this.

Polar Programming G16

Polar Programming G16 It’s So Easy

Then we just program each position as an angle (no need for the radius because it does not change)

Polar Programming G16

Each point you are going to has a radius from centre and an angle.

Incremental What’s That All About?

Don’t forget this works in incremental as well so be careful (you’re not insured for this)

Incremental

It gets even better when you use the L command.

Polar Programming G16

Polar Programming G16 Action

Now when it comes to the milling it’s so simple don’t you just love this.

Polar Programming G16

Action

 

What do you think?

G16…..

Add it to your digital toolbox??

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


WP to LinkedIn Auto Publish Powered By : XYZScripts.com