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

    automatic printer shutdown after print has finished

    Scheduled Pinned Locked Moved Solved
    Duet Web Control
    5
    10
    1.2k
    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.
    • spllgundefined
      spllg
      last edited by

      octoprint is capable to shut down a printer after a configurable amount of time after the last g-code was sent to the printer provided the temperature of the heating block(s) has fallen below a configurable value.

      question: is there an equivalent functionality in dwc?

      1 Reply Last reply Reply Quote 0
      • littlehobbyshopundefined
        littlehobbyshop
        last edited by littlehobbyshop

        In print Status screen:
        f1862e48-b654-4d33-81b4-29019aaf04a4-image.png

        IIRC this runs M0 at the end of your print and the behaviour on M0 can be modified in stop.g.
        Correction: Enable auto sleep sends M1 which triggers sleep.g

        https://duet3d.dozuki.com/Wiki/Duet_Web_Control_Manual#Section_Print_control

        BLV MGN Cube w/Hemera, K8200, Sunlu S8

        1 Reply Last reply Reply Quote 0
        • chrishammundefined
          chrishamm administrators
          last edited by

          The easiest solution would be to

          1. Install wilriker's execute on code extension
          2. Enable the option @littlehobbyshop mentioned
          3. Edit sleep.g to perform a shutdown. sleep.g is executed when M1 is run or DWC sends "auto-sleep"

          Duet software engineer

          1 Reply Last reply Reply Quote 0
          • aidarundefined
            aidar
            last edited by

            M81 S1 maybe ? https://duet3d.dozuki.com/Wiki/Gcode#Section_M81_ATX_Power_Off

            timcurtis67undefined 1 Reply Last reply Reply Quote 0
            • timcurtis67undefined
              timcurtis67 @aidar
              last edited by

              @aidar said in automatic printer shutdown after print has finished:

              M81 S1 maybe ? https://duet3d.dozuki.com/Wiki/Gcode#Section_M81_ATX_Power_Off

              Yes M81 S1 is the correct way to shut down after a print is done.

              Just add it to the end of the program you are printing.

              spllgundefined 1 Reply Last reply Reply Quote 0
              • spllgundefined
                spllg @timcurtis67
                last edited by spllg

                @timcurtis67 m81 s1 will turn power off when all thermostatic fans have turned off, but how to tell the board when (secs, temperature value) fans should be turned off and how to cancel m81 s1?

                timcurtis67undefined 2 Replies Last reply Reply Quote 0
                • timcurtis67undefined
                  timcurtis67 @spllg
                  last edited by

                  @spllg said in automatic printer shutdown after print has finished:

                  @timcurtis67 m81 s1 will turn power off when all thermostatic fans have turned off, but how to tell the board when (secs, temperature value) fans should be turned off?

                  @spllg , You don't have to set the value of time (in seconds) or a cutoff temp.

                  The "S1" in the command tells the Duet board to shut down once the all thermostatic fans have reached there shut down temp. You can't set that temp. It's coded in the firmware.

                  Just have the M81 S1 at the last line of your gcode print program because anything after M81 S1 will never be executed.

                  1 Reply Last reply Reply Quote 0
                  • timcurtis67undefined
                    timcurtis67 @spllg
                    last edited by

                    @spllg said in automatic printer shutdown after print has finished:

                    @timcurtis67 m81 s1 will turn power off when all thermostatic fans have turned off, but how to tell the board when (secs, temperature value) fans should be turned off and how to cancel m81 s1?

                    @spllg , you do have to have your hotend fan configured to operated that way by the Duet board.

                    See https://duet3d.dozuki.com/Wiki/Connecting_and_configuring_fans#Section_Thermostatically_controlled_fans

                    1 Reply Last reply Reply Quote 0
                    • spllgundefined
                      spllg
                      last edited by

                      m106 .. is the answer to my question. as i have my hotend fan directly to 12v (because i wanted to be safe) i will reconfigure my machine.

                      thanks a lot for your hint.

                      1 Reply Last reply Reply Quote 0
                      • spllgundefined
                        spllg
                        last edited by

                        yet another little question: i have a duet 3 where fan0 is not predefined. how do i configure the fan to be active at power on?

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