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

    PanelDue Reset mCode?

    Scheduled Pinned Locked Moved
    PanelDue
    4
    8
    330
    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.
    • oozeBotundefined
      oozeBot
      last edited by oozeBot

      With the latest 3.2 beta, the PanelDue can now upgrade the firmware via the Duet (M997 S4). The instructions include the following:

      • Automatic erase and reset is only supported from PanelDueFirmware 3.2.2 (earlier versions require manual erase and reset)

      My question is if the reset is done via an mCode? If not, is there any way to script a reset via conditional gCode?

      1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk
        last edited by

        It's done automatically as part of the upgrade process. This has been improved as part of RC1. There's no set mcode to reset the paneldue

        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

        oozeBotundefined 1 Reply Last reply Reply Quote 0
        • oozeBotundefined
          oozeBot @jay_s_uk
          last edited by

          @jay_s_uk I figured.. but I have a use case where I need to reset the PanelDue after removing 24v power (M81).

          1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User
            last edited by

            maybe add it here, just in case people go searching etc

            M118 P2 S"{""controlCommand"":""reset""}"

            1 Reply Last reply Reply Quote 2
            • oozeBotundefined
              oozeBot
              last edited by

              This appears to be working! Thanks!

              1 Reply Last reply Reply Quote 0
              • A Former User?
                A Former User
                last edited by A Former User

                There is an equivalent for "Erase and rewind", to paraphrase The Cardigans. I'm not 100% it was the intention for RRF to be able to send it from g-code. It certainly has potential for abuse and malicious intent, but hopefully they won't change the reset one if they feel the need to prevent erasing.

                edit: autocarrot

                oozeBotundefined 1 Reply Last reply Reply Quote 0
                • oozeBotundefined
                  oozeBot @A Former User
                  last edited by

                  @bearer agree, but this finally corrects our 24v power toggle script. When powered down, the PanelDue needs to be refreshed/reset as the tools no longer exist.. and vice versa when powering up the 24v rail.

                  1 Reply Last reply Reply Quote 0
                  • wilrikerundefined
                    wilriker
                    last edited by

                    It's even easier with

                    M999 A1
                    

                    Manuel
                    Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                    with probably always latest firmware/DWC (incl. betas or self-compiled)
                    My Tool Collection

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