Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Extruder Driver 1 Won't turn a motor

    Scheduled Pinned Locked Moved
    General Discussion
    3
    5
    298
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MakeStuffMakeStuffundefined
      MakeStuffMakeStuff
      last edited by

      I'm having some issues with my Duet Wifi. I've added a second extruder, and for whatever reason the second extruder driver motor won't turn. It is a brand new Bondtech LGX if that makes any difference. Maybe someone can take a look at my config and tell me what I'm missing?

      G21                                 	; Work in millimetres
      G90                                		; Send absolute coordinates...
      M83                                 	; ...but relative extruder moves
      
      M564 H0								    ; Allow movement without homing
      M669 K1									; CoreXY mode
      
      ; Axis and motor configuration
      M584 X0 Y1 Z5:6:7 C2 E3:4:8:9		; Map Z to drivers 5, 6, 7. Define unused drivers 3,4,8 and 9 as extruders
      M569 P0 S0                          ; Drive 0 goes forwards 	X stepper (Rear)
      M569 P1 S1                          ; Drive 1 goes forwards		Y stepper (Front)
      M569 P2 S1                          ; Drive 2 goes backwards	Coupler
      M569 P3 S0                          ; Drive 3 goes forwards		Extruder 
      M569 P4 S1                          ; Drive 4 goes backwards	Extruder 2
      M569 P5 S0							; Drive 5 goes forwards		Front Left Z
      M569 P6 S0							; Drive 6 goes forwards		Rear Left Z
      M569 P7 S0							; Drive 7 goes forwards		Right Z
      
      ;Stall Detection - Used for homing
      M915 C S5 F0 H200 					; Coupler
      M915 X Y S5 F0 H400 				; X / Y Axes
      
      ;Leadscrew locations
      M671 X-50.0:-51.44:301.23  Y31.4:284.9:156.9 S7.5  ;Front left, Rear Left, Right  S7.5 is the max correction - measure your own offsets, to the bolt for the yoke of each leadscrew
      
      M350 C8 I0
      M350 X16 Y16 Z16 E16 I1	    			    ; set 16x microstepping for axes& extruder, with interpolation
      M574 X1 Y1 S3 							    ; Set X / Y endstop stall detection
      M906 X1400 Y1400 Z1000 C400 E1000:600 I60	; Set motor currents (mA)
      M201 X3000 Y3000 Z100 C400 E1500:1500       ; Accelerations (mm/s^2)
      M203 X24000 Y24000 Z900 C5000 E3600:3600    ; Maximum speeds (mm/min)
      M566 X1000 Y1000 Z100 C2 E1500:1500         ; Maximum jerk speeds mm/minute
      M208 X-42:340 Y-20:320 Z-0.5:700 C0:260	    ; set axis maxima and high homing switch positions (adjust to suit your machine)
      M92 X200 Y200 Z1600 C100 E402:400	    	; steps/mm (E409 is Hemera standard), (E400 is standard for LGX)
      
      ; Fans
      M950 F0 C"fan0"						;_RRF3_ define fan0
      M950 F1 C"fan1"						;_RRF3_ define fan1
      M950 F2 C"fan2"						;_RRF3_ define fan2
      M106 P0 H-1 						; disable thermostatic mode for fan 0
      M106 P1 H-1 						; disable thermostatic mode for fan 1
      M106 P2 H-1
      M106 P0 S0 							; turn off fans
      M106 P1 S0
      M106 P2 S0
      	
      ; Tool definitions
      M563 P0 S"Hotend1" D0 H1                ; Define tool 0
      G10 P0 X44 Y-21.4 Z-6.03				; Tool offsets for tool 0 ; Previous values: G10 P0 X44 Y-21.4 Z-5.63, moved up 0.4mm for PLA first layer
      G10 P0 S0 R0                        	; Set tool 0 operating and standby temperatures
      
      M563 P1 S"Hotend2" D2 H2                ; Define tool 1
      G10 P1 X44 Y-21.4 Z-25.82				; Tool offsets for tool 1
      G10 P1 S0 R0                        	; Set tool 1 operating and standby temperatures
      
      ; Thermistors
      M308 S0 P"bedtemp" Y"thermistor" A"bed_heat" T100000 B3950 R4700 H0 L0 		;_RRF3_ Bed thermistor, connected to bedtemp on Duet2
      M950 H0 C"bedheat" T0														;_RRF3_ define Bed heater is on bedheat
      M140 H0                                 									; map heated bed to heater 0
      M143 H0 S120                            									; set temperature limit for heater 0 to 120C
      
      ;If you have a Slice Engineering thermistor, comment out the next line
      M308 S1 P"e0temp" Y"thermistor" T100000 B4725 R4700 C7.06e-8 H0 L0	            ;_RRF3_ duet3 e3d
      M950 H1 C"e0heat" T1															;_RRF3_ define Hotend heater is on e0heat
      M143 H1 S300                            										; set temperature limit for heater 1 to 300C
      
      M308 S2 P"e1temp" Y"thermistor" T100000 B4725 R4700 C7.06e-8 H0 L0              ;_RRF3_ duet3 e3d
      M950 H2 C"e1heat" T2															;_RRF3_ define Hotend heater is on e1heat
      M143 H2 S300                            										; set temperature limit for heater 1 to 300C
      
      M307 H0 R0.231 C1029.2 D42.03 S1.00 V24.1  ; Bed Heaters
      M307 H1 R2.909 C173.8 D5.37 S1.00 V24.1	   ; Heater 1 model
      M307 H2 R2.909 C173.8 D5.37 S1.00 V24.1	   ; Heater 2 model
      M570 S360				; Hot end may be a little slow to heat up so allow it 180 seconds
      M143 S285
      
      
      ; Z probe and compensation definition
      M558 P8 C"^zprobe.in" H10 F100 T3000		            ; Z probe is an IR probe and is not used for homing any axes
      G31 X0 Y0 Z0 P500									; Set the zprobe height and threshold (put your own values here) 
      
      M501                ; run config-override.g
      T-1					; select no hot end
      
      SIamundefined 1 Reply Last reply Reply Quote 0
      • SIamundefined
        SIam @MakeStuffMakeStuff
        last edited by

        @makestuffmakestuff said in Extruder Driver 1 Won't turn a motor:

        M584 X0 Y1 Z5:6:7 C2 E3:4:8:9 ; Map Z to drivers 5, 6, 7. Define unused drivers 3,4,8 and 9 as extruders

        You map first the axis and after that you configure the drivers move the M584 command to line 18

        Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
        Duet WiFi 1.02 or later + DueX5
        RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
        Duet WiFi Server: 1.26
        Duet Web Control 3.4.0beta4 (2021-09-27)

        MakeStuffMakeStuffundefined 1 Reply Last reply Reply Quote 0
        • MakeStuffMakeStuffundefined
          MakeStuffMakeStuff @SIam
          last edited by

          @siam said in Extruder Driver 1 Won't turn a motor:

          @makestuffmakestuff said in Extruder Driver 1 Won't turn a motor:

          M584 X0 Y1 Z5:6:7 C2 E3:4:8:9 ; Map Z to drivers 5, 6, 7. Define unused drivers 3,4,8 and 9 as extruders

          You map first the axis and after that you configure the drivers move the M584 command to line 18

          Unfortunately that isn't the problem. I tried it just to be sure, but it didn't change anything.

          Side note, if I swap the extruder cables for E0 and E1, I can get both of them to run, however the motor running on E1 seems weak. Potentially a driver issue? That would be weird though as this driver was used successfully for quite a long time as a Y axis motor driver due to motor cable length problems.

          deckingmanundefined 1 Reply Last reply Reply Quote 0
          • deckingmanundefined
            deckingman @MakeStuffMakeStuff
            last edited by

            @makestuffmakestuff A few things to note.

            When you map extruders using M584 like you have here...........

            M584 X0 Y1 Z5:6:7 C2 E3:4:8:9	
            

            .....then whichever motor you have connected to E3 will become extruder 0, and whichever motor you have mapped to E4 will become extruder 1, etc.

            So your first tool definition....

            M563 P0 S"Hotend1" D0 H1 
            

            .........will use extruder D0 which is the one connected defined as E3.

            Your second tool definition......

            M563 P1 S"Hotend2" D2 H2  
            

            .....will use extruder number 2 as defined in your M584, this would be whatever is connected to E8.

            So if you only have 2 extruders, then the second tool definition should be

            M563 P1 S"Hotend2" D1 H2  (not D2)
            

            One other little thing. You ought really define the micro stepping for both extruders in M350 using a colon separator so instead of....

             M350 X16 Y16 Z16 E16 I1	
            

            ...use .....

             M350 X16 Y16 Z16 E16:16 I1	
            

            It probably defaults to 16 so it might not matter but it's generally best practice to explicitly define these things.

            Ian
            https://somei3deas.wordpress.com/
            https://www.youtube.com/@deckingman

            MakeStuffMakeStuffundefined 1 Reply Last reply Reply Quote 2
            • MakeStuffMakeStuffundefined
              MakeStuffMakeStuff @deckingman
              last edited by

              @deckingman said in Extruder Driver 1 Won't turn a motor:

              So if you only have 2 extruders, then the second tool definition should be
              M563 P1 S"Hotend2" D1 H2 (not D2)

              This was exactly the problem. I knew it was going to be something simple like that, I just stared at the problem long enough that I couldn't see it. Thanks for your help!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA