Extruder and Axis A working at the same time. Is it posibble?
-
Hello all!!
Currently, I'm working with an O-S GigabotX, we have done some modifications so we are using a Duet 3 MB 6HC. The extrusion system of this printer is a single screw (we are printing pellets).However, the feeding is not enough to extrude the quantity of material required. Therefore, we have implemented a system consisting of a screw to help push the material into the main extruder. The stepper motor we have connected in a drive and create an axis A with an endless sensor. The device works well when in the slicer I make an script, however, it only works every time that the layer change, but what I really want to do is that the screw (axis A) activates when the E (extruder) is working. So far, I have tried with a trigger but I didn't succeed haha.
There is anyone knows how can I change the configuration in order to make the two drives work at the same time?
Thanks -
@Casugo have you tried defining an tool with two extruder drives? e.g.
M584 E4:5
M563 P0 D0:2 H1
or similar
(assuming you are using drivers 4 and 5 on the 6HC)You can set the correct "steps/mm" to make them work as expected and then if you need to modify the rate of see between the two at certain points you can use the tool mix ratio:
https://docs.duet3d.com/User_manual/Reference/Gcodes#m567-set-tool-mix-ratios
-
@T3P3Tony Yes, I have tried it. However, the extruder that I declare first (E4) is the only one moving and the other remains static
(either sending the G1 E... command directly in the console or with a Gcode of a part).Thanks.
-
@Casugo what do you get when you send
M563 P0
from the console where "0" is the tool number.
Also what did you set your mix ratio to? you can check by sending
M567 P0
-
@T3P3Tony I get this from my console when I sent M567 P0 :
M563 P0
Tool 0 - name: Pellet extrudeur; drives: 0; heaters (active/standby temps): 1 (270.0/0.0),2 (230.0/0.0),3 (220.0/0.0); xmap: X; ymap: Y; fans: 0; no spindle; status: selectedThen, this with M567 P0 :
M567 P0
Tool 0 mix ratios: 1.000 (even if I had placed 0.5 for driver 4 and 1.0 for driver 5)My confg is like:
; Drives
M569 P0.0 S2 ; physical drive 0.0 goes forwards X
M569 P0.1 S1 ; physical drive 0.1 goes forwards YR
M569 P0.2 S0 ; physical drive 0.2 goes Backwards YL
M569 P0.3 S1 ; physical drive 0.3 goes forwards ZR n ZL
M569 P0.4 S1 ; physical drive 0.4 goes forwards Crammer
M569 P0.5 S1 ; physical drive 0.5 goes forwards Extruder
M584 X0.0 Y0.1:0.2 Z0.3 E0.4:0.5 ; set drive mapping
M350 X16 Y16:16 Z16 E16:16 I1 ; configure microstepping with interpolation
M92 X53.335 Y59.26:59.26 Z2015.75 E110.00:800.00 ; set steps per mm
M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
;M566 X300.00 Y540.00:540.00 Z60.00 E120.00:1600.00 ; set maximum instantaneous speed changes (mm/min)
M203 X9000.00 Y9000.00:9000.00 Z240.00 E3600.00:3600.00 ; set maximum speeds (mm/min)
M201 X900.00 Y900.00:900.00 Z100.00 E10000.00:10000.00 ; set accelerations (mm/s^2)
;M204 P 1000.00 T3000 ; set printing and travel accelerations (mm/s^2)
M906 X2800 Y2000:2000 Z2000 E850:3000 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeoutThen, tool confg:
; Tools
M563 P0 S"Pellet extrudeur" D0.4:0.5 H1:2:3 F0 ; define tool 0
M567 P0 E0.5:1.0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0CThere are 3 heaters as my machine used 3.
-
@Casugo said in Extruder and Axis A working at the same time. Is it posibble?:
.....................M563 P0 S"Pellet extrudeur" D0.4:0.5 H1:2:3 F0 ; define tool 0
That's incorrect. When you define extruders in M584, the first extruder is D0 , then next D1 etc. So when you define a tool, you need to reference the extruder number, not the drive that it's mapped to.
So what you need is M563 P0 S"Pellet extruduer" D0:1 H1:2:3 F0.
You are not the first to fall into that trap, and you won't be the last....
-
@deckingman Thank you so much!!
Now I have both working at the same time.Thanks all
-
-