Negative extrusion using tool with M563
-
Hi
If I define a tool using M563 like tool 0 with M563 P0 D0:2:3, I can extrude different amounts of filament from different extruders, right?
My question is wether these numbers can be negative for one extruder and positive for another.So would a command like G1 X90 Y15 E2: -1:10 extrude 2mm from extruder 0, retract 1mm from extruder 2 and extrude 10mm from extruder 3 using tool 0?
-
@magicsaxo007 said in Negative extrusion using tool with M563:
Hi
If I define a tool using M563 like tool 0 with M563 P0 D0:2:3, I can extrude different amounts of filament from different extruders, right?
My question is wether these numbers can be negative for one extruder and positive for another.So would a command like G1 X90 Y15 E2: -1:10 extrude 2mm from extruder 0, retract 1mm from extruder 2 and extrude 10mm from extruder 3 using tool 0?
That's an interesting question. My gut feel is that it might but I've never actually tried it. I have a multi-input hot end so it wouldn't be too difficult for me to run some sort of test. But before I expend the time and effort to find out, what would be the use case or is this just a hypothetical question?
-
Hi @deckingman
Thank you for your response and willingness to find out.
I am building a 3D printer with multiple extruders to print and mix fluids. In order for it to work, I need to be able to reduce pressure in some lines (retraction) while extruding from others at the same time. Until now, I was only able to this in separate GCode lines, and this Gcode command seems for me the only way to integrate this. But I would like to know if it is possible at all before I start messing around.So it would be an enormous help if you could let me know if this works
-
@magicsaxo007 I can confirm that this will work (although I remain unsure of why you would want to do it).
For completeness sake, my machine has 6 extruders feeding a 6 input, single output hot end. Currently I have an issue with one board so I am only able to use extruders 3, 4 and 5 (0, 1, and 2 are unusable at the moment). I powered on the machine and noted the extruder positions which all reported 0 (zero). I then heated the hot end and sent G1 E0:0:0:5:-5:10 (i.e. plus 5mm from extruder 3, minus 5mm from extruder 4 and plus 10mm from extruder 5. When this move had completed, the extruder positions were reported as 0 for extruders 0 to 2, (+) 5 for extruder 3, -5 for extruder 4 and (+) 10 for extruder 5. Which is all as expected.
Note that commanding extrusion in this form will override any mixing ratio set for the tool in use.
Note also that feed rate is usually applied to the sum of all the extruders. So for example if you sent G1 E10:10:10 F300 to extrude 10mm of filament using 3 extruders at 300mm/minute, then each extruder would run at 100mm/minute. So using a negative extrusion amount on one extruder is likely to increase the feed rate for the other two.
HTH
-
@deckingman This does help me a lot, thank you!