Hotend crashes after print was stopped and started again.



  • Hello there!

    I got my DC42 configured and running great, the Documentation is really great.

    However, i can't get that thing working properly after i cancelled a print.

    After Startup the Autohome works just fine, i soon start a print and maybe smth. goes wrong, so, cancelling the print is a great option, and starting over again as soon as possible. But the the Z-Homing fails, the LED switches on, the Z-Motors stop for a moment, and start to lower very slowly again, until the Hotend crashes into the bed.

    After pressing the E-Stop and rebooting the Board even the first Autohome wont work, with the same problem as mentioned above. Only hard-resetting the Duet will fix this Issue, until the next time smth. goes wrong.

    Firmware ist 2.02, Wifi 1.22 and Interface 1.22.6

    Here is my Z-Probe Config:
    ; Z-Probe
    M574 Z1 S2
    M558 P1 H5 F120 T6000
    G31 P536 X0 Y-25 Z3.07
    M557 X30:260 Y5:270 S30

    i hope i didn't miss anything in the config, as a noob in reprap fw.

    Thanks in advance!



  • Can you post your config.g, homing files, and your pause.g and cancel.g files? It's impossible to know what's going on without seeing those.



  • There you go:

    Config.g:
    ; Drives
    M569 P0 S1 ; Drive 0 goes forwards
    M569 P1 S0 ; Drive 1 goes backwards
    M569 P2 S0 ; Drive 2 goes backwards
    M569 P3 S0 ; Drive 3 goes backwards
    M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
    M92 X80.00 Y80.00 Z400.00 E95.00 ; Set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00 ; Set maximum instantaneous speed changes (mm/min)
    M203 X24000.00 Y24000.00 Z240.00 E1500.00 ; Set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z20.00 E250.00 ; Set accelerations (mm/s^2)
    M906 X800.00 Y800.00 Z800.00 E800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S10 ; Set idle timeout

    ; Axis Limits
    M208 X-10 Y-30 Z0 S1 ; Set axis minima
    M208 X300 Y300 Z400 S0 ; Set axis maxima

    ; Endstops
    M574 X1 Y1 S0 ; Set active low and disabled endstops

    ; Z-Probe
    M574 Z1 S2 ; Set endstops controlled by probe
    M558 P1 H5 F120 T6000 ; Set Z probe type to unmodulated and the dive height + speeds
    G31 P536 X0 Y-25 Z3.195 ; Set Z probe trigger value, offset and trigger height
    M557 X30:260 Y5:270 S30 ; Define mesh grid

    ; Heaters Hotend

    M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S280 ; Set temperature limit for heater 1 to 280C

    ;Heaters Bed (Disabled)
    M140 H-1

    ; Fans
    M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S0 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P2 S1 I0 F500 H1 T40 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

    ; Tools
    M563 P0 S"V6 Gold" D0 H1 F0:1 ; 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

    ; Miscellaneous
    T0 ; Select first tool

    Homeall.g:

    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Sat Jan 12 2019 17:27:47 GMT+0100 (Mitteleuropäische Normalzeit)
    G91 ; relative positioning
    G1 Z5 F6000 S2 ; lift Z relative to current position
    G1 S1 X-315 Y-335 F2400 ; move quickly to X and Y axis endstops and stop there (first pass)
    G1 X5 Y5 F6000 ; go back a few mm
    G1 S1 X-315 Y-335 F360 ; move slowly to X and Y axis endstops once more (second pass)
    G90 ; absolute positioning
    G1 X30 Y30 F6000 ; go to first bed probe point and home Z
    G30 ; home Z by probing the bed

    ; Uncomment the following lines to lift Z after probing
    ;G91 ; relative positioning
    ;G1 S2 Z5 F100 ; lift Z relative to current position
    ;G90 ; absolute positioning

    Homez.g:

    ; homez.g
    ; called to home the Z axis
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Sat Jan 12 2019 17:27:47 GMT+0100 (Mitteleuropäische Normalzeit)
    G91 ; relative positioning
    G1 Z5 F6000 S2 ; lift Z relative to current position
    G90 ; absolute positioning
    G1 X30 Y30 F6000 ; go to first probe point
    G30 ; home Z by probing the bed

    ; Uncomment the following lines to lift Z after probing
    ;G91 ; relative positioning
    ;G1 S2 Z5 F100 ; lift Z relative to current position
    ;G90 ; absolute positioning

    Pause.g:

    ; called when a print from SD card is paused
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Sat Jan 12 2019 17:27:47 GMT+0100 (Mitteleuropäische Normalzeit)
    M83 ; relative extruder moves
    G1 E-10 F3600 ; retract 10mm of filament
    G91 ; relative positioning
    G1 Z5 F360 ; lift Z by 5mm
    G90 ; absolute positioning
    G1 X0 Y0 F6000 ; go to X=0 Y=0

    Cancel & Stop.g are empty...



  • Hmm, try creating a cancel.g file with something in it. Maybe turn the heaters off and Home XY just so there is something in it.

    Also, is there something in your slicer start gcode that might be changing anything?



  • There was a bug fix in the latest release related to stop/start (pause / resume).. I was having the same problem and the new release fixed it. (I think it was fixed in 2.02 RC6; see release notes)

    Currently I am on -
    Firmware Version: 2.02RC6(RTOS) (2018-12-15b2)
    WiFi Server Version: 1.21
    Web Interface Version: 1.22.5



  • My Firmware is the Newest from Github: 2.02(RTOS) (2018-12-24b1)

    I Can't remember if i had that problem prior to the FW Update, i'am pretty new in the Duet world.


  • administrators

    @eddiie said in Hotend crashes after print was stopped and started again.:

    There was a bug fix in the latest release related to stop/start (pause / resume).. I was having the same problem and the new release fixed it. (I think it was fixed in 2.02 RC6; see release notes)

    That bug was only present in 2.02RC5.


  • administrators

    @Sushiator, two suggestions:

    1. One thing that often catches people out is that if you don't have a cancel.g file, the firmware will de-select the current tool when you cancel a print. Then when you try to print again, there is no tool selected. This is a problem if you were relying on a tool being already selected when you start a print (you may have included a T0 command near the end of config.g to achieve that after power up).

    However, I don't see how not having a tool selected would cause probing to fail, unless you have something unusual in your tfree0.g file.

    1. After cancelling a print, send M558 without parameters and check whether the reported parameters are the same as you set in config.g.


  • I already have that T0 Command in my Config, so i could have both print cooling fans as "Tool Fans" right after Startup.

    Gonna check that M558 the next time i screw smth up.

    Oh, and keep up the good Work, great piece of Hardware you made there!


 

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