Using G10 On A Fanuc CNC Lathe
This article is about using G10 on a CNC Lathe to set the work shift or work zero offset as it is known on a Haas control.
If you have ever used Mazak machines you will know that when you call a program the work offset is kept with it.
I mean if you were teaching your dog or your cat to program a CNC Lathe and you told him that he had to reset the workshift every time he called a new program what would he say.
I mean nothing really but he’d probably give you a strange look.
But you can do it on a Fanuc control or on a Haas control.
You just put this………………….
G10 P0 X0 Z-98.1
So you would put that at the head of your program and it would change the work shift screen as above.
No need to set workshift everytime.
Automatically sets X figures so there’s no chance you could alter it by accident.
Well there is a slight catch.
It’s obvious really but from now on you can only change the workshift from the program.
If you altered it on the workshift screen it would just change back when you run the program.
Now I know your not stupid enough to do that but I bet the bloke on nights is.
The Big One
When you restart a program you must remember to read this line.
Imagine if you tried to re-run the threading tool after altering the G10 you would just jump to that tool and run it. (Your new offset wouldn’t work)
Therefore you must remember to make the control read it in before running any tools.
Now the clever bastards will have a solution to this.
(This songs hilarious by the way)
What you could do is use a subprogram, the tool change position might be a good place to put it.
That way each tool would read it.
So you have to revert to mental arithmetic.
Ok So Why Do I Need All This Crap
Do you use the same chuck day in day out?
Do you keep the jaws for each job?
Well if the answer to these questions is yes, your workshift value is the same every time you set up this part.
Do you really want to reinvent the wheel?
Thanks for watching and reading
If you have been affected by any of the issues in this post or need CNC Counselling then contact me.
Or call us
If you want to learn to program CNC Milling Machines
Look no further Contact CNC Training Centre