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

    Feature request: auto-sleep enable on panel due

    Scheduled Pinned Locked Moved
    PanelDue
    5
    11
    597
    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.
    • mmmark84undefined
      mmmark84
      last edited by

      Hi there!

      the DWC has a nice feature to enable auto-sleep to call M1 after the current job is finished. However, as I understand this only works when the webpage stays open on a PC/tablet. Is it possible to add this checkbox to the panel due?

      This way we could just tick it and walk away and the printer will turn off it self cause of what we put into sleep.g.

      I know its also possible to use an M1 at the end of the gcode, but I dont want to always call sleep.g.

      Im curious of what would be possible!

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

        If you always want the printer to sleep after completing a job, you can put code in your slicer end GCode or in stop.g to do that. You can have it bring up a dialog using M291 if you want the option to cancel it.

        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

        Plohishundefined 1 Reply Last reply Reply Quote 1
        • mmmark84undefined
          mmmark84
          last edited by

          Thanks for your input. I dont want to always do this, only when im printing while I go away and the printer needs to shut itself off after.

          As I understand M291, I can use a counter that needs a "cancel" input before it will call stop.g? if so, I will try this method.

          Is there a way I can still get the checkbox on a feature request list or something?

          1 Reply Last reply Reply Quote 0
          • Plohishundefined
            Plohish @dc42
            last edited by

            @dc42 please tell me, if I want to cancel auto-sleep at a time when the fans are still working, can I do this?
            from a panel or from the web?

            Please forgive my bad English, it's Google's fault :)

            1 Reply Last reply Reply Quote 0
            • A Former User?
              A Former User
              last edited by

              with RRF3 you could probably use conditional g-code, with RRF2 I think you'd have to do it by setting the temperatures below the threshold for thermostatic control and use M116 to wait until the set temperature is reached before issuing the M291 or just straight to M1

              https://duet3d.dozuki.com/Wiki/Gcode#Section_M116_Wait

              Plohishundefined 1 Reply Last reply Reply Quote 0
              • Plohishundefined
                Plohish @A Former User
                last edited by

                @bearer maybe you misunderstood me:

                1. I set auto sleep in the print completion script
                2. The printer has finished printing and is waiting for the nozzle to cool
                3. after cooling, the printer is ready to turn off the power

                I want not to let him do it but to start a new print, is this possible?

                Please forgive my bad English, it's Google's fault :)

                A Former User? 1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User @Plohish
                  last edited by

                  @Plohish then maybe explain how M291 like dc42 suggested doesn't work for you?

                  Plohishundefined 2 Replies Last reply Reply Quote 0
                  • Plohishundefined
                    Plohish @A Former User
                    last edited by

                    @bearer thanks, I read it carefully and understood everything

                    Please forgive my bad English, it's Google's fault :)

                    1 Reply Last reply Reply Quote 0
                    • Plohishundefined
                      Plohish @A Former User
                      last edited by

                      @bearer
                      I'm trying to use the M291
                      Suppose I am not near the printer.
                      I put this code in the stop.g file

                      M291 P"Yes or cancel" S3
                      M81 S0
                      

                      the printer displays a message and expects an action from me. Without my participation, he will not budge.
                      I want another logic:
                      without my action, the printer should display a message box and end the operation if the fan stops.
                      I should also be able to stop the operation by clicking on the button on the window if the fan is not already stopped.

                      Please forgive my bad English, it's Google's fault :)

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

                        You could set the fan to be temperature controlled and use M116 to wait for the temp before continuing. I use this to keep the part cooling fan on to cool the nozzle at the end of the print.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 0
                        • A Former User?
                          A Former User
                          last edited by

                          I believe he needs M291 P"Close dialogue to abort shutdown" S1 T120 but I was rather hoping he'd go back read it and fully understand it, again.

                          Adjusting T120 to whatever timeout desired.

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