Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Error code when using M471

    Gcode meta commands
    macros m471
    4
    9
    79
    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.
    • ApTix
      ApTix last edited by

      So I'm in the trying to make a backup of my old bed mesh to reference. The issue I'm having isnt with the function but it spits out error code when doing it.
      Like it does rename the file heightmap_00 to .bak, but it spits out the error code underneath. Am I doing something wrong?
      Tried using the command in the console and in a macro but same result. It renames the file but spits out the same error code

      Using this command:
      M471 S"/sys/heightmap_00.csv" T"/sys/heightmap_00.csv.bak" D1

      Error code:
      M471 S"/sys/heightmap_00.csv" T"/sys/heightmap_00.csv.bak" D1
      Error: M471: Failed to rename file or directory /sys/heightmap_00.csv to /sys/heightmap_00.csv.bak: Unable to find the specified file.

      Using duetweb on a raspberry 4 8gb
      Board: Duet 3 6HC
      DSF 3.4.3

      jay_s_uk chrishamm 2 Replies Last reply Reply Quote 1
      • jay_s_uk
        jay_s_uk @ApTix last edited by

        @ApTix one for @chrishamm
        what you're trying to do looks ok to me

        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

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

          Do your DSF and Duet firmware versions match?

          Z-Bot CoreXY Build | Thingiverse Profile

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

            @Phaedrux
            Board: Duet 3 MB6HC (MB6HC)
            DSF Version: 3.4.3
            Firmware: RepRapFirmware for Duet 3 MB6HC 3.4.3 (2022-10-05)

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

              Can you try renaming, but keep the csv extension?

              Z-Bot CoreXY Build | Thingiverse Profile

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

                @Phaedrux I tried to rename the file to heightmap_00.bak.csv and heightmap_00_bak.csv with or without D1 in M471 but still the same result…it renames the file but gets the same error code.

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

                  Sounds like maybe a permissions issue, but @chrishamm would know more.

                  Is this with a stock Duet Pi image? Might not be a bad time to try a fresh image download and update to 3.4.4.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 0
                  • ApTix
                    ApTix @ApTix last edited by ApTix

                    @Phaedrux its running mjpg-streamer beside the duet application for a camera stream. maybe updating would help...but it seems more like a bug than permission issues since it does change the name of the file? like it does work but error codes pops out?

                    1 Reply Last reply Reply Quote 1
                    • chrishamm
                      chrishamm administrators @ApTix last edited by

                      @ApTix Thanks for reporting this, it will be fixed in the next version.

                      Duet software engineer

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