Twin turret lathe configuration

More
8 years 11 months ago #101518 by smalla
Hi,

it is possible to set up a dual turret lathe for linuxcnc?
They should both move independently, with their own tools and zero points.
I read somewhere that it needs to involve two separate machines, and need to sync the moves somehow.

there is a link herehere in case studies, but the link is broken:

Should I use XZ UW axes for the two turrets? is it possible? so G1 X10Z10 U10W10 would work ?

Anyone knows how to do it, or got some tips how should I begin developing it ?

Thanks

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

More
8 years 11 months ago #101526 by andypugh
This should be possible, but in your G-code line above each axis move would finish at the same time. Your example is fine, but if the distances moved were different then the feed rates would be different.

You can, in theory, make things work by splitting moves up. So if you wanted to move Z to 100 while U was moving to 50 followed by a W move to 50 you would not use
G1 Z100 U50
G1 W50

You would, instead, use:
G1 Z50 U50
G1 Z100 W50

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

More
8 years 11 months ago #101527 by smalla
Ok, I understand that.
But how can program two different tools? They both would have different compensation.
Can I program somehow the use of two tools for different axes?
Or I need to set up the tool table, single tool number, but compensation on four columns, xzuw?
Or what would be the best approach?

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

More
8 years 11 months ago - 8 years 11 months ago #101532 by andypugh

smalla wrote: Ok, I understand that.
But how can program two different tools? They both would have different compensation.


I think that you would have to set up one turret with offsets in XZ and one with offsets in UW. You could then do something involving G43.2 to add the offsets together.
Last edit: 8 years 11 months ago by andypugh. Reason: I got my G43 codes wrong.

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

More
8 years 11 months ago #101543 by VNR
Replied by VNR on topic Twin turret lathe configuration

smalla wrote: I read somewhere that it needs to involve two separate machines, and need to sync the moves somehow.

Industrial machines have two CNC controllers because they use two independent G codes.
With just one controller, you have a G code for two independent turrets. In that case, you have to write two programs and then split and convine the G codes, which can be a nightmare and the result may not be optimal.

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

More
8 years 11 months ago #101595 by smalla
So G43.2 can be used If Im not mistaken.

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

Time to create page: 0.068 seconds
Powered by Kunena Forum