external drive a4988 duet no work
-
There is an external drive a4988 driver 16 steps duet3d (E2 = driver5) connected to sep, dir, enable correctly!
Physical base exruder E0 = driver3 this moves tmc2660!
I want to synchronize the two motors E0 and E2!
This config does not move E2!; Configuration file for Duet WiFi (firmware version 1.21)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2 on Thu Mar 07 2019 22:44:24 GMT+0100 (közép-európai téli idő); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder movesM98 P"sta_mode.g"
;M588 S"" P"" ;clear wifi setting eeprom!
;-----------------------------
;AP mode config M589
;M552 S2
;M589 S"DUET3D_2" P"12345678" I192.168.4.1;-----------------------------
; Drives
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:4
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 cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X340 Y330 Z300 S0 ; Set axis maxima; Endstops
M574 X1 Y1 Z1 S1 ; Set active high endstops; Z-Probe
M558 P0 H5 F120 T6000 ; Disable Z probe but set dive height, probe speed and travel speed
;M557 X15:200 Y15:200 S20 ; Define mesh grid
M557 X50:340 Y50:330 S100 ; Define mesh grid; Heaters
M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M307 H0 A91.9 C93.8 D2.7 S1.00 V12.1 B1 ;pid
M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S280 ; Set temperature limit for heater 1 to 280C
M307 H1 A650.5 C209.5 D8.4 S1.00 V11.7 B0 ;pid; Fans
M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S0 I0 F500 H-1; Tools
M563 P0 D0 H1 ; Define tool 0
G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C; Automatic power saving
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss; Custom settings are not configured
;M307 H2 A-1 C-1 D-1 ; Disable Heater E1 for use with the Berd-Air cooling
;M106 P0 A2 S0 F30000 ; Fan 0 (Part Cooler) using Heater E1 Mosfet; Custom settings are not configured
;M307 H2 A-1 C-1 D-1 ; disable heater 2 to make it available as a general purpose output pin
;M452 P2 R255 F200M307 H2 A-1 C-1 D-1
M42 P2 S70 ;LED LIGHT RIBBON[c];Emergency Stop
M581 T0 E0 S1 C0[/c] ; E1 input https://forum.duet3d.com/topic/4611/emergency-stop-configuration/2
;M581 T2 E1 S2 C0 ; T1 PAUSE, T0 EM-STOP https://forum.duet3d.com/topic/8793/emergency-stop-external-reset/6
;M574 E0 S0
M582 T2
M581 T2 E0 S1 C0 -
@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?
-
This post is deleted! -
@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?
You've got driver 4 bound to Y and E. Which is it?
does not work if I order an exruder shaft E2
"M584 X0 Y1: 4 Z2 E3: 5"!
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 -
@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?
yes
dual motor y axis!what i want now is an extruder with two motors you need to have a synchronous move!
-
@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!