Homing to sides of workpiece with real tool How? Lathe

More
8 years 1 month ago #116969 by berntd
I wrote 2 days worth of gcode for my lathe.

Tool is 3mm half round and cuts both sides and on the round front.

The code was written to use cutter compensation for 3mm diameter.
It works.

So PROBLEM:
How do I home the axis with the tool in place?

Code is designed for 0,0 to be at right front corner of the workpiece but without compensation so centre of my tool must be at that corner.

How do I work around this hurdle?
Add offsets in the code everywhere?
Is there an easier way at all?

Any help is greatly appreciated.

Regards
Bernt

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago #116989 by Deckerjwd
think there is a couple of solutions, you will need to pick the one that fits

so machine home is the location of the machine home, where the 0 is on each physical axes. this let the machine know where the limits are. then there a work spaces this let you move where 0 is in relation to your program, then there is tool comp this defines where the tool is after you turn it on.

the machine should be homed before you load your parts there should be a switch that it "home" to every time you turn the software off, if the machine crashes, or you other wise lose your position.

then you need to touch off, i use a fixed point like a corner or a probe.
this moves the G-codes work space the actual numbers you wrote.

now you can touch off your tool, this will give you the length in relation to the work space zero. when you call a tool then do a cutter comp turn on move it will adjust for the tool length and you will get the right cut. if you don't shutoff or crash the machine, you can put the next part in and touch off and go.

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago #116995 by berntd
I think I understand that.

However what I do not understand yet is that when I touch off with the real tool loaded, then surely I will be off by half the tool diameter still?

How do I compensate for that?

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago - 8 years 1 month ago #116997 by Deckerjwd
it can be if you use the same tool that your cutting with and you touch off with it before turning on cutter comp then the work space may be off by half the diameter. if you have a 3mm center i would use that. when you use touch off it will also allow you to put in a number this is the distance from the edge you touch to 0.

example
you have a 3mm half round shaper tool in your tool post, you bring the side in and touch the end of the stock with the side of the round in the Z axis, and touch off with 0. you would be off by 1.5mm if you design you program to cut with the center of the tool and 3mm if you had back cuts in you program. so you put 1.5mm in the box when you touch off this tells the machine you have 1.5mm to the end(zero) of the work. now you come in with the front of the tool and touch it in the box you want to put 1.5mm + radius of the part this sets the center of the stock. in the tool table you you set you diameter for your cutter comp, and the length. when you cut with cutter comp you may find your +1.5mm on the radius. if that is the case you touch off again with out the 1.5mm. if you change tools you want to use touch tool to set the length this should set it to the different between the touch off (0,0) and the tool touch off.

this is how it seem to work for me on a Mill so i have filled in how i believe it works on a lathe, i would run some test on your equipment.
Last edit: 8 years 1 month ago by Deckerjwd.

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago #117000 by berntd
Ahaaa.

So there is a box where I can enter the difference!!.
I did not know that.
It makes sense and would certainly sort out the problem.
Will try it tonight.!

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago - 8 years 1 month ago #117175 by berntd
I cannot get it to work.
I tried for several hours.

I find the touch off unpredictable.
I do use G54.
The tool touch off also works in ways I do not comprehend. It wants 1 value but shifts the tool both ways but not equal WHAAAT?

Entering offsets into the tool table seems fruitless too.

Attached is a picture of what I want to do and where my 0.0 needs to be relative to the tool.

Can anyone shed light on this mystery?

Regards
Bernt
Last edit: 8 years 1 month ago by berntd.

Please Log in or Create an account to join the conversation.

Time to create page: 0.089 seconds
Powered by Kunena Forum