Ask Sawal

Discussion Forum
Notification Icon1
Write Answer Icon
Add Question Icon

Michael-Leon Fast




Posted Questions



Wait...

Posted Answers



Answer


As part of the basics of CNC Programming you need to have a good grasp of Work Offsets. This article explains how they work on various controls.

Make sure you read to the end to see how good use of Work Offsets can dramatically increase production on your CNC Machine.

So you wrote your program and it looks great on your simulation. Great but your machine hasn’t got a clue where your part is.

That’s where the work offset come in.

The control say’s “where the fuck’s the part?” machine says “ask the work offset G54 to G59 they’ll know”.

When we write a CNC program we work from a datum on the drawing. All the X and Y figures will be measured from this datum.

Once we put the component on the machine it needs to know where the part is.

On  a Fanuc control it’s a G code usually G54 although as standard you have six of these.

G54 G55 G56 G57 G58 G59

Once you set one of these all you need do is use the G code (54 to 59) and the machine will use that offset.

Each one of these G Codes represents a datum position on the machine.

G0 G54 X0 Y0 (Rapid to X0 Y0 using G54)

G0 G55 X0 Y0 (Rapid to X0 Y0 using G55)

Because the work offset is modal once you state it you don’t need to repeat yourself. (It stays in)

Read this if you don’t know what modal means.

G0 G54 X0 Y0 (Rapid to X0 Y0 using G54) X50. Y50. (Still rapid still G54) Z10. (Don’t panic I know you still want rapid and G54)

When you first turn on your CNC Machine you would normally reference or Zero Return all the axis. The machine then knows where it is.

All machines will have a position display. This position display will have one set of figures normally called “MACHINE“. This is the machines position from zero return. So when the machine is at zero return this will read.

X 0.000 Y 0.000 Z 0.000

The “MACHINE” position tells us how far we are from the machine zero. We don’t use this once we have set our datums.

This is the position we need to write into the work offset page to tell the control where each datum is (G54 to G59)

What we do when we are setting (G54 to G59) is enter this position in the work offset page.

When we subsequently call this G code the machine will use this position as it’s datum.

On the screen above if you programmed G0 G54 X0 Y0 the machine would move -75. in X and –145.5 in Y. This is it’s new zero position. Every subsequent command will work from this datum.

What we do when we are setting the machines datums or Work Offsets is we tell the machine where our datum is from Zero Return.

In the above case the datum is 806.25 away from X Zero Return and 147.1 away from Y Zero Return. These will both be minus figures.

Well yes we need to do that also. The Z will be the distance from Zero return to the top of the work-piece.

So in the above case the distance from the spindle nose to the top of the work-piece is 530.570. Again this will be a minus figure.

So there you have it your work offset in X Y and Z.

This is how it looks in the offset file on a Haas machine.

This is an imperial (inch) machine so this datum is 12.568 inches away from the X zero and 8.489 from the Y zero.

On the Fanuc control below it has values set in G54 G55 and G56. you could use any of these offsets.

Not all machines will have minus figures in these offsets as the zero return can be in a different place.

Now if this were on a Mazak control it would be exactly the same if you were using the machine in ISO G Code type programming.

If you were using Mazatrol and not ISO this would be recorded in a WPC. No that’s not a Woman Police Constable.

Anyway it looks the same it’s just that they call them WPC 1 and WPC 2 etc.

WPS’s are set in the program as you go along. It’s the sort of “pay as you go” datum system.

On the Toshiba BMC 800 machine which uses the Tosnuc Control, H numbers are used for Work Offsets H901 to H999. Even the greediest programmer won’t run out of work offsets on this machine.

Unfortunately on most Fanuc Controls you only get six offsets G54 to G59 this should be enough really. Anyway you can get what is called “Extended Offsets” as an option this gives you another 99.

These are called G54.1 P1, G54.1 P2, G54 P3 etc etc. You get the idea?

They work in exactly the same way as G54 to G59 you just stick in a P number.

G0 G54 X0 Y0 (Work offset G54)

G0 G54.1 P1 X0 Y0 (Work offset G54.1 P1)

So what we did is told the machine where G54 was in it’s own master “Machine Coordinate System”.

So now if we program

G0 G54 X0 Y0 the machine will rapid to the position that we set as the datum. All subsequent moves will be around this G54 Datum.

Because G54 is Modal.

Imagine how difficult it would be if we had to keep adding all our figures onto the machine position. It’s just like when you have a manual machine with a Digital Readout (DRO).

You just clock up your datum position and Zero the display. Well that’s what this is doing on your CNC Machine.

The good news is you get to keep the position and there are six of them.

Oh yea let’s come back to the Toshiba BMC 800 Tosnuc Control.

This is one of my favourite controls. Call me a geek but I get really excited about this kind of stuff. Below is the 888 control. (The 666 is a bit of a devil to program)

Considering how old these controls are they are packed with great functions. Sorry this is a blatant plug cos if you got one I’d love to train you on it.

On this control you would just record the figures in H901. The program would read.

G57 H901 G0 X0 Y0

The G57 activates H numbered offsets and it needs to be on a separate line.

Now then think about this.

Once this offset is in the machine it stays in no matter what. Like the curry you spilt down your white shirt when you were pissed on Saturday. “It’s going nowhere”.

So where do the other offsets come in.

Well. Imagine you set this job up and the boss came over and said “Jack, can you fit in an urgent job before you do that one”

(Please substitute your own name above)

Don’t panic no need to punch the boss or tell him to stick his job up his arse. No no it’s easy. You smile and say “No problem sir I’ll leave that job set up in G54 and I will use G55 for your new job”

Something I forgot to tell you. Always set your parts up as near to one end of the table as you possibly can. Never in the middle of the table. That way you get to leave the part on the table and set up another job.

So you would just load up another vice or whatever and set the datum in G55.

Now when you program.

G0 G55 X0 Y0

The machine will use the new datum…. Easy what.

Oh and obviously if you call out your old program, for that job the boss doesn’t want yet, it will use G54. Everything will work around the old datum.

A tool change on a modern machine is amazingly fast like a fraction of a second.

But we don’t all have super fast tool changers and I have worked on big machines where a tool change can be two minutes!!

Well let’s compromise. Your machine is a bit of n old banger.

Actually these old Matsuura Machines with Yasnac Controls are awesome if you can get hold of one.

The tool change chip to chip is going to be about 17 seconds. Machines like the new Matsuura MX 520 tool change in just over a second. In my world that’s shit off a fuckin stick.

Imagine if we could get 17 parts on the machine table and set 17 datums. We pick up a spot drill. The tool change time is 17 seconds.

Ah but sunshine it’s gonna spot drill 17 parts so the tool change time really is only one second.

That’s 17 seconds divided by 17 parts. One second per part. It really is that simple.

I had you fooled there just when you thought I was talking about Pizzas. I was talking about machines.

Look at the size of this Mazak Machining Centre it has the new Mazak Smooth Technology control.

Imagine you have an old machine but it has a huge table. Well if you fill the table with parts suddenly your slow tool changer does not matter.

Doesn’t matter either.

The longest rapid moves are the ones to and from tool change. But we took care of them because one tool change does 17 parts.

From part to part there are only small rapid moves so we gain there too.

So our big old Tortoise can beat the Young Fast Hare.

Work Offset G54 G55 G56

So these figures above would be entered into your work Offsets.

This is how it looks when it machines all three parts. No wasted moves and your making maximum use of each tool.

Another thing, notice how the drill starts at one end and instead of going all the way back. The next tool starts where the last one finished.

This won’t be possible on some machines but on most you can tool change wherever you want.

The program looks something like this.

Just by putting the new work offset in front of the X and Y figures will make the coordinate system swap to the new work offset.

And…

Because the G code is modal it stays active until you call a different work offset.

Found on a lot of Bridgeport Machines like the Interact 412, the Heidenhain Control can use the same method as above. You would have an offset table the same where all your offsets are stored.

Great little machines Bridgeport Interact 412 still loads of these in service.

These are then called out by numbers.

This would call out offset 1.

Just zero the display.

How easy is that?

Mmm don’t be confused. That really is all you do and your datum is set.

When you want a different datum you just use a datum shift command.

This would shift the datum by the above amount from your zero. And to change it back.

These can be put in Label commands so that they can be retrieved and used again.

Oh and you can have as many of these as you like.

So there you go from Heidenhain on a Bridgeport Machine to Matsuura MX520 with a Matsuura G-Tech 31i control. There are loads of different machines but the principle is always the same.

Understand one and you’ll easily understand them all.

Don’t forget there’s loads more folks.

And a YouTube channel


Answer is posted for the following question.

How to take offset in vmc machine?

Answer


We can also explicitly check if the array is empty or not if (arrlength === 0) { consolelog(" Array is empty !") } If our array is empty


Answer is posted for the following question.

How to empty array in javascript?

Answer


All you need to make an outdoor pizza oven is an oil drum, Vermiculite, cement, and fire bricks Read this written tutorial if you're wondering how to put these


