Extruder motor gets crazy.



  • hey,
    when I start printing, the extruder motor extruding much more filament than I expect (and propably to fast)

    
    ; Configuration file for Duet 3 (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.3 on Tue Jun 23 2020 22:36:44 GMT+0200 (Mitteleuropäische Sommerzeit)
    
    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Duet 3" ; set printer name
    
    ; Drives
    M569 P0.0 S1 ; physical drive 0.0 goes forwards
    M569 P0.1 S1 ; physical drive 0.1 goes forwards
    M569 P0.2 S1 ; physical drive 0.2 goes forwards
    M569 P0.3 S1 ; physical drive 0.3 goes forwards
    M569 P0.4 S1 ; physical drive 0.4 goes forwards
    M569 P0.5 S1 ; physical drive 0.5 goes forwards
    M569 P1.0 S0 ; physical drive 1.0 goes forwards
    M569 P1.1 S1 ; physical drive 1.1 goes forwards
    M569 P1.2 S1 ; physical drive 1.2 goes forwards
    M584 X0.0 Y0.1 Z0.2:0.3:0.4:0.5 E1.0:1.1:1.2 ; set drive mapping
    M350 X16 Y16 Z16 E16:16:16:16:16:16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z1600.00 E1600.00:1600.00:1600.00:92.70:92.70:92.70 ; set steps per mm ; set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00:120.00:120.00:120.00:120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z180.00 E3600.00:3600.00:3600.00:1200.00:1200.00:1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z40.00 E250.00:250.00:250.00:250.00:250.00:250.00 ; set accelerations (mm/s^2)
    M906 X1200 Y1200 Z3000 E3000:3000:3000:1200:1200:1200 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 X700 Y700 Z800 S0 ; set axis maxima
    
    ; Endstops
    M574 X2 S1 P"!io3.in" ; configure active-high endstop for high end on X via pin !io3.in
    M574 Y2 S1 P"!io0.in" ; configure active-high endstop for high end on Y via pin !io0.in
    
    ; Z-Probe
    M558 P9 C"io4.in" H10 F200 T1800 ; set Z probe type to bltouch and the dive height + speeds
    M950 S0 C"io4.out" ; create servo pin 0 for BLTouch
    G31 P25 X-20 Y-20 Z2.5 ; set Z probe trigger value, offset and trigger height
    M557 X10:600 Y10:600 S200 ; define mesh grid
    
    ; Heaters
    M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
    M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
    M307 H1 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
    M140 H0 ; map heated bed to heater 0
    M143 H0 S90 ; set temperature limit for heater 0 to 90C
    M308 S1 P"temp1" Y"thermistor" T100000 B4138                                     ; configure sensor 1 as thermistor on pin temp1
    M950 H1 C"out1" T1                                                               ; create nozzle heater output on out1 and map it to sensor 1
    M307 H1 B0 S1.00                                                                 ; disable bang-bang mode for heater  and set PWM limit
    
    ; Fans
    M950 F0 C"out3" Q500 ; create fan 0 on pin out3 and set its frequency
    M106 P0 S0.8 H-1  ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"out7" Q500 ; create fan 1 on pin out7 and set its frequency
    M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off
    M950 F2 C"out8" Q500 ; create fan 2 on pin out8 and set its frequency
    M106 P2 S1 H T45 ; set fan 2 value. Thermostatic control is turned on
    
    ; Tools
    M563 P0 D0 H1 F0 ; 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
    
    ; Custom settings are not defined
    M671 X-19.5:99.5:99.5:-19.5 Y110:110:540:540 S2.5
    
    ; Miscellaneous
    M501 ; load saved parameters from non-volatile memory
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power
    
    
    
    
    

    Did I make a mistake in the config.g?
    I have 4 z axis and 3 extruder.
    Maybe the code with the steps per mm is wrong?
    z axis = 1600 steps /mm
    extruder 92.7 steps / mm


  • Moderator

    You've set the extruder steps per mm to 1600 as well

    M92 X80.00 Y80.00 Z1600.00 E1600.00:1600.00:1600.00
    


  • @Phaedrux
    ok.. I thougth it has something to do with this code. I wasn´t sure which 1600 should I delete exactly.


  • Moderator

    @barbarossa-cologne said in Extruder motor gets crazy.:

    M584 X0.0 Y0.1 Z0.2:0.3:0.4:0.5 E1.0:1.1:1.2 ; set drive mapping
    M350 X16 Y16 Z16 E16:16:16:16:16:16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z1600.00 E1600.00:1600.00:1600.00:92.70:92.70:92.70 ; set steps per mm ; set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00:120.00:120.00:120.00:120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z180.00 E3600.00:3600.00:3600.00:1200.00:1200.00:1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z40.00 E250.00:250.00:250.00:250.00:250.00:250.00 ; set accelerations (mm/s^2)
    M906 X1200 Y1200 Z3000 E3000:3000:3000:1200:1200:1200 I30 ; set motor currents (mA) and motor idle factor in per cent

    Yes, configured wrong. You have defined 3 extruder axes, so the 'E' parameter on all of the above should only have 3 values. X, Y and Z parameters can only have one parameter (except in M584). Try:

    M584 X0.0 Y0.1 Z0.2:0.3:0.4:0.5 E1.0:1.1:1.2 ; set drive mapping
    M350 X16 Y16 Z16 E16:16:16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z1600.00 E92.70:92.70:92.70 ; set steps per mm ; set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00:120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z180.00 E1200.00:1200.00:1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z40.00 E250.00:250.00:250.00 ; set accelerations (mm/s^2)
    M906 X1200 Y1200 Z3000 E1200:1200:1200 I30 ; set motor currents (mA) and motor idle factor in per cent
    

    It will have been using the first 3 values for E, so I expect your extruder motors got hot getting 3A when they should have been getting 1.2A!

    Ian



  • @droftarts
    Ok thanks...
    I´ll try it out!
    KR
    Richard



  • @droftarts
    Different code, same problem 😕
    Any other options to solve the problem?
    thanks to all
    Richard

    
    ; Configuration file for Duet 3 (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.3 on Tue Jun 23 2020 22:36:44 GMT+0200 (Mitteleuropäische Sommerzeit)
    
    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Duet 3" ; set printer name
    
    ; Drives
    M569 P0.0 S1 ; physical drive 0.0 goes forwards
    M569 P0.1 S1 ; physical drive 0.1 goes forwards
    M569 P0.2 S1 ; physical drive 0.2 goes forwards
    M569 P0.3 S1 ; physical drive 0.3 goes forwards
    M569 P0.4 S1 ; physical drive 0.4 goes forwards
    M569 P0.5 S1 ; physical drive 0.5 goes forwards
    M569 P1.0 S0 ; physical drive 1.0 goes forwards
    M569 P1.1 S1 ; physical drive 1.1 goes forwards
    M569 P1.2 S1 ; physical drive 1.2 goes forwards
    M584 X0.0 Y0.1 Z0.2:0.3:0.4:0.5 E1.0:1.1:1.2 ; set drive mapping
    M350 X16 Y16 Z16 E16:16:16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z1600.00 E92.70:92.70:92.70 ; set steps per mm ; set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00:120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z180.00 E1200.00:1200.00:1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z40.00 E250.00:250.00:250.00 ; set accelerations (mm/s^2)
    M906 X1200 Y1200 Z3000 E1200:1200:1200 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 X700 Y700 Z800 S0 ; set axis maxima
    
    ; Endstops
    M574 X2 S1 P"!io3.in" ; configure active-high endstop for high end on X via pin !io3.in
    M574 Y2 S1 P"!io0.in" ; configure active-high endstop for high end on Y via pin !io0.in
    
    ; Z-Probe
    M558 P9 C"io4.in" H10 F200 T1800 ; set Z probe type to bltouch and the dive height + speeds
    M950 S0 C"io4.out" ; create servo pin 0 for BLTouch
    G31 P25 X-20 Y-20 Z2.5 ; set Z probe trigger value, offset and trigger height
    M557 X10:600 Y10:600 S200 ; define mesh grid
    
    ; Heaters
    M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
    M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
    M307 H1 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
    M140 H0 ; map heated bed to heater 0
    M143 H0 S90 ; set temperature limit for heater 0 to 90C
    M308 S1 P"temp1" Y"thermistor" T100000 B4138                                     ; configure sensor 1 as thermistor on pin temp1
    M950 H1 C"out1" T1                                                               ; create nozzle heater output on out1 and map it to sensor 1
    M307 H1 B0 S1.00                                                                 ; disable bang-bang mode for heater  and set PWM limit
    
    ; Fans
    M950 F0 C"out3" Q500 ; create fan 0 on pin out3 and set its frequency
    M106 P0 S0.8 H-1  ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"out7" Q500 ; create fan 1 on pin out7 and set its frequency
    M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off
    M950 F2 C"out8" Q500 ; create fan 2 on pin out8 and set its frequency
    M106 P2 S1 H T45 ; set fan 2 value. Thermostatic control is turned on
    
    ; Tools
    M563 P0 D0 H1 F0 ; 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
    
    ; Custom settings are not defined
    M671 X-19.5:99.5:99.5:-19.5 Y110:110:540:540 S2.5
    
    ; Miscellaneous
    M501 ; load saved parameters from non-volatile memory
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power
    
    
    
    
    

  • Moderator

    Have you calibrated the extruder yet?



  • @Phaedrux
    No, but the seller told me that I need 92.7 steps per mm. This amount I had on a different machine and it was working perfectly.
    I have the same motor on the x + y axis and there are not hot when working.
    I think the motor still gets 3a instead of 1.2a.
    thanks a lot
    Richard


  • Moderator

    If you send M906 by itself, what does it report?

    You should try this extruder calibration to see if your steps per mm is correct.

    https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+4:+Calibration/40#s165

    If it's extruding the right amount of filament, but the amount of filament during a print is still wrong, then there is something wrong with the slicer config.



  • @Phaedrux
    @Phaedrux said in Extruder motor gets crazy.:

    M906

    M906
    Motor current (mA) - X:1200, Y:1200, Z:3000, E:1200:1200:1200, idle factor 30%

    I think it´s correct.

    I just extruded manually on the dwc to test the new config.g.
    I´ll try to print.... but the motor was much faster than excepted. It´s like freaking out!



  • This post is deleted!


  • @barbarossa-cologne
    and in this situation it´s not possible to calibrate anyways. because it´s just not possible to extrude something.
    The extruder just makes one step and jumps that step back. Problem with extruding to fast is solved!!
    Extruder isn´t hot anymore! 🙂 --> solved
    Maybe the motor is broken, now.
    I´ll check that!
    KR
    Richard


  • Moderator

    @barbarossa-cologne said in Extruder motor gets crazy.:

    Maybe the motor is broken, now.

    I guess that could be possible if it was getting 3A for a long time when it's rated for 1.2A.


  • administrators

    @barbarossa-cologne said in Extruder motor gets crazy.:

    Maybe the motor is broken, now.
    I´ll check that!

    Measure the resistance of each phase. Compare them with each other and with the datasheet.



  • @Phaedrux
    Motor wasn´t working correct after having 3a instead of 1.2a.
    Thanks
    Problem solved!


Log in to reply