external drive a4988 duet no work
-
@phaedrux said in external drive a4988 duet no work:
@dpsslaser2020 said in external drive a4988 duet no work:
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards (Y1)
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M569 P4 S1 ; Drive 4 goes forwards (Y2)
;M569 P5 R0 T2.5:2.5:5:0
M569 P5 R0 T2.5:2.5:5:0
M584 X0 Y1:4 Z2 E3:4You've got driver 4 bound to Y and E. Which is it?
for test no work!:(
M567 P0 E3:5 -
Where do you have the external driver connected?
https://duet3d.dozuki.com/Wiki/Using_external_stepper_motor_drivers
-
@phaedrux said in external drive a4988 duet no work:
Where do you have the external driver connected?
https://duet3d.dozuki.com/Wiki/Using_external_stepper_motor_drivers
E2 Axis assignment xyz working!
But E2 does not work on the "E" axis!If I set E2 "a4988" on these axes
working on E2
M584 X0:5 Y1: 4 Z2 E3
working on E2
M584 X0 Y1: 4:5 Z2 E3
working on E2
M584 X0 Y1:4 Z2:5 E3
not working on E2 don't know why?
M584 X0 Y1:4 Z2 E3:5 -
@dpsslaser2020 said in external drive a4988 duet no work:
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X80.00 Y80.00 Z800.00 E145.75 ; Set steps per mm
M566 X600.00 Y600.00 Z12.00 E120.00 ; Set maximum instantaneous speed changes (mm/min)
M203 X18000.00 Y18000.00 Z180.00 E300.00 ; Set maximum speeds (mm/min)
M201 X3000.00 Y3000.00 Z20.00 E10000.00 ; Set accelerations (mm/s^2)
M906 X1300.00 Y1300.00 Z800.00 E800.00 I30 ; Set motor currents (mA) and motor idle factor in per centYou'll need to set the values for the second E drive.
Example:
M350 X16 Y16 Z16 E16:16 I1
Note the E16:16
Extruders are independent axis and need to be each defined.
-
@dpsslaser2020 you've also only mapped your first extruder to your tool T0 (the D parameter in M563). From your config
; Tools M563 P0 D0 H1 ; Define tool 0
You either need to define a second tool, or assign both extruders to tool T0. You can then set a 1:1 mixing ratio so that they both move the same amount (or any ratio you choose)
-
@phaedrux said in external drive a4988 duet no work:
@dpsslaser2020 said in external drive a4988 duet no work:
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X80.00 Y80.00 Z800.00 E145.75 ; Set steps per mm
M566 X600.00 Y600.00 Z12.00 E120.00 ; Set maximum instantaneous speed changes (mm/min)
M203 X18000.00 Y18000.00 Z180.00 E300.00 ; Set maximum speeds (mm/min)
M201 X3000.00 Y3000.00 Z20.00 E10000.00 ; Set accelerations (mm/s^2)
M906 X1300.00 Y1300.00 Z800.00 E800.00 I30 ; Set motor currents (mA) and motor idle factor in per centYou'll need to set the values for the second E drive.
Example:
M350 X16 Y16 Z16 E16:16 I1
Note the E16:16
Extruders are independent axis and need to be each defined.
M350 X16 Y16 Z16 E16:16 I1 ; Configure microstepping with interpolation M92 X80.00 Y80.00 Z800.00 E145.75:145.75 ; Set steps per mm M566 X600.00 Y600.00 Z12.00 E120:120 ; Set maximum instantaneous speed changes (mm/min) M203 X18000.00 Y18000.00 Z180.00 E300:300 ; Set maximum speeds (mm/min) M201 X3000.00 Y3000.00 Z20.00 E10000:10000 ; Set accelerations (mm/s^2) M906 X1300.00 Y1300.00 Z800.00 E800:800 I30 ; Set motor currents (mA) and motor idle factor in per cent M84 S30 Auxiliary configuration for all dual motors with this setting? but that doesn't help either!
-
@engikeneer said in external drive a4988 duet no work:
@dpsslaser2020 you've also only mapped your first extruder to your tool T0 (the D parameter in M563). From your config
; Tools M563 P0 D0 H1 ; Define tool 0
You either need to define a second tool, or assign both extruders to tool T0. You can then set a 1:1 mixing ratio so that they both move the same amount (or any ratio you choose)
M563 P0 D0:1 H1 F0 ; define tool 0
M563 P1 D0:2 H1 F0 ; define tool 1
M567 P5 E3:5there is a mix icon but only one engine goes for both of them to move in mix mode!
-
@phaedrux said in external drive a4988 duet no work:
Where do you have the external driver connected?
https://duet3d.dozuki.com/Wiki/Using_external_stepper_motor_drivers
Where do you have it connected? The expansion header?
-
@phaedrux said in external drive a4988 duet no work:
@phaedrux said in external drive a4988 duet no work:
Where do you have the external driver connected?
https://duet3d.dozuki.com/Wiki/Using_external_stepper_motor_drivers
Where do you have it connected? The expansion header?
E2 connection pin are correct because it works on xyz axes when I set it up!
software setup problem is in this looking for the right way! -
@dpsslaser2020 said in external drive a4988 duet no work:
M563 P0 D0:1 H1 F0 ; define tool 0
M563 P1 D0:2 H1 F0 ; define tool 1
M567 P5 E3:5Here you have assigned two tools. One uses extruders 0 & 1 (okay), the other tool uses extruder 1 & 2 (which doesn't exist).
In your M567 you have assigned a mixing ratio of 3:5 on tool 5 (which doesn't exist!).
You want:
M563 P0 D0:1 H1 F0 ; define tool 0 using extruder 0 and 1 M567 P0 E1:1 ; assign 1:1 mixing ratio to tool 0
-
@engikeneer said in external drive a4988 duet no work:
@dpsslaser2020 said in external drive a4988 duet no work:
M563 P0 D0:1 H1 F0 ; define tool 0
M563 P1 D0:2 H1 F0 ; define tool 1
M567 P5 E3:5Here you have assigned two tools. One uses extruders 0 & 1 (okay), the other tool uses extruder 1 & 2 (which doesn't exist).
In your M567 you have assigned a mixing ratio of 3:5 on tool 5 (which doesn't exist!).
You want:
M563 P0 D0:1 H1 F0 ; define tool 0 using extruder 0 and 1 M567 P0 E1:1 ; assign 1:1 mixing ratio to tool 0
It starts in a proven basic mix mode with the control E axis and both motors move in sync!
Thank you!
Have a nice day!