Driver Fault?



  • Hi, First off love the board and updates to DWC and the firmware, but i do have an issue with the drivers for the XY and Z axis. My X axis works perfectly but no matter what i do the Y and Z axis just wont move. All motors were checked to be operational previously on another one of my duets ( they are 0.9degree 1.7a ). If i do G91 then the usual G1 S2 X-5 or whatever the x axis works as expected try this with Y or Z and nothing at all. If i then move my Y motor connections to X and try G1 S2 X-5 the Y motor works as expected, and agin if i do this with Z it also works. So the only assumption i can make is the drivers for Y and Z aren't working. I was order number 63 in batch 1. I was wondering if anyone else has experienced this issue or has any other options i can try out?


  • administrators

    It's very unusual for both outputs of a driver to fail. If one output fails, the usual symptom is that the motor vibrates instead of turning. Here are some things you can check:

    • Run M584 to check that the Y and Z motors have not been mapped to other drivers. It should return:

    Driver assignments: X0 Y1 Z2 E3:4:5:6:7:8:9

    • Run M906 to make sure that you have set the Y and Z motor currents. It should return something like this (the values will depend on what you set in config.g):

    Motor current (mA) - X:1000, Y:1000, Z:1000, E:500:500:500:500:500:500:500, idle factor 60%

    • Run M92 to check that your steps/mm are sensible on all axes

    • Check that the two jumpers are installed in the unused Z motor connector

    Never connect or disconnect motors with power applied ot the board.



  • Thanks dc for the quick reply.

    Driver assignments are all ok.

    Motor currents set at 1000ma at the moment previously 500ma, still the same outcome.

    Micro stepping set at 1/64 and steps per mm are set at 800. ( 24vdc 0.9degree steppers with 16T pulleys and GT2 belts). X works others don't.

    Tried @256 with 3200 steps per mm and X axis still works others don't.

    Jumpers for unused Z axis motor are in place.

    I am always very careful when working with electronics as i have been an electrical engineer for 20 years πŸ™‚

    Its annoying because everything else works perfectly and worked first time:(

    The other annoying thing is that i was hoping to get this printer going so i could work on my other delta that has a duet 0.8.5 in it, it decided last week that one PWM fan output would stay on permanently and the other would switch but gets dragged down the minute you connect a fan to it.


  • administrators

    I guess it's time for t3p3 to send you an exchange board then, and send the first one to me for diagnosis. Tony, can you arrange this? Unless you can think of something I have missed.



  • honestly i don't know, i only finished building up this printer with the new board today and started working through everything, and like i said everything else when i have connected them and tested has worked perfectly and first time. The only thing i have noticed is if i shut down and restart the printer then do G91 followed by G1 S2 X10 it moves up smoothly when i do this for Y the first time you can here it try but nothing happens, if i do it again you cant hear anything. On Z when i try it it doesn't do anything at all .

    So basically i am at a loss, was hoping to be printing this weekend as well 😞


  • administrators

    Yes looks like a replacement and diagnosis is the way to go. Roland will contact you directly to arrange sending out a replacement.

    Sorry to ruin your weekend printing plans, all the boards were tested on our test rig before sending them out so this is very puzzling.


  • administrators

    Just in case it's a power sequencing issue, please try starting up with just USB power applied, then apply 12 or 24V power and then try to get the motors to move. Every time the Firmware sees the main power appear, it will re initialise the motor drivers.

    Also please check that you have at least 11V on the Vin terminals. The drivers cut out if they consider the voltage is too low.

    What feed rate are you specifying in your G1 commands?

    Please also post your config.g file.



  • For me to, plus there hasn't been any worrying smells and looking at the board there doesn't seem to be anything out of the ordinary, the PT100 daughter board and the IR sensor seem to work well though from what i can tell so thats a plus πŸ™‚

    I would be interested in finding out myself what the diagnosis uncovers, if thats possible. Normally its just clients industrial kit i blow up usually more careful with my own πŸ™‚



  • Hi dc, i will check your suggestions in the morning and post a copy of my config, tidied everything away for tonight. I was using a conservative feedrate of 500.

    Thanks for all your help and suggestions and i will let you know how i get on in the morning.


  • administrators

    I will be out of contact for most of today. Hopefully Tony will see this thread and sort out a replacement board for you



  • OH NO!! I have the same problem.

    I upgraded from Duet to Duet Wifi and no motors will move. 3 LEDs are lit on the board for X Y Z, strange the one for the extruder is not.

    Also using driver extender board. Those steppers aren't working either.

    Everything was working on the Duet.

    Running 1.15c firmware.

    HELP!

    Here is my current config.g

    ; Configuration file for Mini Kossel kit from Think3DPrint3D for testing Duet WiFi
    
    ; Communication and general
    M111 S0                             	; Debug off
    ;M550 PMiniKosselWiFiTest		; Machine name and Netbios name (can be anything you like)
    M550 PMini Kossel		    ; Machine name and Netbios name (can be anything you like)
    M551 Preprap                        	; Machine password (used for FTP)
    ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
    M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xEB 	; MAC Address
    
    ;*** Wifi Networking
    M552 S1				; Enable WiFi
    
    M555 P2                           	; Set output to look like Marlin
    M575 P1 B115200 S1			; Comms parameters for PanelDue
    
    G21                                 	; Work in millimetres
    G90                                	; Send absolute coordinates...
    M83                                 	; ...but relative extruder moves
    
    ; Axis and motor configuration
    M569 P0 S1				; Drive 0 goes forwards
    M569 P1 S1				; Drive 1 goes forwards
    M569 P2 S1				; Drive 2 goes forwards
    M569 P3 S0				; Drive 3 goes forwards
    M569 P4 S0				; Drive 4 goes forwards
    M569 P5 S0				; Drive 4 goes forwards
    
    ;M350 X16 Y16 E16 I1    			; Set 16x microstepping with interpolation
    M350 X128 Y128 Z128 E16 I1
    
    M574 X2 Y2 Z2 S1			; set endstop configuration (all endstops at high end, active high)
    M574 E S0							; set Extruder endstops to active low
    
    M906 X800 Y1000 Z800 E800
    
    ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration
    ;M665 R113.50 L216.0 B85 H327.189
    M665 R113.48 L216.0 B85 H327.330
    
    M666 X0 Y0 Z0					; put your endstop adjustments here, or let auto calibration find them
    ;M666 X-0.25 Y-0.25 Z0
    ;M666 X3.50 Y-0.25 Z0
    
    ;M906 X1000 Y1000 Z1000 E1000:1000:1000:1000:1000:1000 I60		; Set motor currents (mA) and increase idle current to 60%
    
    M201 X1000 Y1000 Z1000 E1000		; Accelerations (mm/s^2)
    M203 X20000 Y20000 Z20000 E3600		; Maximum speeds (mm/min)
    M566 X1200 Y1200 Z1200 E1200		; Maximum instant speed changes mm/minute
    
    ; Thermistors
    M305 P0 T100000 B3950 R4700 H30 L0	; Put your own H and/or L values here to set the bed thermistor ADC correction
    M305 P1 T100000 B3974 R4700 H30 L0	; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
    ;M305 P2 T100000 B3974 R4700 H30 L0	; Put your own H and/or L values here to set the second nozzle thermistor ADC correction
    M570 S360				; Hot end may be a little slow to heat up so allow it 180 seconds
    
    ; Fans
    M106 P1 H-1 				; disable thermostatic mode for fan 1
    
    ; Tool definitions
    ;M563 P0 D0 H1                       	; Define tool 0
    ;G10 P0 S0 R0                        	; Set tool 0 operating and standby temperatures
    
    M563 P0 D0 H1                       ; Define tool 0
    G10 P0 S0 R0                        ; Set tool 0 operating and standby temperatures
    
    M563 P1 D1 H1                      ; Define tool 1
    G10 P1 S0 R0                       ; Set tool 1 operating and standby temperatures
    
    M563 P2 D2 H1						; Define tool 2
    G10 P2 S0 R0
    
    ;*** If you have a single-nozzle build, comment the next 2 lines
    ;M563 P1 D1 H2                      	; Define tool 1
    ;G10 P1 S0 R0                       	; Set tool 1 operating and standby temperatures
    ;M92 E663:663                       	; Set extruder steps per mm
    
    ;M92 X100 Y100 Z100				; Set axis steps/mm
    ;M92 E97:97:97:97:97:97 	           ; Set extruder steps per mm explicitly for all the extruders - 6 for Duet085+Dt4 test (663)
    M92 X100 Y100 Z100 E97:97:97:97:97:97:97				; Set axis steps/mm
    
    ; Heater stuff
    ;M307 H1 A163.2 C132.0 D7.4			; Set PID control for Heater1 - M307 H1 to view current settings
    ;M307 H1 A163.2 C132.0 D7.4 B1       ; Use bang bang
    ;M307 H0 A90 C700 D10
    M307 H1 A198.0 C206.9 D9.9 B0        ; Set Hot end
    M307 H0 A44.1 C346.6 D6.3 B0         ; Set Bed
    
    ; Z probe and compensation definition
    ;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command
    ;M558 P1 X0 Y0 Z0			; Z probe is an IR probe and is not used for homing any axes
    ;G31 X0 Y0 Z4.80 P500			; Set the zprobe height and threshold (put your own values here)
    M558 P4 X0 Y0 Z0					; Z probe is a switch and is not used for homing any axes
    G31 X0 Y0 Z12.5 P500				; Set the zprobe height and threshold (put your own values here)
    
    ;*** If you are using axis compensation, put the figures in the following command
    ;M556 S78 X0 Y0 Z0                   	; Axis compensation here
    
    M208 S1 Z-0.2				; set minimum Z
    ;
    T0					; select first hot end
    
    

    Firmware Name: RepRapFirmware for Duet WiFi
    Firmware Version: 1.15c (2016-09-05)
    WiFi Server Version: 1.02
    Web Interface Version: 1.12



  • @Eddiie:

    OH NO!! I have the same problem.

    I upgraded from Duet to Duet Wifi and no motors will move. 3 LEDs are lit on the board for X Y Z, strange the one for the extruder is not.

    Also using driver extender board. Those steppers aren't working either.

    Everything was working on the Duet.

    Running 1.15c firmware.

    HELP!

    Which Driver Extender board are you talking about If you mean the DUEX4 then it is not compatible with the DuetWiFi Don't know what effect plugging one of them in may have?

    Doug


  • administrators

    Eddiie The Duex4 is definitely not compatible so unplug that at try again. Can you connect over the web interface? If so what happens when you home the axis?


  • administrators

    Eddiie The Duex4 is definitely not compatible so unplug that at try again. Can you connect over the web interface? If so what happens when you home the axis?



  • Morning,

    So new day same outcome, went through everything again as below:

    M584 returns:

    Driver assignments: X0 Y1 Z2 E3:4:5:6:7:8:9
    

    M906 returns:

    Motor current (mA) - X:1000, Y:1000, Z:1000, E:800:800:800:800:800:800:800, idle factor 30%
    

    M92 returns:

    Steps/mm: X: 800.000, Y: 800.000, Z: 800.000, E: 417.000:417.000:420.000:420.000:420.000:420.000:420.000
    

    Config.g

    ; Configuration file for Mini Kossel kit from Think3DPrint3D for testing Duet WiFi
    
    ; Communication and general
    M111 S0                             	; Debug off
    M550 PHex3D		; Machine name and Netbios name (can be anything you like)
    M551 Preprap                        	; Machine password (used for FTP)
    ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
    M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED 	; MAC Address
    ;*** Wifi Networking
    M552 S1				; Enable WiFi
    
    M555 P2                           	; Set output to look like Marlin
    M575 P1 B57600 S1			; Comms parameters for PanelDue
    
    G21                                 	; Work in millimetres
    G90                                	; Send absolute coordinates...
    M83                                 	; ...but relative extruder moves
    
    ; Axis and motor configuration
    M569 P0 S1				; Drive 0 goes forwards
    M569 P1 S1				; Drive 1 goes forwards
    M569 P2 S1				; Drive 2 goes forwards
    M569 P3 S1				; Drive 3 goes forwards
    M569 P4 S1				; Drive 4 goes forwards
    M574 X2 Y2 Z2 S1			; set endstop configuration (all endstops at high end, active high)
    ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration
    M665 R140 L290.8 B132.5 H340		; set delta radius, diagonal rod length, printable radius and homed height
    M666 X0 Y0 Z0				; put your endstop adjustments here, or let auto calibration find them
    ; M350 X16 Y16 E16 I1    		; Set 16x microstepping with interpolation
    ; M92 X80 Y80 Z80			; Set axis steps/mm
    
    M350 X64 Y64 Z64 E16 I0 		; Configure microstepping without interpolation
    M92 X800 Y800 Z800	 		; Set steps per mm
    
    M906 X1000 Y1000 Z1000 E800 I30		; Set motor currents (mA) and increase idle current to 60%
    M201 X1000 Y1000 Z1000 E1000		; Accelerations (mm/s^2)
    M203 X20000 Y20000 Z20000 E3600		; Maximum speeds (mm/min)
    M566 X1200 Y1200 Z1200 E1200		; Maximum instant speed changes mm/minute
    
    M84 S30 				; Set idle timeout
    
    ; Thermistors
    M305 P0 T100000 B3950 R4700 H0 L0	; Put your own H and/or L values here to set the bed thermistor ADC correction
    ; M305 P1 T100000 B3974 R4700 H30 L0	; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
    M305 P1 X200				; Modified for PT100 first nozzle thermistor
    M305 P2 T100000 B3974 R4700 H30 L0	; Put your own H and/or L values here to set the second nozzle thermistor ADC correction
    M570 S180				; Hot end may be a little slow to heat up so allow it 180 seconds
    
    ; Fans
    M106 P1 H-1 				; disable thermostatic mode for fan 1
    
    ; Tool definitions
    M563 P0 D0 H1                       	; Define tool 0
    G10 P0 S0 R0                        	; Set tool 0 operating and standby temperatures
    ;*** If you have a single-nozzle build, comment the next 2 lines
    M563 P1 D1 H2                      	; Define tool 1
    G10 P1 S0 R0                       	; Set tool 1 operating and standby temperatures
    ; M92 E663:663                       	; Set extruder steps per mm
    M92 E417:417                       	; Set extruder steps per mm for E3D Titan
    
    ; Z probe and compensation definition
    ;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command
    M558 P1 X0 Y0 Z0			; Z probe is an IR probe and is not used for homing any axes
    G31 X0 Y0 Z4.80 P500			; Set the zprobe height and threshold (put your own values here)
    
    ;*** If you are using axis compensation, put the figures in the following command
    M556 S78 X0 Y0 Z0                   	; Axis compensation here
    
    M208 S1 Z-0.2				; set minimum Z
    ;
    T0					; select first hot end
    
    

    Vin Voltage = 24.02 vdc

    Powered off the board and powered up solely on usb power, waited a few minutes and turned on 24v supply. Tried the motors again with the same results, X is ok Y & Z don’t move at all 😞

    Firmware Name:
    RepRapFirmware for Duet WiFi
    Firmware Version:
    1.15b (2016-08-25)
    WiFi Server Version:
    1.02
    Web Interface Version:
    1.12

    Is there anything else i can try?



  • Just updated Firmware to 1.15c for the sake of it but still the same, on the plus side the new firmware update process is very nice.


  • administrators

    I think the best bet is for us to send you a replacement and you send that one back for diagnosis. I have emailed you directly.



  • Hi Tony, thanks for that just seen your email and replied.



  • @T3P3Tony:

    Eddiie The Duex4 is definitely not compatible so unplug that at try again. Can you connect over the web interface? If so what happens when you home the axis?

    I unplugged the board and the steppers home now.

    How was I to know they were not compatible?



  • https://duet3d.com/wiki/Pre-production_hardware_limitations_and_known_firmware_issues

    This page, as well as a few other places on the forum/Wiki.


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.