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

    After update to 3.4.1 - M226 pause in GCODE is not working

    Scheduled Pinned Locked Moved
    Using Duet Controllers
    2
    9
    377
    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.
    • omniundefined
      omni
      last edited by

      Hi guys,

      Recently I updated from 3.1.1 to 3.4.1., and PanelDue V3 (7") to 3.4.1

      Often I need to put M226 before a layer in GCODE to pause the print, so I can insert metal nuts or magnets into prints and then resume printing over them.

      But unfortunately now the printer just continues printing after that line.

      When I click on the pause on the PanelDue it pauses the print, but says - the printer is already in the pause state (eventhough it's still printing).

      My pause.g is still from 3.1.1 - here it is :

      ; pause.g
      ; called when a print from SD card is paused
      ;
      ; generated by RepRapFirmware Configuration Tool v3.1.1 on Sun May 31 2020 19:03:43 GMT+0200 (Central European Summer Time)
      M83 ; relative extruder moves
      G1 E-10 F3600 ; retract 10mm of filament
      G91 ; relative positioning
      G1 Z5 F360 ; lift Z by 5mm
      G90 ; absolute positioning
      G1 X0 Y0 F6000 ; go to X=0 Y=0

      If anyone has an idea how to solve it, please help.

      Thanks

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Check out M600 instead

        https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m600-filament-change-pause

        Z-Bot CoreXY Build | Thingiverse Profile

        omniundefined 1 Reply Last reply Reply Quote 0
        • omniundefined
          omni @Phaedrux
          last edited by

          @phaedrux

          Thanks for the answer!

          I use the "Pause at height" postprocess script in Cura 5.0.1, and it defaults to M226 (don't see any way how to change it).

          I can manually edit GCODE to replace M226 to M600, but M226 used to work great, and as far as I can see the only difference is that M600 prefers "filament-change.g" to "pause.g", if it exists?

          Maybe I'm doing something wrong.... I switched to Cura relatively recently (from IdeaMaker), when Cura 5 came out, so I am using pause from cura for the first time actually....

          1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator
            last edited by

            So you are saying that the print will pause, but the paneldue still shows that it is active, and instead of a resume button, you have a pause button on the panel?

            Z-Bot CoreXY Build | Thingiverse Profile

            omniundefined 1 Reply Last reply Reply Quote 0
            • omniundefined
              omni @Phaedrux
              last edited by

              @phaedrux

              The print does not pause, it continues printing past the M226 command.

              But when I hit "pause" on PanelDue it does indeed pause the print, but gives me a message that the printer is already in the pause state.

              I do have the resume button, and it works. The only problem is that I cannot pause it automatically via Gcode, only via the PanelDue.

              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by

                Can you share the gcode file being printed? Or at least a section of it that shows the M226

                Z-Bot CoreXY Build | Thingiverse Profile

                omniundefined 1 Reply Last reply Reply Quote 0
                • omniundefined
                  omni @Phaedrux
                  last edited by

                  @phaedrux

                  Of course, here is an example attached.

                  The M226 should happen before the Layer 22 starts printing.

                  ANTI Z-WOBBLE BOTTOM - V01.gcode

                  1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator
                    last edited by

                    The only change to M226 between 3.1.1 and 3.4.1 I can find is in 3.3

                    M25, M226 and M601 all accept a P0 parameter, which causes pause.g not to be run. M24 accepts a P0 parameter, which causes resume.g not to be run. Caution: in RRF 3.4 this is likely to be replaced by a P"filename" parameter.

                    Though that doesn't seem to be captured in the gcode wiki for those gcodes.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    omniundefined 1 Reply Last reply Reply Quote 0
                    • omniundefined
                      omni @Phaedrux
                      last edited by

                      @phaedrux
                      UPDATE :

                      Your suggestion of replacing M226 with M600 manually in gcode - actually worked! 🙂

                      The printer paused correctly, inserted the nuts and resumed the print.... 🙂

                      Guess this is a workaround for now, until I figure out why M226 is not working.

                      Thanks again!

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