Tool Length Offsets Beginners CNC

Tool Length Offsets Beginners CNC

CNC Training Call David: 07834 858 407

30 Five Star Reviews

CNC Training Centre Reviews

Contact CNC Training Centre

 

This article will explain all you need to know about tool length offsets and setting tool length offsets Fanuc

Ok so you managed to write a CNC Programme for your CNC Milling Machine, well done.

A CNC program is a set of instructions telling your CNC Machine exactly how to machine your component.

It contains all the necessary tool paths XY position and Z depths.

It also contains on off signals to do things like starting the spindle (M3 clockwise M4 counterclockwise).

The progam will have all the feeds and speeds for your tools. You may have performed a simulation using the graphics on your machine.

 

tool length offsets

Lots of software like Edgecam can perform full collision detection. You have a model of every tool and it’s holder. There is full model of the machine and all the work-holding.

tool length offsets

Edgecam will even tell you if the flute length of the tool is too short!

Ok so that is all great so far but when we put this program in the machine to run there are three things the machine doesn’t know.

Can you guess what they are?

No it doesn’t know jackpot winning lottery numbers (that would be four things it didn’t know).

  1. It doesn’t know where the part is in the machine coordinate system.

  2. It doesn’t know how long the tools are (tool length offsets).

  3. It doesn’t know the diameter of the tools.

Vital information wouldn’t you say?

So first of all we use the Work Offsets to tell the machine where the part is.

Read this for more CNC Help if you want to learn how Work Offsets are used.

Please don’t worry if you don’t know how to do this after all this is beginners help with tool length offsets .

Your mates don’t know your reading it, you can tell them you already knew all this shit.

tool length offsets

So in the picture above we would touch the spindle nose onto the Z datum of our work-piece. This would tell the machine where the part is in the Z axis.

 

tool length offsets

 

This distance is input into our work offset table (in this case G54).

If we now program G0 G54 Z0 the spindle would rapid down to this position (G54 is where the values are stored).

We wouldn’t do this by the way cos the machine would crash.

tool length offsets

Now The Tool Length

What we now need to do is take into account the length of the tool.

We would measure each tool length and store it in our tool length offsets file.

tool length offsets
This is how they look on a Haas Machine

This tool length offsets file stays in the machine and is independent of your CNC Programs. So now any program can access this file.

So how does it do that?

It uses G43 and G43 says “ok get me a tool length offset”

G0 G43 Z3. H1

Which tool offset?? Well that’s the H number.

So the line above says to the machine rapid to Z3. Oh and by the way allow for the length of Tool 1 before you get there.

That’s the H1

So it gets the tool length from the tool length offsets file. It then does all the maths for you.

Actually it’s just a bit of simple arithmetic. Your (G54) work offset) minus your tool length.

Your tool will arrive 3mm above your component.

So whatever tool you called into the spindle with your M6 command you need to use the corresponding H number.

M6 T5                                                  (Get tool 5 in the spindle)
G90 G0 G54 X0 Y0 S1500 M3    (Rapid to X0 Y0 and start the spindle)
G43 Z3. H5                        (Rapid to Z3. but allow for the length of tool 5)

How do you measure the tools?

tool length offsets

Well some people use a bit of paper!!!

And some buy one of these little babies.

“It’s just a light on a fuckin stick” I hear you say. But it’s so much more. I comes on at an exact distance above your part. And because it’s all spring loaded, if the tool carries on a bit it don’t bust anything.

Only cheap but do a great job.

setting tool length offsets fanuc

And if your a very good boy you might get one of these for Christmas.

tool length offsets

Auto tool measurement (yes it’s all done for you)

In the cases above we are storing the actual tool length in the offset file.

Now let’s take a look at that tool file again.

tool length offsets

Some of my readers are very astute but before you start writing me an email or commenting on this article. “oh David it looks like you fucked up again”

I know……

Why are the tool lengths (Under Geometry) minus figures?

That’s because as always there are several ways to do this. What some people do (and I am not one of them) is……

They bring each tool down from zero return and touch on the part. This figure is then recorded in the tool length offsets file. And yes it’s a minus figure. Of course the G54 work offset would be zero in the case of Z.

tool length offsets

 

Now I am not prepared to argue with you about this (your doctor told me not to). It’s just bad.

Maybe you might want to read this?

That figure has no relation to the actual tool length and you need to reset every tool for every Job!!

I’m saying no more I’ll just wait for the comments.

There is Only One Way

Actually there is something else to consider. (I know I
said I’m saying no more).

By setting your tool length the correct way (my way), the stored offset is the actual tool length and you can do a rough check with your steel ruler before proving your program.

Auto tool length measurement will always give actual tool length and so will a tool pre-setter. That means you can swap tools between machines.

A Few Other Things About Tool Length Offsets

