resurrect setting up help needed....+other issues..

  • Hello and thanks in advance for any help knowledgeable people around here can offer..
    I have a DuetWifi big Delta running on 24v 250w psu, powered by a 450W BRAND NEW UPS, no heatbed, nema17 motors, smart effector and volcano with 0.6 nozzle.

    I have 2 serious problems (as I am mostly running over 10h prints on it)

    The first is that i constantly get pauses on my prints with "Resume-after-power-fail state saved" messages on the console, which basically ruin my prints (large lithophanes and every time i resume i get a lovely horizontal line on the print that you can see from miles away) . The strange thing is i get them even though i dont have any other signs of power surges in the building (lights dimming or trembling). Maybe its a bad UPS, i cannot rule that out, but i dont know how to check this. I also have a 60watt dc cob led with a step up regulator on it for lighting the printer, running from the same psu. I have tried with and without it turned on, makes no difference.

    The second very important problem is that i really dont understand how to setup and use the resurrect function.
    here is my config file
    Editing 0:/sys/config.g

    ; Configuration file for Duet WiFi (firmware version 1.21)
    ; executed by the firmware on start-up
    ; generated by RepRapFirmware Configuration Tool v2 on Wed Dec 19 2018 10:24:39 GMT+0200 (Eastern European Standard Time)

    ; General preferences
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves
    M665 R380 L776.6 B230 H594.7 ; 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

    ; Network
    M550 P"3DWORX.GR" ; Set machine name
    M551 P"tsiftis77: ; Set password
    M552 S1 ; Enable network
    M587 S"3dworx" P"giorgos12" ; Configure access point. You can delete this line once connected
    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S0 ; Disable Telnet

    ; Drives
    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 backwards
    M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
    M92 X160.00 Y160.00 Z160.00 E2687.00 ; Set steps per mm
    M566 X900.00 Y900.00 Z900.00 E60.00 ; Set maximum instantaneous speed changes (mm/min)
    M203 X24000.00 Y24000.00 Z24000.00 E6000.00 ; Set maximum speeds (mm/min)
    M201 X3000.00 Y3000.00 Z3000.00 E120.00 ; Set accelerations (mm/s^2)
    M906 X1200.00 Y1200.00 Z1500.00 E400.00 I70 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S20 ; Set idle timeout

    ; Axis Limits
    M208 Z0 S1 ; Set minimum Z

    ; Endstops
    M574 X2 Y2 Z2 S1 ; Set active high endstops

    ; Z-Probe
    M558 P5 R0.4 H10 F600 T15000 ; Set Z probe type to effector and the dive height + speeds
    G31 P100 X0 Y0 Z-0.1 ; Set Z probe trigger value, offset and trigger height
    M557 R200 S20 ; Define mesh grid

    ; Heaters
    M140 H-1 ; Disable heated bed
    M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S350 ; Set temperature limit for heater 1 to 350C

    ; 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 S0 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off

    ; Tools
    M563 P0 D0 H1 ; 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 S22.5 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss

    ; Custom settings
    M302 P1 ; Allow cold extrusion

    ; Miscellaneous
    T0 ; Select first tool

    I tried having both sd cards on the set (not sure if the paneldue one was needed for this but have one in the slot anyway).

    Can somebody please explain step by step what i need to do to resume print after a powerfail? Am I supposed to find a sys/resurrect-prologue.g file on either sd card and print it? (there never is such a file after a powerfail). Or should i use the M916 command somehow?(tried but keep getting that there is "no sys/resurrect-prologue.g found" message

    Please help..

  • Have you seen?

    It sounds like you have a PSU issue. I'm not an expert on troubleshooting that. sorry.

  • administrators

    @mpoly, it sounds to me that either your power supply output voltage is too close to the 22.5V threshold you have set in your M911 command; or you have a bad connection between the PSU and the Duet; or the 250W power supply rating is marginal for your machine. So here are some thing to check:

    • Temporarily reduce the power fail threshold (S parameter) to a lower value, e.g. 20V (S20 instead of S22.5). Then run a CNC job. Then run M122 and see what minimum and maximum recorded voltages it reports. Note, running M122 resets the minimum/maximum recorded voltages after reporting them, so only the first M122 report after running a job gives useful values.

    • Check that the VIN terminal block screws on the Duet are tight.

    • Are you powering anything from the 250W PSU apart from the Duet (and hence the stepper motors)? As a CNC machine doesn't have heaters, I think a 250W PSU should be adequate unless you are powering additional devices from it, such as a spindle motor.

    HTH David


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