Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Resurrect.g problem

    Scheduled Pinned Locked Moved Solved
    General Discussion
    2
    12
    466
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 3Dreamundefined
      3Dream
      last edited by

      Resurrect.g problem
      Goodmorning everyone
      In my Resurrect.g the bed temperature is not saved while the chamber temperature is correctly saved.
      Could someone tell me where am I wrong?
      Also I would like the chamber temperature not to be saved otherwise I have to wait a long time before the printer can restart or start it without waiting for it to reach the temperature.
      Thanks

      3Dreamundefined 1 Reply Last reply Reply Quote 0
      • 3Dreamundefined
        3Dream @3Dream
        last edited by

        Config.g

        M80 ; power on
        ; General preferences
        G90 ; send absolute coordinates...
        M83 ; ...but relative extruder moves
        M550 P"Pluto" ; set printer name
        M669 K1 ; select CoreXY mode

        ; Network
        M552 P192.168.44.30 S1
        M554 P192.168.44.1
        M553 P255.255.255.0
        M586 P0 S1 ; enable HTTP
        M586 P1 S0 ; disable FTP
        M586 P2 S0 ; disable Telnet

        ; Drives
        M569 P0 S0 ; physical drive 0 goes forwards
        M569 P1 S0 ; physical drive 1 goes forwards
        M569 P2 S0 ; physical drive 2 goes forwards
        M569 P3 S1 ; physical drive 3 goes forwards
        M569 P4 S0 ; physical drive 4 goes forwards
        M584 X0 Y1 Z2 E3:4 ; set drive mapping
        M350 X128 Y128 Z32 E16:16 I0 ; configure microstepping with interpolation
        M92 X641.50 Y641.50 Z1280.00 E460.00:460.00 ; set steps per mm
        M566 X800.00 Y800.00 Z60.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
        M203 X18000.00 Y18000.00 Z1200.00 E3000.00:3000.00 ; set maximum speeds (mm/min)
        M201 X1000.00 Y1000.00 Z80.00 E250.00:250.00 ; set accelerations (mm/s^2)
        M906 X1600 Y1600 Z1400 E700:700 I30 ; set motor currents (mA) and motor idle factor in per cent
        M84 S30 ; Set idle timeout

        ; Axis Limits
        M208 X-18.5 Y-1.5 Z0 S1 ; set axis minima
        M208 X340 Y300 Z302.5 S0 ; set axis maxima

        ; Endstops
        M574 X1 S1 P"^xstop" ; configure active-high endstop for low end on X via pin ^xstop
        M574 Y1 S1 P"^ystop" ; configure active-high endstop for low end on Y via pin ^ystop
        M574 Z2 S1 P"^zstop" ; configure active-high endstop for high end on Z via pin ^zstop

        ; Z-Probe
        M558 P5 C"^!zprobe.in" H3 F120 T12000 ; set Z probe type to unmodulated and the dive height + speeds
        G31 P600 X23 Y13.5 Z0.3 ; set Z probe trigger value, offset and trigger height
        M557 X18:295 Y20:290 S90 ; define mesh grid

        ; Heaters
        ;Piano
        M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
        M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
        M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
        M140 H0 ; map heated bed to heater 0
        M143 H0 S150 ; set temperature limit for heater 0 to 150C
        M570 H0 P1000000 S1000000
        ;Estrusore SX
        M308 S1 P"e0temp" Y"pt1000" ; configure sensor 1 as PT1000 via CS pin spi.cs1
        M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
        M307 H1 R3.082 C205.660:205.660 D5.75 S1.00 V24.2 B0; disable bang-bang mode for heater and set PWM limit
        M143 H1 S400 ; set temperature limit for heater 1 to 400C
        M570 H1 P1000000 S1000000
        ;Estrusore DX
        M308 S2 P"e1temp" Y"pt1000" ; configure sensor 2 as PT1000 via CS pin spi.cs2
        M950 H2 C"e1heat" T2 ; create nozzle heater output on e0heat and map it to sensor 2
        M307 H2 R2.931 C222.886:222.886 D5.16 S1.00 V24.2 B0; disable bang-bang mode for heater and set PWM limit
        M143 H2 S400 ; set temperature limit for heater 2 to 400C
        M570 H2 P1000000 S1000000
        ;Camera
        M308 S3 P"duex.e6temp" Y"thermistor" T100000 B4138 ; configure sensor 3 as thermistor on pin e0temp
        M950 H3 C"!exp.heater3" T3 ; create chamber heater output on e7heat and map it to sensor 3 ( ! inverte logica uscita )
        M307 H3 B1 S1.00 ; enable bang-bang mode for the chamber heater and set PWM limit
        M141 H3 ; map chamber to heater 2
        M143 H3 S80 ; set temperature limit for Chamber to 80C
        M570 H3 P1000000 S1000000

        ; Fans
        M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
        M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off

        ; Tools
        M563 P0 S"Extr sx" 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
        M563 P1 S"Extr dx" D1 H2 F0 ; define tool 1
        G10 P1 X-17.4 Y0.00 Z0 ; set tool 1 axis offsets
        G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C

        ;Filament Sensor
        M591 D0 P1 C"^e0stop" S1
        M591 D1 P1 C"^e1stop" S1

        ; Miscellaneous
        M911 S22 R0 P"M913 X0 Y0 G91 M83 G1 Z10 E-5 F1000" ; set voltage thresholds and actions to run on power loss
        T0 ; select first tool

        1 Reply Last reply Reply Quote 0
        • 3Dreamundefined
          3Dream
          last edited by 3Dream

          Resurrect prologue.g

          M116 ; wait for temperatures
          G28 ; home all towers
          M83 ; relative extrusion
          G1 E10 F600 ; undo the retraction that was done in the M911 power fail script
          G4 S5
          G1 Y50 F5000; Mi muovo per togliere il filo
          G1 Y0 F5000
          G1 Y50 F5000

          Actual resurrect.g

          ; File "0:/gcodes/bloccaggio-a-pressione-definitivo-v2.gcode" resume print after power failure at 2021-04-13 14:34
          G21
          M141 P0 S40.0
          G29 S1
          T-1 P0
          G92 X128.952 Y115.714 Z0.650
          G60 S1
          G10 P1 S23 R0
          G10 P0 S240 R240
          T0 P0
          M98 P"resurrect-prologue.g"
          M116
          M290 X0.000 Y0.000 Z0.000 R0
          T-1 P0
          T0 P6
          ; Workplace coordinates
          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
          G54
          M106 S0.00
          M116
          G92 E12.78310
          M82
          M23 "0:/gcodes/bloccaggio-a-pressione-definitivo-v2.gcode"
          M26 S13452 P1.015 X118.520 Y115.714
          G0 F6000 Z2.650
          G0 F6000 X128.952 Y115.714
          G0 F6000 Z0.650
          G1 F450.0 P0
          G21
          M24

          dc42undefined 1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators @3Dream
            last edited by

            @3dream, I confirm that this is a bug. Bed and chamber heat on/off and temperature settings are not written to resurrect.g.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            3Dreamundefined 1 Reply Last reply Reply Quote 0
            • 3Dreamundefined
              3Dream @dc42
              last edited by

              @dc42
              Good morning,
              Thanks for the reply
              The temperature of the extruder and chamber are recorded.
              is there any way around this?
              I would prefer that the chamber does not turn on again or at least that the machine does not wait to reach its temperature before starting.
              While the bed would need to be registered.

              dc42undefined 1 Reply Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators @3Dream
                last edited by

                @3dream, why would you not want to restore chamber heat before the print is resurrected?

                The workaround is that before you resurrect a print, manually set the bed temperature to the required value.

                Duet WiFi hardware designer and firmware engineer
                Please do not ask me for Duet support via PM or email, use the forum
                http://www.escher3d.com, https://miscsolutions.wordpress.com

                3Dreamundefined 1 Reply Last reply Reply Quote 0
                • 3Dreamundefined
                  3Dream @dc42
                  last edited by

                  @dc42 because the chamber temperature is also reached thanks to the bed. If I forget to activate the bed before pressing resume I cannot activate it again until I reach the chamber temperature. However, it takes a long time to reach the chamber temperature if it has been left very high.
                  Instead of waiting for the chamber target it could activate but not wait to reach it (like M104).
                  When do you think you can close this hole? I would really appreciate it
                  Thank you

                  dc42undefined 1 Reply Last reply Reply Quote 0
                  • dc42undefined
                    dc42 administrators @3Dream
                    last edited by dc42

                    @3Dream, you could turn off the chamber heat in resurrect-prologue.g before the M116 command. Or you could leave it on, but use a more selective M116 command that doesn't wait for the chamber temperature.

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    dc42undefined 1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators @dc42
                      last edited by

                      I've found the bug that was causing the bed heater state not to be written to resurrect.g when there was also a chamber heater. The fix will be in firmware 3.3beta3.

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      3Dreamundefined 1 Reply Last reply Reply Quote 0
                      • 3Dreamundefined
                        3Dream @dc42
                        last edited by

                        @dc42 , Ok, but first the resurrection is read where M141 starts for the chamber and only then is the right prologue read? Therefore it would still wait for the chamber temperature before advancing. Or am I wrong?

                        dc42undefined 1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators @3Dream
                          last edited by

                          @3dream, M141 does not wait for temperature to be reached.

                          Duet WiFi hardware designer and firmware engineer
                          Please do not ask me for Duet support via PM or email, use the forum
                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                          3Dreamundefined 1 Reply Last reply Reply Quote 0
                          • 3Dreamundefined
                            3Dream @dc42
                            last edited by

                            @dc42 Thank you
                            It worked for the chamber

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA