Welcome! Log In Create A New Profile

Advanced

Run G1 for 2 tools simultaneously?

Posted by CJ.BRAVO 
Run G1 for 2 tools simultaneously?
April 10, 2020 08:41AM
Hey,

As I understand gcode, it has to wait for the line of command to finish.
if run this segment:

T0
G1 X24.577 Y197.646 E0.5019 F1470
G1 X26.626 Y197.646 E2.7959


it has to finish line 1 before line 2, right?

But can I do this:

T0
G1 X24.577 Y197.646 E0.5019 F1470

T2
G1 X26.626 Y197.646 E2.7959

And have T2 line run at the same time? T2 is set to be on a different X axis (U) but both are running on the same Y axis.

Why would I do this?
I'd like to try and print parts of the same model using two tools at the same time.

Using DUET 3 / reprap

Thoughts?
Re: Run G1 for 2 tools simultaneously?
April 10, 2020 05:05PM
I don't think that would be possible to implement without a severe impact on print quality, because of the shared Y axis. It would also need a very clever slicer to generate GCode to print two objects with a shared Y axis.

RepRapFirmware supports multiple Y axes as well as multiple X axes (that is, IDEXY as well as IDEX) and at least one user is running such a machine on Duet electronics. With independent X and Y axes, it would be much easier to print two different objects simultaneously, or two parts of the same object. RepRapFirmware on Duet 3 supports two concurrent movement queues, so part of the necessary firmware support is already present. The layer changes would still need to be synchronised, and bed compensation would not be possible.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Run G1 for 2 tools simultaneously?
April 10, 2020 05:17PM
Hi David,

I'm ok with the impact on print quality. smiling smiley

what does "concurrent movement queues" mean?

I posted also in the duet forum but I edited the the gcode lines:

T0
G1 X24.577 Y197.646 E0.5019

T2
G1 U26.626 Y197.646 E2.7959

So if I refer to two gantries X and U who move with the same Y, can I have the two tools run at the same time? both extruding together?

at the duet forum one suggested maybe to specify two E moves:

G1 X10.0 Y12.0 U15.0 E0.5:0.4

and yes, this would require a unique slicer winking smiley

thanks
Re: Run G1 for 2 tools simultaneously?
April 11, 2020 02:17AM
Yes, you can create a single tool that uses both heaters and both extruders (same as when ditto or mirror prints on an IDEX printer) and send a single GCode line to drive both of them.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Run G1 for 2 tools simultaneously?
April 11, 2020 02:50PM
ok, let's say I have these commands:

T0
M567 E:0.1:0.1 ;has two drivers
G1 X1 Y1 E100

T1
M567 E:0.1:0.1 ; has two other drivers than T0
G1 U1 Y1 E100

T1 will run only after T0 has finished, right? I'm looking to have both tools run at the same time... how would you suggest to write it?
Re: Run G1 for 2 tools simultaneously?
April 12, 2020 02:32AM
Use M563 to create a single tool that uses both heaters and both extruders. That way you don't need to switch tools.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Sorry, only registered users may post in this forum.

Click here to login