How to modify behaviour of the "STOP" button in PanelDue
-
I wish that when I touch the "STOP" button in PanelDue the printer does not shut down immediately, but first checks the temperature of the nozzle and if it is over about 50 deg C then the nozzle heater is switched off and then the shutdown will wait until its temperature has reached 50 deg C.
I checked my stop.g script, but it is empty, which is a surprise to me. And now I have no clue what script is executed by the "STOP" button of PanelDue.
Anyone able to help here?
-
@Triet the stop button is an emergency stop button. what you are describing is as intended
-
@jay_s_uk OK, The "STOP" button is just for an emergency - I understand.
Should I be shamed to ask where to shutdown the 3d printer in a regular way using PanelDue? -
@Triet unless you're utilising some sort of relay to turn off the 24v (and either keeping the 5v active or also turning it off), theres no way to turn the printer off with the paneldue.
As RRF doesn't need a safe shutdown like klipper etc, it can just be turned off at any point (if ignoring the need to cool hotends etc down) -
@jay_s_uk said in How to modify behaviour of the "STOP" button in PanelDue:
theres no way to turn the printer off with the paneldue
Surprising, but true nontheless.
Then let me re-word my question:
What script is executed when I click the "Off" button in the "ATX Power" area of the Dashboard Menu in DWC?Then I would be able to adapt that script.
-
-
@jay_s_uk said in How to modify behaviour of the "STOP" button in PanelDue:
@Triet M81 is ran https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m81-atx-power-off
Obviously, M81 S0 (default) is executed. What I need is M81 S1 (S1 turns power off when all thermostatic fans have turned off).
Where can I change that? The DWC already has an "Emergency Stop", I don't need a second one...
-
@Triet it'll b e somewhere in the paneldue firmware https://github.com/Duet3D/PanelDueFirmware
maybe @mfs12 can comment -
@jay_s_uk said in How to modify behaviour of the "STOP" button in PanelDue:
@Triet it'll b e somewhere in the paneldue firmware https://github.com/Duet3D/PanelDueFirmware
I meant where to change what DWC executes (requiring M81 S1 but executing M81 S0).
I already checked the built-in configuration capabilities of the DWC in the GUI and found... nothing.
Currently, I am forced to babysit the 3d printer in order to shut it down when the nozzle is heated to avoid clogging (for the regular printing case I changed the end-gcode in the slicer to allow a controlled shutdown).
-
@Triet well the ATX panel is here https://github.com/Duet3D/DuetWebControl/blob/v3.5-dev/src/components/panels/ATXPanel.vue
-
@jay_s_uk You did a great job identifying the right place to customize the software (at least for me, it would have been a lot of work).
Anyways, considering that in this case I would need to host the whole programming environment for this minor change, which would not be persistent at the next release, I decided to rather try to create a macro and use the BtnCmd plugin to make it available in DWC.
Thanks for your help.