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

Pause and store print state on network signal (UPS)

Scheduled Pinned Locked Moved
Duet Hardware and wiring
4
10
1.1k
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
    Nemesis
    last edited by Nemesis 25 Nov 2018, 21:59

    I have a UPS connected to synology NAS and the printer. The NAS monitors the NAS and sends a signal when on battery and 10% left of said battery (this is 10 minutes or so).

    Can I configure the duetwifi to listen to this signal and do a safe shutdown and store current print progress so I can resume printing when power is back up?

    I know the duet has such a system in place if it detects the power going down. However can I also trigger it on a network event?

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 26 Nov 2018, 13:35

      Currently you can't trigger it directly on a network event, but you can trigger a pause/save on a change of state of a spare endstop input.

      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 1
      • undefined
        Nemesis
        last edited by 20 Dec 2018, 11:18

        Thnx. That might be usable. I have some arduinos and other things lying around!

        If I come up with a solution. I'll post it here so others may reuse it.

        PS would be a nice and fairly easy to implement feature. If I remember correctly duetwifi firmware is open source if I find the time I might do a pull and see if I can add it.

        1 Reply Last reply Reply Quote 0
        • undefined
          resam
          last edited by 20 Dec 2018, 11:21

          If you have a Wifi/ethernet device (Arduino/ESP8266/ESP32) you can use a Telnet connection to send a gcode to pause the print.
          Maybe you can even run this on your NAS (some of them can run custom scripts or programs).

          1 Reply Last reply Reply Quote 1
          • undefined
            Nemesis
            last edited by Nemesis 20 Dec 2018, 16:14

            That's a great idea actually! I have a Synology, so creating something to do this wouldn't be a problem.

            Would a Pause command be sufficient to make a resume after power restore possible?

            undefined 1 Reply Last reply 20 Dec 2018, 16:18 Reply Quote 0
            • undefined
              Phaedrux Moderator @Nemesis
              last edited by 20 Dec 2018, 16:18

              @nemesis said in Pause and store print state on network signal (UPS):

              Would a Pause command be sufficient to make a resume after power restore possible?

              Yes. A restore point is created any time a pause is triggered.

              Z-Bot CoreXY Build | Thingiverse Profile

              undefined 1 Reply Last reply 22 Dec 2018, 16:27 Reply Quote 0
              • undefined
                Nemesis
                last edited by 20 Dec 2018, 16:49

                Thank you for the confirmation Phaedrux. I'll do some testing this week.

                1 Reply Last reply Reply Quote 0
                • undefined
                  dc42 administrators @Phaedrux
                  last edited by 22 Dec 2018, 16:27

                  @phaedrux said in Pause and store print state on network signal (UPS):

                  @nemesis said in Pause and store print state on network signal (UPS):

                  Would a Pause command be sufficient to make a resume after power restore possible?

                  Yes. A restore point is created any time a pause is triggered.

                  Bear in mind that if you cancel the print while it is paused, the restore point will be deleted. So turn the printer off without cancelling the print.

                  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

                  undefined 1 Reply Last reply 22 Dec 2018, 16:36 Reply Quote 0
                  • undefined
                    Phaedrux Moderator @dc42
                    last edited by 22 Dec 2018, 16:36

                    @dc42 I didn't realize that. Good to know.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Nemesis
                      last edited by 22 Dec 2018, 20:58

                      @dc42 @Phaedrux as always thnx for the insights 🙂 I'll keep that in mind.

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