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

    External Triggers

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    12
    28
    3.4k
    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.
    • hayseed_byteundefined
      hayseed_byte
      last edited by

      @phaedrux said in External Triggers:

      @hayseed_byte would you consider adding the gist of it to the wiki for posterity?

      I'd be happy to.

      https://wildbot.me/wildbot
      Gcode Definitions for VSCode extension: https://github.com/hayseedbyte/rrf-gcode-definitions

      1 Reply Last reply Reply Quote 2
      • hayseed_byteundefined
        hayseed_byte
        last edited by

        One thing I'd like to link to an external button is the "Print Another" thing but I'm guessing that's a function of the DWC and not the firmware? Print Another is amazingly useful. I have a few printers that don't have Duet controllers (yet) and I really miss that feature.

        https://wildbot.me/wildbot
        Gcode Definitions for VSCode extension: https://github.com/hayseedbyte/rrf-gcode-definitions

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

          Remind me to add the name of the last file printed to the RRF3 object model. Then it will be possible to write a macro that reprints the last file printed.

          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

          Edumaundefined 1 Reply Last reply Reply Quote 0
          • hayseed_byteundefined
            hayseed_byte
            last edited by

            @dc42 said in External Triggers:

            Remind me to add the name of the last file printed to the RRF3 object model. Then it will be possible to write a macro that reprints the last file printed.

            Wow..that would be great. Thank you! I might go ahead and order a fourth duet.

            https://wildbot.me/wildbot
            Gcode Definitions for VSCode extension: https://github.com/hayseedbyte/rrf-gcode-definitions

            1 Reply Last reply Reply Quote 0
            • hayseed_byteundefined
              hayseed_byte @Phaedrux
              last edited by

              @phaedrux I added it to the wiki. I'm not much of a writer but all the information is there, I think.
              https://duet3d.dozuki.com/Wiki/Using_M581_-_External_Triggers_and_Building_a_Control_Panel

              https://wildbot.me/wildbot
              Gcode Definitions for VSCode extension: https://github.com/hayseedbyte/rrf-gcode-definitions

              1 Reply Last reply Reply Quote 1
              • CJ.BRAVOundefined
                CJ.BRAVO
                last edited by CJ.BRAVO

                @dc42 said in External Triggers:

                S Whether trigger occurs on a rising edge of that input (S1, default), falling edge (S0), or ignores that input (S-1). By default, all triggers ignore all inputs.
                C Condition: whether to trigger at any time (C0, default) or only when printing a file from SD card (C1)
                @hayseed_byte

                Hey there,

                trying to connect some external triggers like in the guide mentioned above.

                I had the emergency trigger working (T0) but it seems to cause some weird behavior after resetting...
                seems kinda "stuck" - screen freezes and no control with buttons. it comes back to normal after unplugging the external triggers. am I missing something with the way its connected? some resistors maybe?

                Also, after T0 is engaged I get a "firmware restart" option - a 2nd reset basically, why is that ? a bit redundant, no? anyway to avoid that and have the system restart only once after hitting the emergency button ?

                thanks a bunch !

                hayseed_byteundefined 1 Reply Last reply Reply Quote 0
                • TCundefined
                  TC @Ringo1508
                  last edited by

                  @Ringo1508 I thought about that too and I am trying to store the information that the axes have been homed by disabling a trigger in the homing macro. The trigger pin is allways low. When the print starts it checks for the trigger and is supposed to execute the homing macro if it is still active. The problem now is that the homing sequence is not run properly. It seams called from the gcode file it interferes with the code generated by the slicer. I still do not really understand what priority the trigger code has.

                  @dc42 Could you explain how a trigger behaves during a running print and how I could achieve what I am trying to do?

                  1 Reply Last reply Reply Quote 0
                  • hayseed_byteundefined
                    hayseed_byte @CJ.BRAVO
                    last edited by

                    @CJ-BRAVO I was never able to get an emergency stop button to work. The Duets ask for confirmation for emergency stop which sort of defeats the purpose. If I understand you correctly, your 2nd reset might have something to do with switch bounce so you might look into delay/debounce settings.

                    https://wildbot.me/wildbot
                    Gcode Definitions for VSCode extension: https://github.com/hayseedbyte/rrf-gcode-definitions

                    dc42undefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators @hayseed_byte
                      last edited by

                      @hayseed_byte said in External Triggers:

                      The Duets ask for confirmation for emergency stop

                      I assure you, they don't! They stop immediately, then if the stop wasn't followed by a reset, Duet Web Control asks you if you want to reset.

                      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 0
                      • Phaedruxundefined
                        Phaedrux Moderator @hayseed_byte
                        last edited by

                        @hayseed_byte said in External Triggers:

                        The Duets ask for confirmation for emergency stop

                        It asks for confirmation of a cancel, but not the stop.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 0
                        • CJ.BRAVOundefined
                          CJ.BRAVO
                          last edited by

                          @dc42

                          Any way to have the duet to reset automatically without asking for confirmation?

                          Also any thoughts regarding the "freeze" situation I encounter while triggering other commands ?

                          1 Reply Last reply Reply Quote 0
                          • Edumaundefined
                            Eduma @dc42
                            last edited by

                            @dc42 Just wondering if the reprint capability has been added in to the latest release?

                            Also wondering if there are any plans to have a "print another" in the panel due. I could've sworn there was a pop up at one point.

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

                              @Eduma said in External Triggers:

                              @dc42 Just wondering if the reprint capability has been added in to the latest release?

                              What "reprint capability" at you referring to?

                              Also wondering if there are any plans to have a "print another" in the panel due. I could've sworn there was a pop up at one point.

                              I will add that to the wish list.

                              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 0
                              • Edumaundefined
                                Eduma
                                last edited by

                                Thank you again for the quick response. I would like to reprint the last completed print via an external button or if not possible the paneldue.

                                Above you mentioned "Remind me to add the name of the last file printed to the RRF3 object model. Then it will be possible to write a macro that reprints the last file printed."

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