Controlling multiple machines at once
-
Is the Duet environment able to control multiple machines doing different tasks simultaneously?
-
@3dpcnc Do you mean the control with DWC?
-
@cosmowave Not exactly - can I run separate tasks on separate machines at the same time, even if I had to run multiple instances of the software in containers.
I have a handful of machines doing different things that I would love to truly simplify into a single ecosystem through the Duet mainboard.
-
@3dpcnc One duet board with steppers connected to two different machines and two different hot-ends doing two different printing tasks?
I don't think so, but I'm willing to be wrong.
-
@3dpcnc I'm not sure, if i understand it correctly...
You d'like to run different gcodes on one machine? I think, this is not possible.... the FW can only run one gcode at the same time. -
@cosmowave said in Controlling multiple machines at once:
the FW can only run one gcode at the same time.
@3DPCNC
that's true, but when this single gcode stream has code for one printer with XYZE0 and another has UVWE1 assigned axes, the firmware could be able to control two identical machines (even three with ABCE2).
You'd have to slice each part individually for all machines and then 'comb' them together into one file. (...one file to rule them all )
The motion planner has a certain length of 'look ahead' buffer,so there would probably be no pause in the motion of each machine.G1 X... Y... Z... E... F... ; code for machine 1 G1 U...V... W... E... F... ; code for machine 2 G1 X... Y... Z... E... F... ; code for machine 1 G1 U...V... W... E... F... ; code for machine 2 a.s.o.
That's just a wild fantasy of mine, never done before I guess.
-
@o_lampe said in Controlling multiple machines at once:
that's true, but when this single gcode stream has code for one printer with XYZE0 and another has UVWE1 assigned axes, the firmware could be able to control two identical machines (even three with ABCE2)
That's true. But you have not the full control over the "different machines". You can only stop the "gcode stream" for all machines and not separatly.
Perhaps there are some tricks to do that?! I don't know.I prefer to build machines with separate controller boards...
-
@cosmowave said in Controlling multiple machines at once:
Perhaps there are some tricks to do that?! I don't know.
I prefer to build machines with separate controller boards...One could set steps/mm to "0" for a machine that should stop. (E.g. M92 U0 V0 W0 Enn.n:0:mm.m)
I agree about separate controllers, but just for fun...