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

    Pause/Resume print

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    4
    41
    2.3k
    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.
    • Touchthebitumundefined
      Touchthebitum
      last edited by Touchthebitum

      Hello
      I'm getting crazy with this feature.
      I use Cura 4.8.0 script to do a pause during print to change filament.
      When I touch "resume" on my PanelDue, the carriage goes to the last position but then turns back in "pause" mode at the pause location.
      I use a Duet3 SBC with 3.2 firmware

      Here are my "pause/resume files from a forum user :

      ; Pause macro file
      if state.currentTool != -1
      M83 ; relative extruder moves
      G1 E-4 F2500 ; retract 4mm
      G91 ; relative moves
      G1 Z5 F5000 ; raise nozzle 2mm
      G90 ; absolute moves
      G1 X0 Y85 F10000
      M106 S0

      ; Resume macro file
      M106 R1
      G1 R1 X0 Y0 Z2 F5000 ; move to 2mm above resume point
      G1 R1 X0 Y0 Z0 ; lower nozzle to resume point
      if state.currentTool != -1
      M83 ; relative extruder moves
      G1 E4 F2500 ; undo the retraction

      Cura's script :
      ![0_1611494961797_filament change.jpg](Uploading 100%)
      I can't upload file

      PS: when I use touch "pause" and "resume" on the Paneldue, it works perfectly.

      Thanks

      Sparkcube XL V 1.1 300x300x190, Radds, Raspberry, Keenovo silicone bedheat 220v, Big Booster Extruder, DIY building
      BLV Cube 665mm Direct Drive with Duet3/SBC (RPi 4) Mosquito Magnum/Bond Tech Extruder/Vanadium Nozzle, Keenovo silicone bedheat 220v

      DIY-O-Sphereundefined 1 Reply Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt
        last edited by

        @Touchthebitum said in Pause/Resume print:

        I use Cura 4.8.0 script to do a pause during print to change filament.

        How are you doing that?

        Thanks.

        Frederick

        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

        1 Reply Last reply Reply Quote 0
        • Touchthebitumundefined
          Touchthebitum
          last edited by

          Extensions --> post processing --> modify g-code

          Sparkcube XL V 1.1 300x300x190, Radds, Raspberry, Keenovo silicone bedheat 220v, Big Booster Extruder, DIY building
          BLV Cube 665mm Direct Drive with Duet3/SBC (RPi 4) Mosquito Magnum/Bond Tech Extruder/Vanadium Nozzle, Keenovo silicone bedheat 220v

          fcwiltundefined 1 Reply Last reply Reply Quote 0
          • fcwiltundefined
            fcwilt @Touchthebitum
            last edited by

            @Touchthebitum said in Pause/Resume print:

            Extensions --> post processing --> modify g-code

            Sorry - I meant what commands are you issuing.

            Frederick

            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

            Touchthebitumundefined 1 Reply Last reply Reply Quote 0
            • Touchthebitumundefined
              Touchthebitum @fcwilt
              last edited by

              @fcwilt
              filament change.jpg

              Sparkcube XL V 1.1 300x300x190, Radds, Raspberry, Keenovo silicone bedheat 220v, Big Booster Extruder, DIY building
              BLV Cube 665mm Direct Drive with Duet3/SBC (RPi 4) Mosquito Magnum/Bond Tech Extruder/Vanadium Nozzle, Keenovo silicone bedheat 220v

              fcwiltundefined 1 Reply Last reply Reply Quote 0
              • fcwiltundefined
                fcwilt @Touchthebitum
                last edited by

                @Touchthebitum

                Sorry again - what GCODE commands are being generated by the slicer to perform the filament change?

                Frederick

                Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                1 Reply Last reply Reply Quote 0
                • Touchthebitumundefined
                  Touchthebitum
                  last edited by

                  sorry 😉

                  ;TYPE:CUSTOM
                  ;added code by post processing
                  ;script: PauseAtHeight.py
                  ;current layer: 2
                  M83 ; switch to relative E values for any needed retraction
                  G1 F300 Z1.6 ; move up a millimeter to get out of the way
                  G1 F9000 X50 Y50
                  G1 F300 Z15 ; too close to bed--move to at least 15mm
                  M104 S0 ; standby temperature
                  M226 ; Do the actual pause
                  M17 E0
                  M109 S215 ; resume temperature
                  G1 F300 Z1.6
                  G1 F9000 X138.263 Y119.525
                  G1 F300 Z0.6 ; move back down to resume height
                  G1 F1800 ; restore extrusion feedrate
                  M82 ; switch back to absolute E values
                  G92 E0.06168

                  Sparkcube XL V 1.1 300x300x190, Radds, Raspberry, Keenovo silicone bedheat 220v, Big Booster Extruder, DIY building
                  BLV Cube 665mm Direct Drive with Duet3/SBC (RPi 4) Mosquito Magnum/Bond Tech Extruder/Vanadium Nozzle, Keenovo silicone bedheat 220v

                  fcwiltundefined 1 Reply Last reply Reply Quote 0
                  • fcwiltundefined
                    fcwilt @Touchthebitum
                    last edited by fcwilt

                    @Touchthebitum

                    Thanks.

                    Can you edit that code?

                    Since the firmware is trying to handle the pause/resume operations on it's own using the pause/resume files it would seem that the slicer generated code should not include any code that duplicates what those two files do.

                    So if the firmware pause/resume files do EVERYTHING that is needed then the slicer code should only be M226 or M600 for pause and nothing for resume.

                    Frederick

                    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                    Touchthebitumundefined 1 Reply Last reply Reply Quote 0
                    • Touchthebitumundefined
                      Touchthebitum @fcwilt
                      last edited by

                      @fcwilt
                      Yes I can edit it.
                      Ok, thanks, I'll check that 😉

                      Sparkcube XL V 1.1 300x300x190, Radds, Raspberry, Keenovo silicone bedheat 220v, Big Booster Extruder, DIY building
                      BLV Cube 665mm Direct Drive with Duet3/SBC (RPi 4) Mosquito Magnum/Bond Tech Extruder/Vanadium Nozzle, Keenovo silicone bedheat 220v

                      1 Reply Last reply Reply Quote 0
                      • Touchthebitumundefined
                        Touchthebitum
                        last edited by

                        nothing to do 😞
                        I only placed M600 on the gcode. The pause is perfect but when I press on "resume" it goes on the print point and turns back on the pause location ...

                        Sparkcube XL V 1.1 300x300x190, Radds, Raspberry, Keenovo silicone bedheat 220v, Big Booster Extruder, DIY building
                        BLV Cube 665mm Direct Drive with Duet3/SBC (RPi 4) Mosquito Magnum/Bond Tech Extruder/Vanadium Nozzle, Keenovo silicone bedheat 220v

                        fcwiltundefined 1 Reply Last reply Reply Quote 0
                        • fcwiltundefined
                          fcwilt @Touchthebitum
                          last edited by

                          @Touchthebitum said in Pause/Resume print:

                          when I press on "resume" it goes on the print point and turns back on the pause location ...

                          I don't understand what you mean by "goes on the print point" or "turns back on the pause location".

                          Can you phrase that another way?

                          Frederick

                          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                          Touchthebitumundefined 1 Reply Last reply Reply Quote 0
                          • Touchthebitumundefined
                            Touchthebitum @fcwilt
                            last edited by

                            @fcwilt
                            the carriage turns back on the last printed position BUT doesn't print, then it turns back on the "pause" location

                            Sparkcube XL V 1.1 300x300x190, Radds, Raspberry, Keenovo silicone bedheat 220v, Big Booster Extruder, DIY building
                            BLV Cube 665mm Direct Drive with Duet3/SBC (RPi 4) Mosquito Magnum/Bond Tech Extruder/Vanadium Nozzle, Keenovo silicone bedheat 220v

                            fcwiltundefined 1 Reply Last reply Reply Quote 0
                            • fcwiltundefined
                              fcwilt @Touchthebitum
                              last edited by

                              @Touchthebitum

                              Still not clear.

                              Are you saying the carriage moves to the correct location for resuming BUT the printer returns to the paused state?

                              Frederick

                              Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                              Touchthebitumundefined 1 Reply Last reply Reply Quote 0
                              • Touchthebitumundefined
                                Touchthebitum @fcwilt
                                last edited by Touchthebitum

                                @fcwilt
                                exactly

                                Sparkcube XL V 1.1 300x300x190, Radds, Raspberry, Keenovo silicone bedheat 220v, Big Booster Extruder, DIY building
                                BLV Cube 665mm Direct Drive with Duet3/SBC (RPi 4) Mosquito Magnum/Bond Tech Extruder/Vanadium Nozzle, Keenovo silicone bedheat 220v

                                fcwiltundefined 1 Reply Last reply Reply Quote 0
                                • fcwiltundefined
                                  fcwilt @Touchthebitum
                                  last edited by

                                  @Touchthebitum said in Pause/Resume print:

                                  @fcwilt
                                  exact

                                  Great.

                                  And if you pause then resume using the Pause and Resume buttons on the DWC it all works correctly?

                                  Frederick

                                  Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                  Touchthebitumundefined 1 Reply Last reply Reply Quote 0
                                  • Touchthebitumundefined
                                    Touchthebitum @fcwilt
                                    last edited by

                                    @fcwilt
                                    yes

                                    Sparkcube XL V 1.1 300x300x190, Radds, Raspberry, Keenovo silicone bedheat 220v, Big Booster Extruder, DIY building
                                    BLV Cube 665mm Direct Drive with Duet3/SBC (RPi 4) Mosquito Magnum/Bond Tech Extruder/Vanadium Nozzle, Keenovo silicone bedheat 220v

                                    fcwiltundefined 1 Reply Last reply Reply Quote 0
                                    • fcwiltundefined
                                      fcwilt @Touchthebitum
                                      last edited by

                                      @Touchthebitum said in Pause/Resume print:

                                      @fcwilt
                                      yes

                                      Great - now I fully understand what you are doing and seeing.

                                      What I don't understand is why pausing from the slicer isn't working. I have an idea but I need to try to verify it.

                                      Perhaps we will get lucky and @dc42 will jump in here.

                                      Frederick

                                      Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                      Touchthebitumundefined 1 Reply Last reply Reply Quote 0
                                      • Touchthebitumundefined
                                        Touchthebitum @fcwilt
                                        last edited by Touchthebitum

                                        @fcwilt
                                        Pausing is working but resuming not ...

                                        Sparkcube XL V 1.1 300x300x190, Radds, Raspberry, Keenovo silicone bedheat 220v, Big Booster Extruder, DIY building
                                        BLV Cube 665mm Direct Drive with Duet3/SBC (RPi 4) Mosquito Magnum/Bond Tech Extruder/Vanadium Nozzle, Keenovo silicone bedheat 220v

                                        fcwiltundefined 1 Reply Last reply Reply Quote 0
                                        • DIY-O-Sphereundefined
                                          DIY-O-Sphere @Touchthebitum
                                          last edited by

                                          @Touchthebitum said in Pause/Resume print:

                                          if state.currentTool != -1

                                          Can you try to remove that from the resume.g?

                                          (UTC+1)

                                          Touchthebitumundefined 1 Reply Last reply Reply Quote 0
                                          • Touchthebitumundefined
                                            Touchthebitum @DIY-O-Sphere
                                            last edited by

                                            @DIY-O-Sphere
                                            Tried but nothing changed

                                            Sparkcube XL V 1.1 300x300x190, Radds, Raspberry, Keenovo silicone bedheat 220v, Big Booster Extruder, DIY building
                                            BLV Cube 665mm Direct Drive with Duet3/SBC (RPi 4) Mosquito Magnum/Bond Tech Extruder/Vanadium Nozzle, Keenovo silicone bedheat 220v

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