Pause problem with 1.20beta2

  • Just updated to the newest firmware. Runs nice and smooth. I placed a pause on my machine while I was checking an issue with bed leveling and when I hit resume I was told I was under voltage and could not restart till voltage met normal amount. I was running nylon so my bed was pretty warm as was the hotend and I am running a 12 volt system. The screen stated I was at 11.7 volts. I added the gcode into my config.g file and ajdusted it to 12 volts with a low cutt off and low resume voltage. what am I doing wrong.

    ; Prusa i3 config file for dc42 Duet firmware

    ; Prologue and comms section
    M111 S0 ; Debug off
    M550 PBad Ass 3d printer ; Machine name (can be anything you like)
    M551 Pqwerty ; Machine password
    ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
    M540 DE:AD:BE:EF:CA:FE ; MAC Address
    ;*** ;*** Wifi Networking
    M552 S1 ; Enable WiFi

    M555 P2 ; Set output to look like Marlin
    M575 P1 B57600 S1 ; Comms parameters for PanelDue

    ; Movement section
    M569 P0 S0 ; Drive 0 goes forwards (change to S0 to reverse it)
    M569 P1 S1 ; Drive 1 goes forwards
    M569 P2 S0 ; Drive 2 goes backwards
    M569 P3 S1 ; Drive 3 goes backwards
    M569 P4 S0 ; Drive 4 goes backwards
    M574 X1 Y1 S0 ; set endstop configuration (X and Y endstops only, at low end, active high)
    M906 X800 Y800 Z800 E1000 ; Set motor currents (mA)
    M201 X800 Y800 Z15 E1000 ; Accelerations (mm/s^2)
    M203 X15000 Y15000 Z100 E3600 ; Maximum speeds (mm/min)
    M566 X600 Y600 Z30 E20 ; Minimum speeds mm/minute
    M208 X200 Y200 Z200 ; set axis maxima (adjust to suit your machine)
    M208 X-25 Y-20 Z S1 ; set axis minimum (adjust to make X=0 and Y=0 the edge of the bed)
    M350 X16 Y16 E16 I1 ; Set 16x microstepping with interpolation
    M92 X100 Y100 Z400 ; Set axis steps/mm
    M92 E95:95 ; Set extruder steps per mm
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates…
    M83 ; ...but relative extruder moves

    ;power failure
    M911 S6.0:10.5:11.0 // auto-pause at 10.5V, then either stop at 6V or auto-resume at 11V

    ; Differential IR sensor
    M558 P1 X0 Y0 Z1 H4 I0 F50 T3500
    G31 P500 X-30 Y-6.5 Z2.1
    M557 X15:210 Y10:200 S20 ; Define mesh grid

    ; BL Touch
    ;M307 H3 A-1 C-1 D-1
    ;M558 P5 X0 Y0 Z1 H4 I1 F50 T4000
    ;G31 P25 X-23 Y-20 Z30
    ;M557 X10:200 Y10:195 S20 ; Define mesh grid

    ; Heater and thermistor section
    ;*** If you have a Duet board with 1K thermistor series resistors, change R4700 to R1000 to the following M305 commands
    M305 P0 R4700 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
    M305 P1 t100000 B4388 R4700 H0 L0 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
    M305 P2 R4700 H0 L0 ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction
    M301 H1 P10.1 I0.548 D60.0 T0.50 S1.0 ; PID settings for extruder 0
    M301 H2 P10 I0.10 D100 T0.50 S1.0 ; PID settings for extruder 1
    M570 S120 ; Increase to allow extra heating time if needed

    ; Tool definition section
    M563 P0 D0 H1 ; Define tool 0 to use extruder drive 0 and heater 1
    G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures
    ;*** If you have a dual-nozzle build, un-comment the following 2 lines
    ;M563 P1 D1 H2 ; Define tool 1
    ;G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures

    ; Epilogue
    ;*** If you are using axis compensation, put the figures in the following command
    ;M556 S78 X0 Y0 Z0 ; Axis compensation here
    T0 ; select first hot end

  • administrators

    Please read the upgrade notes. The M911 parameters changed in beta 2. However, it is unlikely that the power fail handing will work well on a 12V system.

  • Just noticed 1.20 beta 3 is out and resolves most of the issues I am having thanks.

  • My system still will not let me resume a print though. I dont really need resume upon power failure so what do I need to change my system to allow pausing and resume without voltage issues.

  • administrators

    You are quite right, resume after pause still doesn't work in beta 3 if you don't have resume after power fail enabled. I'll do a beta 4 to fix that and the bug with simulating prints.

  • DC, you said that power fail won't reliably work on 12v? Does that mean I should not enable it on my 12v printer?

  • administrators

    You can enable power fail handling on a 12V system if you like, but there may be insufficient power to raise the nozzle above the print and retract filament, and perhaps also insufficient power to finish writing the resurrect.g file to the SD card. That's how it is on my 12V SCARA printer. However, that printer has no heated bed, so the 12V PSU is only rated at 5A. You might have better results on a more conventional printer with a heated bed at 20A or greater PSU.

    I published beta 4 a few minutes ago.

  • I'm not sure if this is relevant, since I'm on an ancient beta, but since it seems you're working on the pause/resume code I thought I'd mention it. I'm on 1.15 beta 3 (yeah, I know) and on a duet 0.8.5. I found recently that pause and resume worked fine the first time. I let the print continue a bit, paused again, but when I resumed the head crashed into the print… it might have been trying to find the old resume point.

    I haven't had an opportunity to confirm if this is repeatable behaviour, but it would be easy for anyone to try themselves. Thanks!

  • administrators

    Thanks, but you'll need to replicated that on recent firmware before I look at it.

  • Ive just posted a pause issue when filament monitor triggered an error on beta 4, doesnt do it on beta 1, see the 1.20 beta 2 thread.

  • Hmm, could anybody test pausing for me on a recent firmware build? During a print (that you don't mind discarding for testing purposes) can you pause the print… wait a few minutes... resume... let the print go on for a few minutes, pause, wait a few more, then resume, and tell me if the head crashes or attempts to move to some odd location? I'm in the middle of some important prints, and I've found a firmware build that is stable for me, hence why I haven't updated in ages. Otherwise, I'd update and try it myself.

Log in to reply