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

    External Pause/Resume Button

    Scheduled Pinned Locked Moved
    Gcode meta commands
    6
    22
    2.0k
    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.
    • Nightowlundefined
      Nightowl @burtonenator
      last edited by Nightowl

      @burtonenator
      Just a quick update: I now have full pause/resume control via an external switch. Yaay!

      Thank you for your wisdom and help.

      Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
      I'm still on my learning curve, so take everything I say with caution!

      RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

      1 Reply Last reply Reply Quote 0
      • Nightowlundefined Nightowl referenced this topic
      • Nightowlundefined
        Nightowl @burtonenator
        last edited by Nightowl

        @burtonenator

        I found a little anomaly with the code. It is just a little one, but if you run the file from the Jobs screen, everything works as it should (thanks again), but if you rerun the file from the Start Again button in the Job Control window of the Dashboard, the file will run, but if you use the external button to Pause the process, you get an error:

        Error: Cannot print, because no file is selected!
        

        So I'm guessing the "job.file.fileName" line might need a bit of a tweak.

        I'll see how I get on...

        EDIT: Erm, it doesn't seem to do it now. I'll check again over the next few days and report back...

        Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
        I'm still on my learning curve, so take everything I say with caution!

        RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

        1 Reply Last reply Reply Quote 1
        • Nightowlundefined Nightowl referenced this topic
        • Nightowlundefined Nightowl referenced this topic
        • Nightowlundefined Nightowl referenced this topic
        • Nightowlundefined Nightowl referenced this topic
        • Nightowlundefined Nightowl referenced this topic
        • Nightowlundefined Nightowl referenced this topic
        • Nightowlundefined Nightowl referenced this topic
        • Nightowlundefined Nightowl referenced this topic
        • First post
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA