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

    Pause and Resume macro files for PLA & ABS seperately

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    2
    5
    932
    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.
    • selva_tviundefined
      selva_tvi
      last edited by

      I am using DUET 0.6 with 1.19.2 RRP.

      I need a help in Pausing and Resuming macros. Example, when the power goes, I will 'Pause' the print, so that the extruder will move to the parking location and the heater should be switched off. (I am having UPS backup). Electronics will be powered.

      In Pause.g, I have written the following:
      M190 S0;
      M109 S0;
      G1 X0 Y50 F6000

      When the power comes, when resuming, I am facing issues. When printing with PLA, I wanted only the extruder temperature to reach the previous temp and the heat bed should be '0' only. With ABS, I need both the extruder and heat bed temperatures to reach the previous temperature.

      In 'Resume.g', I am using the following codes:
      ;M190 S100;
      ;M109 S215;
      According to the PLA or ABS, every time I am changing the values and uploading. Is there any g-code to take the temperature what it was before pausing?

      I tried with M116, M116 P0 H0. Both didn't work.

      Thanks for helping.

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        I suggest you use T-1 to deselect the tool, that will set it to standby temperature. Then you can use T0 to select it and bring it up to temperature. Similarly, use M144 to set the bed to standby, and M140 to turn it on 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

        1 Reply Last reply Reply Quote 0
        • selva_tviundefined
          selva_tvi
          last edited by

          @dc42:

          I suggest you use T-1 to deselect the tool, that will set it to standby temperature. Then you can use T0 to select it and bring it up to temperature. Similarly, use M144 to set the bed to standby, and M140 to turn it on again.

          In 'Pause.g', i have given the following:
          T-1;
          M83
          G1 E-4 F3600
          G91
          G1 Z+5 F200
          G90
          G1 X0 Y50 F6000

          When I pause, it goes to the standby-temp (0).

          In 'Resume.g', i have given the following:
          T0;
          M104 S T0;
          M109 S T0;

          G1 R1 ; lower nozzle to resume point
          M83 ; relative extruder moves
          G1 E4 F2500 ; undo the retraction

          The first three lines are the confusion. If I give only T0, tool is enabled, but it didnt reach the temperature.
          Should I add M104? How exactly the command will come? What should be added with S parameter?

          Also, for bed, along with M140 what should be used?

          Thanks

          1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators
            last edited by

            You can use M116 after the T0 and M140 commands.

            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
            • selva_tviundefined
              selva_tvi
              last edited by

              Absolutely working. Sorry for late reply. Thanks.

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