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

M226 Pause Gcode ignored

Scheduled Pinned Locked Moved
General Discussion
5
23
4.5k
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
    totalitarian @dc42
    last edited by 10 Dec 2018, 20:54

    @dc42 The resume button doesn't appear when the command is sent via usb

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 10 Dec 2018, 21:02

      Like I said, M226 on!y works from within a file being printed from within the SD card.

      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

      1 Reply Last reply Reply Quote 0
      • undefined
        Phaedrux Moderator
        last edited by 10 Dec 2018, 21:53

        You could create a macro to send M24 to resume.
        https://duet3d.dozuki.com/Wiki/GCode#Section_M24_Start_resume_SD_print

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 11 Dec 2018, 13:24

          I've decided to allow M226 (and M600) even when no SD card print is in progress. This will allow it to be used in GCode files streamed over USB as well as within SD card print files. I'll implement this in 2.02RC6.

          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 undefined 2 Replies Last reply 12 Dec 2018, 21:13 Reply Quote 0
          • undefined
            JRDM @dc42
            last edited by 12 Dec 2018, 21:13

            @dc42 Does that mean this will now work on a macro too? I found that M25 and M226 both get ignored in macros at least when run within DWC.

            undefined 1 Reply Last reply 13 Dec 2018, 09:13 Reply Quote 0
            • undefined
              totalitarian @dc42
              last edited by 12 Dec 2018, 21:19

              @dc42 You sir are a true gentleman. Thanks

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators @JRDM
                last edited by 13 Dec 2018, 09:13

                @jrdm said in M226 Pause Gcode ignored:

                @dc42 Does that mean this will now work on a macro too? I found that M25 and M226 both get ignored in macros at least when run within DWC.

                M25 should already work from within a macro. Please try it again.

                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 16 Dec 2018, 17:18 Reply Quote 0
                • undefined
                  PlasticMetal
                  last edited by 15 Dec 2018, 13:06

                  I've recently run into an intermittent problem, where hitting 'resume' from the DWC after an M226 (manually inserted in gcode file) will sometimes drop the Duet Ethernet (v1.03) from the network. This is similar to what others have described, other than it isn't guaranteed to fail. Unfortunately, when it does, the build is ruined. Yesterday, resume worked once and failed twice. I'm running 2.01.

                  My pause & resume macros are pretty much stock from the configuration tool.

                  Pause.g:
                  M83
                  G1 E-3 F3600
                  G91
                  G1 Z10 F5000
                  G90
                  G1 X0 Y130 F6000

                  Resume.g:
                  G1 R1 Z5 F6000
                  G1 R1
                  M83
                  G1 E2.5 F3600

                  Thanks for any suggestions!

                  undefined 1 Reply Last reply 15 Dec 2018, 14:05 Reply Quote 0
                  • undefined
                    dc42 administrators @PlasticMetal
                    last edited by 15 Dec 2018, 14:05

                    @plasticmetal said in M226 Pause Gcode ignored:

                    I've recently run into an intermittent problem, where hitting 'resume' from the DWC after an M226 (manually inserted in gcode file) will sometimes drop the Duet Ethernet (v1.03) from the network. This is similar to what others have described, other than it isn't guaranteed to fail. Unfortunately, when it does, the build is ruined. Yesterday, resume worked once and failed twice. I'm running 2.01.

                    My pause & resume macros are pretty much stock from the configuration tool.

                    Pause.g:
                    M83
                    G1 E-3 F3600
                    G91
                    G1 Z10 F5000
                    G90
                    G1 X0 Y130 F6000

                    Resume.g:
                    G1 R1 Z5 F6000
                    G1 R1
                    M83
                    G1 E2.5 F3600

                    Thanks for any suggestions!

                    Please try the just-released 2.02RC6 release (carefully - and read the upgrade notes) because this may have been be fixed already.

                    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

                    1 Reply Last reply Reply Quote 1
                    • undefined
                      PlasticMetal
                      last edited by 16 Dec 2018, 13:22

                      Thanks, David. It worked three times yesterday with the new release, so hopefully it's good to go.

                      Now to just find a quality heater cartridge...

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        JRDM @dc42
                        last edited by 16 Dec 2018, 17:18

                        @dc42

                        OK I tried again. I did the full update to RC6 yesterday and this still happens:

                        Error: M25: Cannot pause print, because no file is being printed!

                        I'm calling the macro by clicking the button in DWC

                        undefined 1 Reply Last reply 16 Dec 2018, 19:36 Reply Quote 0
                        • undefined
                          dc42 administrators @JRDM
                          last edited by 16 Dec 2018, 19:36

                          @jrdm said in M226 Pause Gcode ignored:

                          @dc42

                          OK I tried again. I did the full update to RC6 yesterday and this still happens:

                          Error: M25: Cannot pause print, because no file is being printed!

                          I'm calling the macro by clicking the button in DWC

                          Calling which macro?

                          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 16 Dec 2018, 21:24 Reply Quote 0
                          • undefined
                            JRDM @dc42
                            last edited by JRDM 16 Dec 2018, 21:24

                            @dc42 it's in a macro I wrote that's in my DuetM's standard macro folder.

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              dc42 administrators
                              last edited by 17 Dec 2018, 15:23

                              You mean you have M25 in a macro, and you are invoking that macro from DWC or PanelDue? I've just tested that, and it works for 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 18 Dec 2018, 19:24 Reply Quote 0
                              • undefined
                                JRDM @dc42
                                last edited by 18 Dec 2018, 19:24

                                @dc42 Yes. To test it in isolation, I just now put M25 in its own macro to test it by itself. I invoked it by clicking it from the DWC Machine Control panel, the User-Defined Macro list and I still get:

                                M98 P"0:/macros/Pause"

                                Error: M25: Cannot pause print, because no file is being printed!

                                My board and firmware versions:

                                Firmware Name: RepRapFirmware for Duet 2 Maestro
                                Firmware Electronics: Duet Maestro 1.0
                                Firmware Version: 2.02RC6(RTOS) (2018-12-15b2)
                                Web Interface Version: 1.22.5

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  dc42 administrators
                                  last edited by dc42 18 Dec 2018, 19:29

                                  Were you definitely printing from the SD card on the Duet at the time?

                                  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

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