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

    3.2 final execonmcode warning issue

    Scheduled Pinned Locked Moved Solved
    General Discussion
    4
    13
    485
    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.
    • wilrikerundefined
      wilriker @oozeBot
      last edited by

      @oozeBot No idea right away but I don't see it on my system. Is it maybe because you used lower-case m?

      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 0
      • oozeBotundefined
        oozeBot
        last edited by

        Same result, but I tested a few other custom mCodes and it appears that this is only happening with M9999.. weird.

        M9999
        Warning: M9999: Command is not supported
        
        1 Reply Last reply Reply Quote 0
        • PCRundefined
          PCR
          last edited by

          @oozeBot always happend to me. DWC dont know the Mcode. So it will say it

          oozeBotundefined 1 Reply Last reply Reply Quote 0
          • PCRundefined
            PCR
            last edited by

            what you can do is making a macro names M9999.g and put nothing inside or only a M117 "Command"

            1 Reply Last reply Reply Quote 0
            • PCRundefined
              PCR
              last edited by

              https://www.youtube.com/watch?v=WxcLDUF9zMs&t

              here you can see it at the end of the video

              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by

                What is M9999 supposed to be anyway?

                Did you mean M999?

                Z-Bot CoreXY Build | Thingiverse Profile

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

                  @Phaedrux it’s a custom mCode through execonmcode to safely shutdown the raspberry pi..

                  1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator
                    last edited by

                    thanks. I assumed but wasn't certain.

                    Z-Bot CoreXY Build | Thingiverse Profile

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

                      @PCR it's odd that it only happens on M9999.. none of my other custom mCodes.

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

                        @oozeBot How do you issue this command? I checked RRF source code and if the command reaches the Duet via PanelDue it will show this warning regardless which custom code you send. All paths that run through DCS should be handled.

                        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

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

                          For posterior's sake, I figured this out. My custom mCode (M9999 in this case) to reboot the RPi is immediately shutting it down. DWC is still online long enough to process it as an unknown command since execonmcode doesn't return the call and reports unsupported.

                          It appears a method to reboot the RPi is being introduced in 3.3 (M999 B-1), so this will no longer be necessary.

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