If you have a Mazak. Mmmmm if you have a Mazak.

Well it’s easy. Mazak machines have active offsets so the minute you do a tool change and get your tool in the spindle the tool lengths offsets are active. They also nearly always have an auto tool measurement system

.

Sorry if you are a Mazak user and you are thinking “this dozy bastard has made me read all this gratuitous shit for nothing”

Now’s the time to leave. Go on off you go.

Ok so what.

Mazaks also do this…….

When you write a G code type program for a Mazak you don’t need a G43 and you don’t need the H

M6 T5                                                  (Get tool 5 in the spindle)
G90 G0 G54 X0 Y0 S1500 M3    (Rapid to X0 Y0 and start the spindle)
Z3.                        (Rapid to Z3. but allow for the length of tool 5)

Forget the G43 H5 shit…. soooo easy.

Those Mazak guys just don’t believe in stating the obvious and wasting your precious finger tips typing in a load of bollocks that the machine should know anyway.

Just remember you can change this by parameter if you want it to work the same way as your Fanuc or your Haas. Oh and you don’t care about increasing your carbon footprint with those extra finger presses.

That way you can put programs from your Fanuc into your Mazak and vice versa.

One other thing

 

Haas have a little trick up their sleeve.

You can alter the settings on a Haas machine so that if your H and your T are not the same you get an alarm.

M6 T5                                                 
G90 G0 G54 X0 Y0 S1500 M3   
G43 Z3. H1                       

Remember our program. If you changed the tool number but forgot to change the H you would be using the length of T1 for T5

 

 

Yes you just bent your machine.

Of course if it’s a Haas you just get an alarm.

Learn all this and more

 


Haas Super Mini Mill

CNC Training Call David: 07834 858 407

CNC Training Centre Reviews

30 five star ratings on Google (just saying)

I’ve wanted to get my hands on a new Haas machine for a while. Really wanted to see what the new control was like.

Haas Mini Mill

Stiltz provided the machine and the victims for the training.

If you have read any of my articles you will know I have always had an affection for Haas machines. The first one I ever worked on being about 1994. At that time they were nothing short of ground breaking innovation.

Things like a built in airline and coolant wash-hose were not only innovative but really useful.

Coolant Hose (What Will You Do With This)

A machine that worked straight out of the box. Easy peasy tool-change. Handwheel to scroll through the program, people still get impressed by this today.

Programmable coolant nozzles, fuckin hell that was a game changer. Just move nozzle to a position and press an F key and it’s stored with the offset.

Macro at no extra cost (wow) some people wanted two grand for this (cost of a good family car in 1995)

Program restart still the best in the world, don’t get me started.

The New Machine David How Was It?

To start with on this one I didn’t like the interface but it does grow on you. You need to get used to using the touch screen. Access to some menus is a bit convoluted too.

This Haas Mini Mill has a 10k spindle and 30 tools.

Something I suddenly remembered about this model. Well you know when you get a cup of coffee and it’s in a tall tapered glass mug? You are thinking “nice big cup of coffee”. You take four big swigs n it’s gone, shit what happened. What happened is an optical illusion because the cup is tapered it’s actual capacity is that of a thimble.

It happens all the time everything comes in a great big box with loads of packaging and the actual item is minute.

Anyway try moving this machine to the end of it’s stroke in X. Fuckin hell what a disappointment I recon you can only move around about half the table. I mean great you can put a pretty big part on here. That’s great so long as you don’t want to machine it!!!

It definitely is not what you expect from the company that’s known for pragmatism. Anyway that does piss me off.

The way this machine is being used is running programs from a memory stick. At first I thought it was a bit crazy as the programs weren’t particularly big.

Anyway surprise surprise it works well. Just plug in and press load and it runs. But what about editing you ask. No problem you just do it. Same as normal.

Program restart, no problem works exactly the same as when running from memory.

“Read More”

Haas VF3

This week I got to train two people on a Haas VF3, and what a delight it was. This machine was old I mean 1996 but still a great functional machine tool.

CNC Training Call David: 07834 858 407

CNC Training Centre Reviews

30 five star ratings on Google (just saying)

I like to see myself in a similar way, really old but still functioning, well at least as I write.

Haas VF3

It took me back to when I first set up my business of training people on CNC machines. My first two victims were at Armitage Shanks in good old Wolverhampton.

1996 was the year I started out on my own CNC Training and these were the first machines I trained on. I did so many I got pissed off with the sound of my own voice (which I rarely do).
Because all the machines were the same I was saying the same things and quoting the same tired old anecdotes day after day.
Fortunately, I went on to train on all the well-known CNC machines like Mazak, Mori Seiki, Matsuura, Bridgeport to name a few. Quite a lot of the not so well-known ones like Maho, seen below.

Haas VF3

