Lathe tool table
- dp427tt
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
03 Nov 2010 19:57 #5065
by dp427tt
Lathe tool table was created by dp427tt
I am setting up my lathe tool table and I don't think I have my code right. I just need to use the x and z offsets in the tool table. I don't need to offset my cutter size/shape, that is in my program. So what code do I need to use to get my program to recognize my tool table? This is the code I am using for my first 2 tools.
G43H1
G43H2
When do you use G42 and G41?
G43H1
G43H2
When do you use G42 and G41?
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
Less
More
- Posts: 7330
- Thank you received: 1176
03 Nov 2010 21:22 #5068
by BigJohnT
Replied by BigJohnT on topic Re:Lathe tool table
I'm assuming you don't have an automatic tool changer?
G43 is for tool length compensation and G41/42 is for tool diameter compensation. In the case of a lathe your tool diameter would be equal to the tip diameter of your insert.
www.linuxcnc.org/docview/html//lathe_lathe-user.html
John
G43 is for tool length compensation and G41/42 is for tool diameter compensation. In the case of a lathe your tool diameter would be equal to the tip diameter of your insert.
www.linuxcnc.org/docview/html//lathe_lathe-user.html
John
Please Log in or Create an account to join the conversation.
- dp427tt
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
03 Nov 2010 21:45 #5069
by dp427tt
Replied by dp427tt on topic Re:Lathe tool table
I do have an automatic tool changer.
So when I set the tool table up, can I just change tools, touch off the part by using touch off, enter the value and select tool table?
So when I set the tool table up, can I just change tools, touch off the part by using touch off, enter the value and select tool table?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23536
- Thank you received: 4852
04 Nov 2010 00:59 #5073
by andypugh
Replied by andypugh on topic Re:Lathe tool table
Basically, yes. Though EMC2 needs to know which tool is loaded.
M6 T1 G43 is something I type automatically now (you can skip the H if you want the offset of the current tool, rather than a different tool)
The way I work (and there are other ways) is to have a zero-length in the table for tool 1. I then touch-off with tool 1 into the G54 coordinate system (I have not yet ever used a different one) and touch off other tools selecting "Tool Table" in the dialog box. That way the tool table is a table of X and Z lengths _relative_ to tool 1.
(Being clever, tool 1 could even be a touch-probe)
In practice the way I work (as I mainly work semi-manually) is to machine my first part oversize then measure the diameter to touch-off the X.
M6 T1 G43 is something I type automatically now (you can skip the H if you want the offset of the current tool, rather than a different tool)
The way I work (and there are other ways) is to have a zero-length in the table for tool 1. I then touch-off with tool 1 into the G54 coordinate system (I have not yet ever used a different one) and touch off other tools selecting "Tool Table" in the dialog box. That way the tool table is a table of X and Z lengths _relative_ to tool 1.
(Being clever, tool 1 could even be a touch-probe)
In practice the way I work (as I mainly work semi-manually) is to machine my first part oversize then measure the diameter to touch-off the X.
Please Log in or Create an account to join the conversation.
- dp427tt
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
04 Nov 2010 12:18 #5077
by dp427tt
Replied by dp427tt on topic Re:Lathe tool table
So in my program when I change tools I could have the G43 on the same line of code, or should I put it on the next line. Or are you saying that when you are touching off, and need to change tools manually you type in M6 T2 G43.
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
Less
More
- Posts: 7330
- Thank you received: 1176
04 Nov 2010 12:43 #5078
by BigJohnT
Replied by BigJohnT on topic Re:Lathe tool table
I do something similar to Andy but different not because my way is better but because it works for me and I can remember how to do it from day to day... sometimes. So pick a way that works best for you...
First I change to G55 so I know there is no offsets in effect and then for each new tool in my turret I touch off the tool table Z offset off of my spindle face (any fixed point will do) by moving away from the face of the spindle until a dowel (always the same size) can just roll between the tool and the spindle face. That has set the Z offset for every tool on the turret to the same place.
For X I take a test cut and measure that and enter that in the tool table offset being careful to be in diameter mode if I enter a diameter measurement. For more tools I'll paint the test cut with a permanent marker then move then next tool up to the test part with the spindle turning (slow) until I touch the ink then touch off the X tool table offset to the magic number I measured during the test cut. This sets the X offset for each tool. I usually use aluminum for setting up as it is a bit more forgiving.
Now I change back to G54 which is where I do all my work on my lathe.
Now all the tools have an offset relative to each other so to speak. So if I load a tool with T3 M6 G43 every tool will go to the same X Z position when I enter a move command.
Now the only thing left is a work offset for the material in the spindle. I take any tool (within reason) and making sure I have the Z axis selected in the Manual Control tab i touch off the Z face of the material in the G54 Coordinate System and enter a value that makes sense for the job. For example I might put in 0.020 if I want to take a 20 thou face cut and then have Z0 be nice and clean. Now all the tools will be set to the material in X and Z if you did it correctly.
Tools like parting tools and threading tools and right hand inserts take some special measure to get the Z tool table offset but that is another story...
The things that will foul you up the most are being in G54 with an offset in effect, not selecting the correct axis for the touch off, being in radius mode and entering in a diameter. I'm sure I've discovered more ways to foul it up but can't remember them atm.
John
First I change to G55 so I know there is no offsets in effect and then for each new tool in my turret I touch off the tool table Z offset off of my spindle face (any fixed point will do) by moving away from the face of the spindle until a dowel (always the same size) can just roll between the tool and the spindle face. That has set the Z offset for every tool on the turret to the same place.
For X I take a test cut and measure that and enter that in the tool table offset being careful to be in diameter mode if I enter a diameter measurement. For more tools I'll paint the test cut with a permanent marker then move then next tool up to the test part with the spindle turning (slow) until I touch the ink then touch off the X tool table offset to the magic number I measured during the test cut. This sets the X offset for each tool. I usually use aluminum for setting up as it is a bit more forgiving.
Now I change back to G54 which is where I do all my work on my lathe.
Now all the tools have an offset relative to each other so to speak. So if I load a tool with T3 M6 G43 every tool will go to the same X Z position when I enter a move command.
Now the only thing left is a work offset for the material in the spindle. I take any tool (within reason) and making sure I have the Z axis selected in the Manual Control tab i touch off the Z face of the material in the G54 Coordinate System and enter a value that makes sense for the job. For example I might put in 0.020 if I want to take a 20 thou face cut and then have Z0 be nice and clean. Now all the tools will be set to the material in X and Z if you did it correctly.
Tools like parting tools and threading tools and right hand inserts take some special measure to get the Z tool table offset but that is another story...
The things that will foul you up the most are being in G54 with an offset in effect, not selecting the correct axis for the touch off, being in radius mode and entering in a diameter. I'm sure I've discovered more ways to foul it up but can't remember them atm.
John
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
Less
More
- Posts: 7330
- Thank you received: 1176
04 Nov 2010 12:44 - 04 Nov 2010 12:47 #5079
by BigJohnT
Replied by BigJohnT on topic Re:Lathe tool table
For some reason unknown to me I do...
T3 M6
G43
and yes I do a T3 M6 in the MDI window to make the turret change tools then when that is done I do a G43 then proceed to touch off as needed.
Also make sure you set the insert tip diameter for turning type of tools in your tool table.
John
T3 M6
G43
and yes I do a T3 M6 in the MDI window to make the turret change tools then when that is done I do a G43 then proceed to touch off as needed.
Also make sure you set the insert tip diameter for turning type of tools in your tool table.
John
Last edit: 04 Nov 2010 12:47 by BigJohnT.
Please Log in or Create an account to join the conversation.
Time to create page: 0.069 seconds