power failure script error

  • does anyone know how to fix the restart script after power failure? because now it has a problem .. when it restarts ... first it warms the dish ok ... then instead of heating hotend it moves to the coordinates 0 x and y, this causes the detachment of the piece hooked to the hotend and then once done home starts the hotend heating ... instead it should first heat up hotend and then move to 0 yx coordinates

    Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
    Firmware Electronics: Duet WiFi 1.02 or later
    Firmware Version: 2.03 (2019-06-13b2)
    WiFi Server Version: 1.23
    Web Interface Version: 1.22.6
    Web Interface by Christian Hammacher
    Licensed under the terms of the GPL v3

  • administrators

    If you want to heat the hot end before homing, try adding M116 to the start of your resurrect-prologue.g file.

  • yes I have to warm up hotend before sending home ... otherwise while going home to hotend turned off with the unfinished piece as the plastic casting is cold

  • this is current script ... but head only bed no hotend ....
    once heated the bed makes the home and then warms up the hotend


    M116 ; wait for temperatures
    G28 X Y ; home X and Y, hope that Z hasn't moved
    M83 ; relative extrusion
    G1 E4 F3600 ; undo the retraction that was done in the M911 power fail script

  • this is script generate

    ; File "0:/gcodes/Right_corner_-bottom_aux PETG2000.gcode" resume print after power failure at 2019-06-29 20:04
    M140 P0 S70.0
    T-1 P0
    G92 X-23.000 Y321.000 Z0.000
    G60 S1
    M98 P"resurrect-prologue.g"
    M290 X0.000 Y0.000 Z0.000 R0
    G10 L2 P1 X0.00 Y0.00 Z0.00
    G10 L2 P2 X0.00 Y0.00 Z0.00
    G10 L2 P3 X0.00 Y0.00 Z0.00
    G10 L2 P4 X0.00 Y0.00 Z0.00
    G10 L2 P5 X0.00 Y0.00 Z0.00
    G10 L2 P6 X0.00 Y0.00 Z0.00
    G10 L2 P7 X0.00 Y0.00 Z0.00
    G10 L2 P8 X0.00 Y0.00 Z0.00
    G10 L2 P9 X0.00 Y0.00 Z0.00
    G10 P0 S0 R0
    M106 S0.00
    M106 P0 S0.00
    M106 P3 S0.00
    M106 P4 S0.00
    M106 P5 S0.00
    M106 P6 S0.00
    M106 P7 S0.00
    M106 P8 S0.00
    G92 E0.00000
    M23 "0:/gcodes/Right_corner
    -_bottom_aux PETG2000.gcode"
    M26 S6414 P0.000
    G0 F6000 Z2.000
    G0 F6000 X-23.000 Y321.000
    G0 F6000 Z0.000
    G1 F3000.0 P0

  • administrators

    It looks like there is no command there to select a tool. I will look into that.

  • ok, thanks ... in the meantime I have done other tests, unfortunately the same thing always happens .. heat the dish ... then it goes into the home with the boards and then heats the extruder. this at the moment as already said at the time of the axes, having the extruder still cold detaches the piece from the plate bringing it into the home ... and then letting it warm up .. and correctly starting from the point of printing left .. but unfortunately the piece below no longer exists 🙂

  • administrators

    If you have only one tool and it is called T0, then as a workaround you could add T0 followed by M116 to the start of resurrect-prologue.g.

  • ok .. in the meantime I try this solution thanks

Log in to reply