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

Pause.g Resume.g problems

Scheduled Pinned Locked Moved Unsolved
Gcode meta commands
8
58
3.7k
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.
  • undefined
    Deluxe 600 @Phaedrux
    last edited by Deluxe 600 30 Dec 2020, 22:20

    @Phaedrux The bl touch has a mechanical offset so its ok, but thank you 🙂 . I added the F0 to the tool definition (now looking like this"M563 P0 D0 H1 F0" correct?) . Doesnt seem to change anything, the fan still doesnt turn back up. Any other ideas what could i try? This is realy strange.

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 31 Dec 2020, 09:06

      How did you set the fan speed before the pause: did you use M106 with or without the P parameter? If you used it without (the usual way that slicers generate it) then your pause/resume code looks OK to me.

      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

      undefined 1 Reply Last reply 31 Dec 2020, 09:16 Reply Quote 0
      • undefined
        Deluxe 600 @dc42
        last edited by Deluxe 600 31 Dec 2020, 09:16

        @dc42 Its set by the Slicer. So no ideas? Ow man 😞

        1 Reply Last reply Reply Quote 0
        • undefined
          Deluxe 600
          last edited by 4 Jan 2021, 19:52

          Well didnt know this would be such a problem

          1 Reply Last reply Reply Quote 0
          • undefined
            Phaedrux Moderator
            last edited by 4 Jan 2021, 19:56

            an you share a sample gcode file? What slicer?

            Z-Bot CoreXY Build | Thingiverse Profile

            undefined 1 Reply Last reply 5 Jan 2021, 22:10 Reply Quote 0
            • undefined
              Deluxe 600 @Phaedrux
              last edited by 5 Jan 2021, 22:10

              @Phaedrux Hi.
              Im using PrusaSlicer for slicing.
              Here is a gcode i tried printing.
              test 1_0.3mm_PLA_MK3.gcode

              1 Reply Last reply Reply Quote 0
              • undefined
                Phaedrux Moderator
                last edited by 5 Jan 2021, 22:14

                So basically it turns the fan on with M106 S255 and leaves it on a full power for the duration of the print and then turns it off at the end.

                If that's normally the case, as a work around, why not just set the fan speed to 100% in resume.g?

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • undefined
                  Phaedrux Moderator
                  last edited by 5 Jan 2021, 22:15

                  Now that 3.2 is released can you test with that?

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    Deluxe 600
                    last edited by 6 Jan 2021, 15:04

                    It is S255 for PLA but once you start printing PETG the speed changes how its needed. No i havent tried 3.2 yet. Could it solve this problem?

                    undefined 1 Reply Last reply 6 Jan 2021, 19:31 Reply Quote 0
                    • undefined
                      Phaedrux Moderator @Deluxe 600
                      last edited by 6 Jan 2021, 19:31

                      @Deluxe-600 said in Pause.g Resume.g problems:

                      Could it solve this problem?

                      I don't know, but testing on the most recent code base would be ideal in case it has been solved and any work to fix it if it is a bug would happen there. Since you're on 3.1.1 it's an easy update by uploading the Duet2and3CombinedFirmware zip file to the system tab.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      undefined 1 Reply Last reply 9 Jan 2021, 13:30 Reply Quote 0
                      • undefined
                        Deluxe 600 @Phaedrux
                        last edited by 9 Jan 2021, 13:30

                        @Phaedrux Hi.
                        So i have updated to 3.2 and tried the pause.g with M107 and also with M106 S0 and the resume.g with M106 R1 and also with M106 R2 but still no luck. Seems like the M106 R1 command sets the speed always to 0rpm. Thank you guys for helping.

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          Deluxe 600
                          last edited by Deluxe 600 1 Sept 2021, 18:30 9 Jan 2021, 18:29

                          I think its a bug in the software. There is no reason why should this not work, you guys dont use pause on your printers? I went trough every forum i could find and the M106 R1 command should turn the print fan back on...but it doesnt for unknown reason.

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            Phaedrux Moderator
                            last edited by 9 Jan 2021, 20:59

                            Your gcode all looks ok, so it may be a bug. We're looking into it.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            undefined 1 Reply Last reply 9 Jan 2021, 21:10 Reply Quote 0
                            • undefined
                              Deluxe 600 @Phaedrux
                              last edited by 9 Jan 2021, 21:10

                              @Phaedrux Thank you. Meanwhile i will try to figure it out, if i find any way to solve this problem i will let you know.

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                dc42 administrators
                                last edited by dc42 1 Oct 2021, 08:30 10 Jan 2021, 08:30

                                I have just tested that on my delta running 3.2 and it works properly for me.

                                Pause.g:

                                ; 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.g:

                                ; 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
                                

                                The GCode file I am printing uses M106 S0 at the start, M106 S255 at the start of the second layer, and M106 S0 at the end. My M563 command in config.g does not have a F parameter.

                                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

                                undefined 1 Reply Last reply 17 Jan 2021, 22:39 Reply Quote 0
                                • undefined
                                  Deluxe 600 @dc42
                                  last edited by 17 Jan 2021, 22:39

                                  @dc42 said in Pause.g Resume.g problems:

                                  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

                                  Ok...so i have found out what was the problem with the FAN. I cant believe it was this trivial, any way the only reason the FAN didnt start up on resume was that the M106 R1 has to always be on the first place otherwise it just doesnt work. When i found out it was this all along i was happy and mad at the same time. Thank you all for your help we finaly did manage to get it working. Have a great day

                                  fcwiltundefined 1 Reply Last reply 17 Jan 2021, 22:46 Reply Quote 1
                                  • fcwiltundefined
                                    fcwilt @Deluxe 600
                                    last edited by 17 Jan 2021, 22:46

                                    @Deluxe-600 said in Pause.g Resume.g problems:

                                    M106 R1 has to always be on the first place

                                    Do you mean the first line in the file?

                                    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

                                    undefined 1 Reply Last reply 18 Jan 2021, 22:07 Reply Quote 0
                                    • undefined
                                      Deluxe 600 @fcwilt
                                      last edited by 18 Jan 2021, 22:07

                                      @fcwilt Yes the very first line in the file.

                                      fcwiltundefined 1 Reply Last reply 18 Jan 2021, 23:18 Reply Quote 0
                                      • fcwiltundefined
                                        fcwilt @Deluxe 600
                                        last edited by 18 Jan 2021, 23:18

                                        @Deluxe-600 said in Pause.g Resume.g problems:

                                        @fcwilt Yes the very first line in the file.

                                        That seems very odd.

                                        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
                                        • First post
                                          Last post
                                        Unless otherwise noted, all forum content is licensed under CC-BY-SA