Twin Spindle / Twin Turret turning center

More
13 Aug 2019 18:10 #142060 by andypugh
Using XZ UW is the obvious solution, but the 4 axes run such that they all reach the target point at the same time.
So to take the simple case of a facing cut in X running at the same time as _two_ facing cuts in U.

G0 X20 U10
G1 X0 U0
G0 U10
G1 U0

Would actually be a cut simultaneously in X and U with U half the speed of X, and then a cut in U with X stationary.

What you would need to do (possibly in an input filter, is break the X move at the Y move reversal point, and possibly do everything in inverse-time mode too ( G93 )

G0 X20 U10
G93 F10 X10 U0
G93 F100 X9 U10
G93 F9 X0 U0

Would, sort-of, give the same result as truly independent motion of X and U.

Mutli-spindle S commands are controlled using the $ character (this was deliberately chosen to make it easy to re-map to any of the _other_ ways of operating multiple spindles without conflicting with any of them)
linuxcnc.org/docs/2.8/html/getting-start...iple_spindle_support
The following user(s) said Thank You: spma

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

More
15 Aug 2019 10:42 - 15 Aug 2019 10:43 #142220 by spma
So when the intention is to use both turrets to machine the same stock then I think that would do it and basically all
that G-Code work would be done by the post-processor.

The thing is, when I say the intention of working with it as two separate lathes I literally mean to be able two run 2 different
G-code programs on the same instance of LinuxCNC, each one controlling half of the machine, just like they were 2, with the exception that all the electronics are common, as well as the realtime module of LinuxCNC has to be.
Last edit: 15 Aug 2019 10:43 by spma. Reason: fix typo

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

More
15 Aug 2019 17:18 #142257 by andypugh
I don't think that a preprocessor would know that you wanted that.
My suggestion would be to use a separate utility to convert two G-code files to a single nested G-code file.

This thread here has a script that does something similar (but different) for a foam cutter.

forum.linuxcnc.org/38-general-linuxcnc-q...r-me?start=10#120524

I would suggest that for one-off parts there is not much to be gained from running the code concurrently rather than consecutively. When there is enough time to be gained it will be worth the effort of running the files through a conversion script.
The following user(s) said Thank You: spma

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

Time to create page: 0.230 seconds
Powered by Kunena Forum