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

How to modify behaviour of the "STOP" button in PanelDue

Scheduled Pinned Locked Moved
PanelDue
2
11
262
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
    Triet
    last edited by 20 Aug 2024, 11:07

    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?

    undefined 1 Reply Last reply 20 Aug 2024, 11:11 Reply Quote 0
    • undefined
      jay_s_uk @Triet
      last edited by 20 Aug 2024, 11:11

      @Triet the stop button is an emergency stop button. what you are describing is as intended

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

      undefined 1 Reply Last reply 20 Aug 2024, 11:23 Reply Quote 0
      • undefined
        Triet @jay_s_uk
        last edited by 20 Aug 2024, 11:23

        @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?

        undefined 1 Reply Last reply 20 Aug 2024, 11:31 Reply Quote 0
        • undefined
          jay_s_uk @Triet
          last edited by 20 Aug 2024, 11:31

          @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)

          Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

          undefined 1 Reply Last reply 20 Aug 2024, 12:11 Reply Quote 0
          • undefined
            Triet @jay_s_uk
            last edited by 20 Aug 2024, 12:11

            @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.

            undefined 1 Reply Last reply 20 Aug 2024, 12:12 Reply Quote 0
            • undefined
              jay_s_uk @Triet
              last edited by 20 Aug 2024, 12:12

              @Triet M81 is ran https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m81-atx-power-off

              Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

              undefined 1 Reply Last reply 20 Aug 2024, 12:17 Reply Quote 0
              • undefined
                Triet @jay_s_uk
                last edited by 20 Aug 2024, 12:17

                @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...

                undefined 1 Reply Last reply 20 Aug 2024, 12:26 Reply Quote 0
                • undefined
                  jay_s_uk @Triet
                  last edited by 20 Aug 2024, 12:26

                  @Triet it'll b e somewhere in the paneldue firmware https://github.com/Duet3D/PanelDueFirmware
                  maybe @mfs12 can comment

                  Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                  undefined 1 Reply Last reply 20 Aug 2024, 12:37 Reply Quote 0
                  • undefined
                    Triet @jay_s_uk
                    last edited by 20 Aug 2024, 12:37

                    @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).

                    undefined 1 Reply Last reply 20 Aug 2024, 13:04 Reply Quote 0
                    • undefined
                      jay_s_uk @Triet
                      last edited by 20 Aug 2024, 13:04

                      @Triet well the ATX panel is here https://github.com/Duet3D/DuetWebControl/blob/v3.5-dev/src/components/panels/ATXPanel.vue

                      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                      undefined 1 Reply Last reply 20 Aug 2024, 15:46 Reply Quote 0
                      • undefined
                        Triet @jay_s_uk
                        last edited by 20 Aug 2024, 15:46

                        @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.

                        1 Reply Last reply Reply Quote 1
                        4 out of 11
                        • First post
                          4/11
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA