• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    spllg
    last edited by 15 Jan 2020, 14:59

    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
    • undefined
      littlehobbyshop
      last edited by littlehobbyshop 15 Jan 2020, 15:33

      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
      • undefined
        chrishamm administrators
        last edited by 15 Jan 2020, 15:42

        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
        • undefined
          aidar
          last edited by 15 Jan 2020, 16:19

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

          undefined 1 Reply Last reply 15 Jan 2020, 16:46 Reply Quote 0
          • undefined
            timcurtis67 @aidar
            last edited by 15 Jan 2020, 16:46

            @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.

            undefined 1 Reply Last reply 15 Jan 2020, 16:49 Reply Quote 0
            • undefined
              spllg @timcurtis67
              last edited by spllg 15 Jan 2020, 16:49

              @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?

              undefined 2 Replies Last reply 15 Jan 2020, 17:04 Reply Quote 0
              • undefined
                timcurtis67 @spllg
                last edited by 15 Jan 2020, 17:04

                @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
                • undefined
                  timcurtis67 @spllg
                  last edited by 15 Jan 2020, 17:06

                  @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
                  • undefined
                    spllg
                    last edited by 15 Jan 2020, 17:17

                    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
                    • undefined
                      spllg
                      last edited by 15 Jan 2020, 17:45

                      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
                      2 out of 10
                      • First post
                        2/10
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA