Twin Spindle / Twin Turret turning center

More
6 years 1 month ago #184353 by rexo
Two linuxcnc is probably the way but i can't find solution how to interconnect it and sending data from one to second. The only one function i found is linuxcncrsh for commanding linuxcnc over network.

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

More
6 years 1 month ago #184384 by Reinhard

I believe that if you want to have the two spindles and turrets to have the ability to run completely separate G-code files at the same time, the best solution at this time would be to simply set them up as two separate machines with two separate Linuxcnc PCs.

That's only true on a very superficial view.

Suppose you setup linuxcnc for one turret and one spindle. As long as the tools work with the "own" spindle, there's no problem.

The problem arises, when you want to use tools from on turret on the opposed spindle. As long as that spindle runs in lathe mode, no problem. But when you want coordinated moves with spindle as indexed C-axis, you need realtime synchronization between 2 uncoordinated PCs.

Can't imagine, that a reliable synchronization from one pc to the other would be fast enuf for coordinated moves.

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

More
6 years 1 month ago #184386 by andypugh

rexo wrote: Two linuxcnc is probably the way but i can't find solution how to interconnect it and sending data from one to second. The only one function i found is linuxcncrsh for commanding linuxcnc over network.


I think that this would be best done with a custom setup where the controllers toggle dedicated GPIO pins that are read/written by G-code.

So, start with a list of what each controller needs to know about the other.

For example I would dedicate a digital pin that would tell the secondary spindle to sync speed exactly with the primary one, and then make the primary spindle angle available to the secondary one to use as a target for a position PID.

But, first of all, I would suggest making it work as a single-controller XZUW machine and use it for a while. That will help to realise what you need the machine to do, and give you a grounding in how to do it.

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

More
6 years 1 month ago #184411 by Todd Zuercher
I can also imagine a set up that combines both, with a master control and daughter, where the master could control both sides as XZUW, or enable the daughter to execute synchronized code independently.

I think the hardest and most important part would be building the nessisary custom user interface capable of interacting with the daughter control. Hasn't there been some work on remote interfaces? This would seem to be the perfect use for such development.

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

More
5 years 9 months ago #194062 by rexo
Now i have working config, i am using 2 axis (X, Z) and 4 joints, for correction i use U and W column
basic tool correction is only in X,Z axis, in the U,W is only difference from X,Z
value is read from motion.tooloffset.u (w) and transferred to custom kinematics.
This solution is working, i have one program for 2 spindles and two tool turrets.
But i have one problem.
When tool and correction is loaded, then 3 and 4 axis is move to corrected position, but very slow.
This is due to pid, i don't known why. Axis is moving correctly, only correction moves is slow.

File Attachment:

File Name: etkins.c
File Size:3.94 KB

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

More
5 years 9 months ago #194067 by cmorley
Could you post your config files?

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

Time to create page: 0.058 seconds
Powered by Kunena Forum