The machine above has a Phillips control and they were the absolute dogs’ bollocks. It even had rigid tapping. You could hit feed-hold while it was tapping and you got the option to reverse the tap out! Training people on these was an absolute delight.

Don’t forget we’re talking mid 80s here.

Shut up David this sounds like a big plug for the CNC Training Centre, or maybe it is.

CNC Training Centre (Home of the CNC Program)

There is pub by us and on the sign, it says “The Home of the Roast”.

You have to queue up to get your food and a young lad carves the meat in front of you. If he don’t like the look of you, which obviously with me he didn’t, you get two or three slices of turkey, so wafer thin, you can see the pattern on the fuckin plate underneath.

Now I don’t want to knock the people of Nuneaton, being as most of my family live there, but honestly there are some greedy bastards about.

After you get your meat and a few accoutrements you follow a long line of people adding cabbage and peas and all sorts of vegetables and potatoes to their plates. This bloke in front of me was scooping so much on to his plate it was flowing over. It was like a fuckin bowler hat as my late father would say, sans expletive.

In those days you didn’t swear in front of ladies, unless of course it was their turn.

I was just thinking “did you like not eat for a fuckin week?” You can imagine his kids at school saying to the teacher “oh, we’re not eating at our house this week miss”. The teacher then asks if this is some precursor to a religious festival or some such thing.

“Oh no miss, we’re booked in at the carvery for Sunday lunch” she gives them a knowing nod.

Anyway, I looked at this blokes plate with utter middle class disgust and vowed never to go there again.

My mate was about three people in front of this bloke and to my amazement my mate’s plate was so full of food, it made his look like he’d paid for the children’s menu.

“Read More”

Haas Programming

Haas Programming Training

Haas Programming Milling and Turning

CNC Training Call David: 07834 858 407

CNC Training Centre Reviews

30 five star ratings on Google (just saying)

Haas Programming, the Haas CNC control is very similar to Fanuc and all other ISO type controls. There are settings that you can alter to change its behaviour. This means that you can get it to perform in a similar way to your other controls.

Haas Programming

It is really useful if you need to be able to transfer programs from one machine to the other. It is well worth taking the time to get all your controls to function in the same way.

Link to all Haas settings.

That is probably the major downfall in using some of the special features that different controls have. It is always worth considering this if you are using some unique feature. It may not work on your other controls.

This is why a lot of people use the ISO option on a Mazatrol (Mazak) machine. It means that you can take programmes from your Fanuc or Haas machine and run them on your Mazak. With careful consideration to all your controls this flexibility can be achieved.

Haas Programming

Learning Haas Programming

The Haas control for example has a corner rounding feature whereby you programme a shape as if it has no corner radii. You then add the corners on as an afterthought.

Personally although this sounds very useful in practice it isn’t that common for a drawing to show intersection points. I think the best use is on a square shape. You might want to use it on a square shape to just break the edges. Certainly when Turning it is very useful for breaking sharp edges.

At the CNC Training Centre we can teach you on or offsite. So we could visit you and offer a training course to suit your individual needs. Alternatively if you want to escape your busy day-to-day environment then a classroom training course may be more suitable.

 

Haas Programming on the Job

Another way to train is to produce an actual part as we train. This has a lot of advantages.

  • You end up with a template part and program that you can use for other jobs.
  • Minimum production loss.
  • Problems are identified as they occur.
  • You make mistakes and increase learning speed.
  • Weakness in knowledge are recognised as they manifest.
“Read More”

Haas Training, Milling, Turning

Contact CNC Training Centre

CNC Training Call David: 07834 858 407

CNC Training Centre Reviews

30 five star ratings on Google (just saying)

 

 

Haas Training
Haas products are constantly improving and developing. I love working with Haas because they actually listen to customers.

Every company claims to do this. We all know that some of the software and machines we use everyday have annoying faults that just never seem to be picked up on by the designers.

Haas Training
Anyway you all know I get pissed off about this if you ever read anything I write. Here is an example.

Did you ever work on a machine with a random tool-changer?

Haas Training

This is a CNC Milling machine that gets the tool out of the spindle and puts it back into the nearest pocket. Could be a Fanuc control Mazak control, Heidenhain. So when you look round the back of the machine at the pockets, the pocket numbers bear no resemblance to the actual tool numbers.

Anyway you go round the back of the machine and you see a tool you want. An M10 tap maybe. I want that M10 tap so I have to go all through my tool lists or whatever to find what tool number it is.

I hope you get me so far. So I find there is an M10 tap called T06 and I call it to the spindle. Oh dear there are two M10 taps and I got the wrong one. In real life I would probably say bollocks but I am trying to make these articles more classy by reducing the profanities.

“Read More”

Careers in CNC

View all current vacancies in CNC

Click here

Call David: 07834 858 407