External Triggers
-
@hayseed_byte would you consider adding the gist of it to the wiki for posterity?
-
@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.
-
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.
-
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.
-
@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.
-
@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 -
@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_byteHey 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 !
-
@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?
-
@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.
-
@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.
-
@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.
-
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 ?
-
@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.
-
@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.
-
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."