Answer is posted for the following question.

How to build a pizza oven?

Answer


Azimo is an overseas money transfer service that is based in London. This online company was founded in October 2012 and since then has offered international money transfer services in more than 190 countries and 80 different currencies.

Azimo has an online money transfer system in different currencies for you to use. Money advances to hire trips, invest money outside the borders of your country, and everything in between requires multi-currency international payments.

Azimo is a popular online transfer service in Spain and around the world.

The company has more than half a million customers connected to its money transfer and sending platform.

Sending money is made easy and profitable by this entity. Correct? Appetizing? Its clients give good opinions of the service of this entity, which is authorized to operate by the FCA, among other organizations.

It is the first thing you will ask.

You want to know why we think online platforms like Azimo are better for you to make international transfers and control your spending in the UK. Well here we are.

1 It is important and transparent. You know what exchange rate has been used and what commission has been applied to you from the beginning.

There will be no surprises after that. It's important to take into account when making a transfer that has a currency exchange.

There are 2. It is easy to use and also fast. Making the transfer and making sure money reaches the recipient are both things that need to be done.

Many transfers arrive in a short time. It is quicker than banks.

3. Azimo is regulated by the UK financial law so it is safe to make international transfers with them. I don't know anyone who has had a problem.

4. One of the most important points for you is the price, it's the reason why you look for this type of application.

Banks can be up to 90% cheaper than transfers.

5. You can do it from home since it is 100% online and in a few steps.

The Azimo platform can be used to make a transfer from one bank to another. There is no fixed fee in Azimo, but it depends on the currency and the amount sent.

The small management commission and the money that will be received from the first moment is a point of favor.

If I send 1,000 euros to the United Kingdom, it will be recorded.

The first transfer you make through this website is completely free, and you will get an extra 10 euros, if you include management fees.

You won't have to pay anything when you create your Azimo account.

Commissions for account maintenance are not charged. Azimo charges small fees.

If you use electronic payment methods, you will not be able to make formal payments in Azimo. Azimo accepts Visa, Master Card, and Maestro card payments.

Azimo has a discount for Tricks London readers. Azimo offers a number of benefits, so be sure to visit the link below to take advantage of them.

Azimo has up to 25 countries from which you can send money and multi-currency transfers, but it is only a start-up.

Azimo is a money transfer service with an app. You won't have to contact their customer service.

If you need it, it will be there from Monday to Friday from 9 to 6.

Azimo has a contact section on its website that you can use to send your questions and you only have to enter your user credentials. They will contact you in the shortest possible time to resolve any doubts or problems you have about the money transfer service.

You can check their FAQ section if the problem is not very urgent. They are based on the opinions and doubts of their users and are designed to help you with basic incidents and small doubts that may arise while operating with Azimo

It's very easy and you will not need this service.

Azimo is a reliable and secure fee-free transfer service. This can be seen in the positive opinions registered by their clients, but also in the fact that they have all the licenses to operate as a multi-currency financial service. Its app is simple and also offers total confidence.

The Financial Services Authority has given Azimo the go-ahead to issue electronic money. They also have the license of the Directorate of Customs and Public Revenue and the certification of the German organization TUV regarding online data protection.

Its security guarantees include:

If you don't check it yourself, we won't be able to tell you that it is a formidable service.

We offer you 3 opinions from Azimo users.

I decided to use Azimo after reading different opinions on the internet. They offered me up to 2 totally free transfers and a currency exchange. Azimo has a very intuitive and comfortable app.

Azimo and its app are all you need to send money safely and cheaply.

I took advantage of their initial offer, but later their commission was so low that I repeated their experience with them. My opinions are positive.

My son who lives in the United Kingdom taught me how to use Azimo, which I didn't know existed. I can send you money with my mobile almost free, with the change from euros to pounds in a second.

This gives me a lot of confidence in the company.


Answer is posted for the following question.

How to deactivate azimo account?

Answer


Frankfurt is located on an ancient ford (German: Furt) on the river Main. As a part of early Franconia, the inhabitants were the early Franks, thus the city's name reveals its legacy as "the ford of the Franks on the Main".


Answer is posted for the following question.

How did frankfurt get its name?

Answer


A urine culture test can identify bacteria or yeast causing a urinary tract infection (UTI). If bacteria multiply, an antibiotic sensitivity test can identify the antibiotic most likely to kill those particular bacteria. Your healthcare provider may order a urine culture if you get chronic or hard-to-treat UTIs.


Answer is posted for the following question.

What do my urine culture results mean?


Wait...