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

    Comand pause e resume from DWC

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    9
    505
    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.
    • lucundefined
      luc
      last edited by

      Hi guys, I'm going crazy! I'm trying to make a macro for "Pause" and another for "Resume" that must work through DWC but for prints launched by Host (I mean NOT from SD).
      I can do the macro and if I activate it while printing it regularly moves the head to the Home position but then instead of stopping there and waiting for my "OK" for resume it returns to print. Can you help me? I read the whole forum, I tried different codes but unfortunately goes to the home and does not stop to wait for the command to make resume.
      Thanks to all in advance.
      Andrew

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

        Can you pause the gcode sender?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • lucundefined
          luc
          last edited by

          Thanks for intervention. I've tried so many gcode and I'm full of notes.
          The "Pause" macro that prints from SD works is this:
          M83; related 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

          but if I try to use it in a macro created by me to be able to use it by printing not from SD it works in part, that is it does not stop and waits for my command for resume in X0 and Y0

          1 Reply Last reply Reply Quote 0
          • lucundefined
            luc
            last edited by

            Then with the other "resume" macro he must resume printing and continue from where he paused but I have not yet been able to prove if I do not resolve the pause before

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

              But if you're printing via USB, the host is sending a stream of gcode at the duet and the duet is executing it. In order to pause, the gcode sender will have to be paused. The Duet can't tell the USB host to stop.

              What are you using for the USB host?

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • lucundefined
                luc
                last edited by luc

                Are you telling me that the macro would work if it weren't for the host that doesn't block itself and continues to send data?
                If so, I hadn't thought of it!

                Host repetier use

                EDIT: If the cause is the host that does not lock in sending data, beyond inserting the pause manually in the gcode, there is no other way?

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

                  I don't often print via USB, so I'm not really sure how it behaves when trying to pause.

                  Is there a reason why you want to print via repetier host rather than just using the DWC and printing via the internal SD card?

                  Z-Bot CoreXY Build | Thingiverse Profile

                  lucundefined 1 Reply Last reply Reply Quote 0
                  • lucundefined
                    luc @Phaedrux
                    last edited by

                    @phaedrux said in Comand pause e resume from DWC:

                    .....

                    Is there a reason why you want to print via repetier host rather than just using the DWC and printing via the internal SD card?

                    I believe none. Maybe it's just a matter of habit. From the first printer (even with marlin) I never wanted to use SD. Bho ... I try to change see if I get used to it.

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

                      Printing from the SD card is definitely the preferred way to do it with the duet. More reliable and opens some more possibilities.

                      Most slicers now let you upload directly to the duet and start the print with a single click.

                      Z-Bot CoreXY Build | Thingiverse Profile

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