Driver for X not working



  • Hey guys,

    Happy men's day šŸ¤˜ So a cry for help out of the men cave:
    I received a replacement Duet Wifi because I was not able to connect to it.
    Now I received the new one and the Fan 1 is not working - that is not so bad, because I have some spare ports on the Duex 5 (on which the fan in the configuration is working)

    For the record: It is a Duet Wifi V1.4 with RRF 3.1.0

    The problem is, that the Driver for X is not working. When I try to move the axis I get this error message: a101206b-5976-4426-9faa-4b51d5338152-grafik.png

    The connector is right, because it is working on the E0 when I remap the drivers. Furthermore I double checked that the phases are correct (the 2 cables next to each other have continuity and the others don't).

    Actual configuration:

    M584 X0 Y1 Z2 U3 V4 E5:6:7:8:9
    

    Configuration for testing with the X-Axis motor on the E0 driver:

    M584  X3 Y1 Z2 E5:6:7:8:9
    

    Does anyone have any ideas?


  • Moderator

    Can you post a close up of the driver front and back please?

    Does the chip get hot?

    How are you trying to move the X axis? What are the rest of your settings for the x axis? Please post your config.g

    Also, please update to firmware 3.1.1



  • Hey Phaedrux,

    thank you for your reply! I hope my info help:

    1. Pictures of the driver:
      1.1 front (hard to focus)
      20200522_175203[1].jpg

    1.2 back
    20200522_175445[1].jpg

    1. The driver chip is not getting significantly hot. Around same temperature (subjective) as the others. After the homing attempts the Z,Y are hotter than the X (so seems like no current is flowing)

    2. 1 Trying to move the x-Axis with G1 H1 X20 (works with the other axis too). At first I tried with my homedelta.g and then I get the error message. Witch the G1 command I don't get any messages
      homedelta.g

    ; homedelta.g
    ; called to home all towers on a delta printer
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Fri Apr 10 2020 17:42:41 GMT+0200 (MitteleuropƤische Sommerzeit)
    
    M98 P"Alarmsound.g"
    
    G91                        ; relative positioning
    G1 H1 X785 Y785 Z785 F6900 ; move all towers to the high end stopping at the endstops (first pass)
    G1 H2 X-5 Y-5 Z-5 F6900    ; go down a few mm
    G1 H1 X10 Y10 Z10 F360     ; move all towers up once more (second pass)
    ;G1 Z-5 F6000               ; move down a few mm so that the nozzle can be centred
    ;G90                        ; absolute positioning
    ;G1 X0 Y0 F6000             ; move X+Y to the centre
    ;G1 Z200
    
    
    

    3.2 I don't think that it is a problem of the config, because when I use X3 in M584 (after rewiring) it works. config:

    config in next post due to limitations
    4. Update to 3.1.1 changed nothing



  • ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Fri Apr 10 2020 17:42:41 GMT+0200 (MitteleuropƤische Sommerzeit)
    
    ; General preferences
    G90                                                                                        ; send absolute coordinates...
    M83                                                                                        ; ...but relative extruder moves
    M550 P"test"                                                                            ; set printer name
    M665 L400.000:400.000:400.000 R228.596 H371.000 B130.0 X0.285 Y0.252 Z0.000
    M666 X-0.748 Y0.044 Z0.704 A0.00 B0.00
    
    
    ; Network
    M551 P"test"                                                                               ; set password
    M552 S1                                                                                    ; enable network
    M586 P0 S1                                                                                 ; enable HTTP
    M586 P1 S0                                                                                 ; disable FTP
    M586 P2 S0                                                                                 ; disable Telnet
    
    ; Motor remapping
    ,M584 X0 Y1 Z2 U3 V4 E5:6:7:8:9; Driver X=0, Y=1, Z=2, U=3, v= 4, Extruder 5 and 6 7 8 9, remapping the drives
    M584 X0 Y1 Z2 E5:6:7:8:9 ;for testing
    ;M584  X3 Y1 Z2 E5:6:7:8:9                                                            ; set drive mapping
    
    ; Drives
    M569 P0 S1                                                                                 ;x physical drive 0 goes forwards
    M569 P1 S1                                                                                 ;y physical drive 1 goes forwards
    M569 P2 S1                                                                                 ;z physical drive 2 goes forwards
    M569 P3 S0                                                                                 ;u physical drive 3 goes backwards
    M569 P4 S0                                                                                 ;v physical drive 4 goes backwards
    M569 P5 S0                                                                                 ;e0 physical drive 5 goes forwards
    M569 P6 S0                                                                                 ;e1 physical drive 6 goes forwards
    M569 P7 S0                                                                                 ;e2 physical drive 7 goes forwards
    M569 P8 S0                                                                                 ;e3 physical drive 8 goes forwards
    M569 P9 S0                                                                                 ;e4 physical drive 9 goes forwards
    M350 X16 Y16 Z16 U16 V16 I1                                                         	   ; configure microstepping with interpolation
    M350 E16:16:16:16:16 I1																	   ; configure microstepping with interpolation	
    M92 X160.00 Y160.00 Z160.00 U3200.00 V150.00             ; set steps per mm
    M92 E410.00 E410.00 E410.00 E410.00 E410.00	            ; set steps per mm
    M566 X1200.00 Y1200.00 Z1200.00 U600.00 V600.00       ; set maximum instantaneous speed changes (mm/min)
    M566 E1200.00:1200.00:1200.00:1200.00:1200.00	    ; set maximum instantaneous speed changes (mm/min)
    M203 X20000 Y20000 Z20000 U1000 V2000 			   ; set maximum speeds (mm/min)
    M203 E2000:2000:2000:2000:2000					  ; set maximum speeds (mm/min)
    M201 X3000.00 Y3000.00 Z3000.00 U1000 V1000 	  ; set accelerations (mm/s^2)
    M201 E3000.00:3000.00:3000.00:3000.00:3000.00   	  ; set accelerations (mm/s^2)
    M906 X2000 Y2000 Z2000 U1000 V2000 I30                    ; set motor currents (mA) and motor idle factor in per cent
    M906 E1000:1000:1000:1000:1000 I30			        ; set motor currents (mA) and motor idle factor in per cent
    M84 S30                                                                                    ; Set idle timeout
    
    ; Axis Limits
    M208 Z-3 S1                                                                                ; set minimum Z
    
    ; Endstops
    M574 X2 S1 P"!xstop"                                                                        ; configure active-high endstop for high end on X via pin xstop
    M574 Y2 S1 P"!ystop"                                                                        ; configure active-high endstop for high end on Y via pin ystop
    M574 Z2 S1 P"!zstop"                                                                        ; configure active-high endstop for high end on Z via pin zstop
    M574 U1 S1 P"!e0stop"
    M574 V1 S1 P"!e1stop"
    
    ; Z-Probe
    M558 P5 C"^!zprobe.in+zprobe.mod" H5 F120 T6000                                            ; set Z probe type to switch (NC), Invert (!) (so NO), enable Pullup (^)  and the dive height (5mm) + speeds (120 mm/min)
    ;M558 H30                                                                                   ;*** Remove this line after delta calibration has been done and new delta parameters have been saved
    G31 P500 X0 Y0 Z1.6                                                                        ; set Z probe trigger value, offset and trigger height
    M557 R130 S20                                                                              ; define mesh grid
    
    
    
    
    


  • ; Heaters
    ;-------------Creation of Sensor 0 (Bed)-----------------
    M308 S0 P"bedtemp" Y"thermistor" T100000 B4138                                             ; configure sensor 0 as thermistor on pin bedtemp
    M950 H0 C"bedheat" T0                                                                      ; create bed heater output on bedheat and map it to sensor 0
    M143 H0 S120                                                                               ; set temperature limit for heater 0 to 120C
    M307 H0 A111.1 C161.4 D0.6 B1 S1.00                                                        ; enable bang-bang mode for the bed heater and set PWM limit, tuned on 16.05.
    M140 H0                                                                                    ; map heated bed to heater 0
    
    ;-------------Creation of Sensor 1-----------------------
    M308 S1 P"duex.e2temp" Y"thermistor" T100000 B4138                                         ; configure sensor 1 as thermistor on pin duex.e2temp
    M950 H1 C"duex.e2heat" T1                                                                  ; create nozzle heater output on duex.e2heat and map it to sensor 1
    M143 H1 S280                                                                               ; set temperature limit for heater 1 to 280C
    M307 H1 B0 S1.00                                                                           ; disable bang-bang mode for heater  and set PWM limit
    ;-------------Creation of Sensor 2-----------------------
    M308 S2 P"duex.e3temp" Y"thermistor" T100000 B4138                                         ; configure sensor 2 as thermistor on pin duex.e3temp
    M950 H2 C"duex.e3heat" T2                                                                  ; create nozzle heater output on duex.e3heat and map it to sensor 2
    M143 H2 S280                                                                               ; set temperature limit for heater 2 to 280C
    M307 H2 B0 S1.00                                                                           ; disable bang-bang mode for heater  and set PWM limit
    ;-------------Creation of Sensor 3-----------------------
    M308 S3 P"duex.e4temp" Y"thermistor" T100000 B4138                                         ; configure sensor 3 as thermistor on pin duex.e4temp
    M950 H3 C"duex.e4heat" T3                                                                  ; create nozzle heater output on duex.e4heat and map it to sensor 3
    M143 H3 S280                                                                               ; set temperature limit for heater 3 to 280C
    M307 H3 B0 S1.00                                                                           ; disable bang-bang mode for heater  and set PWM limit
    ;-------------Creation of Sensor 4-----------------------
    M308 S4 P"duex.e5temp" Y"thermistor" T100000 B4138                                         ; configure sensor 4 as thermistor on pin duex.e5temp
    M950 H4 C"duex.e5heat" T4                                                                  ; create nozzle heater output on duex.e5heat and map it to sensor 4
    M143 H4 S280                                                                               ; set temperature limit for heater 4 to 280C
    M307 H4 B0 S1.00                                                                           ; disable bang-bang mode for heater  and set PWM limit
    ;-------------Creation of Sensor 5-----------------------
    M308 S5 P"duex.e6temp" Y"thermistor" T100000 B4138                                         ; configure sensor 5 as thermistor on pin duex.e6temp
    M950 H5 C"duex.e6heat" T5                                                                  ; create nozzle heater output on duex.e6heat and map it to sensor 5
    M143 H5 S280                                                                               ; set temperature limit for heater 5 to 280C
    M307 H5 B0 S1.00                                                                           ; disable bang-bang mode for heater  and set PWM limit
    
    ; Fans
    ;----------------------------------------------------------------------
    ;Default pins So you need to clear the pin assignment first, with:
    M950 F0 C"nil" ; disable fan 0 and free up the associated pin
    M950 F1 C"nil" ; disable fan 1 and free up the associated pin
    M950 F2 C"nil" ; disable fan 2 and free up the associated pin
    M950 F0 C"fan0" Q500                                                                       ; create fan 0 on pin fan0 and set its frequency
    M106 P0 S0 H-1 C"Partcooling Fan"                                                          ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"fan2" Q500                                                                       ; create fan 1 on pin fan1 and set its frequency
    M106 P1 S1 H1:2:3:4:5 C"Hot-End Fans" T35:45                                                  ; set fan 1 value. Thermostatic control is turned on
    M308 S6 Y"mcu-temp" A"MCU"								   ; 04.05. Creates sensors for the MCU temp
    M950 F2 C"duex.fan3" Q500 									   ; 04.05. create fan 2 on pin fan2 and set its frequency                        
    M106 P2 H6 L0.25 X1 B0.3 T20:25 							   ; 04.05. set fan 2 value. Thermostatic control is turned on, minimum Fan speed 0.25
    
    ; Tools
    ;-------------Creation of Tool 0----------------------------
    ;M563 P0 D2 H3 F0                                                                           ; define tool 0
    M563 P0 D0 H1 F0
    G10 P0 X0 Y0 Z0                                                                            ; set tool 0 axis offsets
    G10 P0 R0 S0                                                                               ; set initial tool 0 active and standby temperatures to 0C
    ;-------------Creation of Tool 1----------------------------
    ;M563 P1 D3 H4 F0                                                                           ; define tool 1
    M563 P1 D1 H2 F0
    G10 P1 X0 Y0 Z0                                                                            ; set tool 1 axis offsets
    G10 P1 R0 S0                                                                               ; set initial tool 1 active and standby temperatures to 0C
    ;-------------Creation of Tool 2----------------------------
    ;M563 P2 D4 H5 F0                                                                           ; define tool 2
    M563 P2 D2 H3 F0
    G10 P2 X0 Y0 Z0                                                                            ; set tool 2 axis offsets
    G10 P2 R0 S0                                                                               ; set initial tool 2 active and standby temperatures to 0C
    ;-------------Creation of Tool 3----------------------------
    ;M563 P3 D5 H6 F0                                                                           ; define tool 3
    M563 P3 D3 H4 F0
    G10 P3 X0 Y0 Z0                                                                            ; set tool 3 axis offsets
    G10 P3 R0 S0                                                                               ; set initial tool 3 active and standby temperatures to 0C
    ;-------------Creation of Tool 4----------------------------
    ;M563 P4 D6 H7 F0                                                                           ; define tool 4
    M563 P4 D4 H5 F0
    G10 P4 X0 Y0 Z0                                                                            ; set tool 4 axis offsets
    G10 P4 R0 S0                                                                               ; set initial tool 4 active and standby temperatures to 0C
    
    
    ; GPIO output
    M950 P5 C"duex.gp1"									   ; 04.05 GPIO Port 0 is an output on the Duex5 expansion
    ;M42 P5 S1 or S0 									   ; 04.05 in Tool Change commands so that GPIO Pin P0 is switched to 1 or 0
    M42 P5 S0
    ;M42 P5 S0											   ; 10.04 because GPIO default is 1
    G4 P1500
    M42 P5 S1
    G4 P1000
    M42 P5 S0
    
    ; External Trigger for Emergency Stop
    ;Attention Set up for RRF 3.01 RC2 and later
    ;M574 P"!duex.e6stop" S1
    ;M950 J1 C"!duex.e6stop"									   ; Create an Input pin
    ;M581 P1 T2 S0 R0                                                                              ; Configure External Trigger for P1 (matching J1 in M950), on falling edge (S0), always active (R0)
    
    ;PanelDue
    M575 P1 S1 B57600									   ; Set up parameters for Communication with panel
    										   
    ; Miscellaneous
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"                                         ; set voltage thresholds and actions to run on power loss
    ;T0                                                                                         ; select first tool
    
    
    

  • Moderator

    Would you be able to test a simplified config.g for me without the duex connected with only the normal X Y Z E drivers defined and configured.

    M584 X0 Y1 Z2 E3
    ; Drives
    M569 P0 S1                                                                                 
    M569 P1 S1                                                                                
    M569 P2 S1                                                                                 
    M569 P3 S0                                                                                
    M350 X16 Y16 Z16 E16 I1
    M92 X160 Y160 Z160 E410
    M556 X1200 Y1200 Z1200 E1200
    M203 X20000 Y20000 Z20000 E2000
    M201 X3000 Y3000 Z3000 E3000
    M906 X2000 Y2000 Z2000 E1000
    


  • Yeah sure.

    So ribbon cable is disconnected and I used this config.g:

    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Fri Apr 10 2020 17:42:41 GMT+0200 (MitteleuropƤische Sommerzeit)
    
    ; General preferences
    G90                                                                                        ; send absolute coordinates...
    M83                                                                                        ; ...but relative extruder moves
    M550 P"test"                                                                            ; set printer name
    M665 L400.000:400.000:400.000 R228.596 H371.000 B130.0 X0.285 Y0.252 Z0.000
    M666 X-0.748 Y0.044 Z0.704 A0.00 B0.00
    M666 X-0.748 Y0.044 Z0.704 A0.00 B0.00
    
    
    ; Network
    M551 P"test"                                                                               ; set password
    M552 S1                                                                                    ; enable network
    M586 P0 S1                                                                                 ; enable HTTP
    M586 P1 S0                                                                                 ; disable FTP
    M586 P2 S0                                                                                 ; disable Telnet
    
    ; Motor remapping
    M584 X0 Y1 Z2 E3
    
    ; Drives
    M569 P0 S1                                                                                 
    M569 P1 S1                                                                                
    M569 P2 S1                                                                                 
    M569 P3 S0                                                                                
    M350 X16 Y16 Z16 E16 I1
    M92 X160 Y160 Z160 E410
    M556 X1200 Y1200 Z1200 E1200
    M203 X20000 Y20000 Z20000 E2000
    M201 X3000 Y3000 Z3000 E3000
    M906 X2000 Y2000 Z2000 E1000
     
    ; Endstops
    M574 X2 S1 P"!xstop"                                                                        ; configure active-high endstop for high end on X via pin xstop
    M574 Y2 S1 P"!ystop"                                                                        ; configure active-high endstop for high end on Y via pin ystop
    M574 Z2 S1 P"!zstop"                                                                        ; configure active-high endstop for high end on Z via pin zstop
    

    Same result


  • Moderator

    Thanks. It sounds like you've got a driver failure. Where and when was the Duet purchased?



  • I received the duet directly from duet3d last week because it is for a university project. It already was a replacement board, because the first one was unable to connect over USB


  • Moderator

    @taconite sorry for the inconveniences caused.

    Please initiate a warranty form for this board.



  • No problem!! Thank you for your help & support! You guys do a terrific job!


Log in to reply