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

    M28 Append instead of write/overwrite?

    Scheduled Pinned Locked Moved
    General Discussion
    4
    5
    192
    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.
    • Kolbiundefined
      Kolbi
      last edited by

      Happy Friday!

      I have used the M28 command to write, and overwrite, files before but is it possible to just append, add lines to an existing file?

      Cheers,
      Kolbi

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

        Appears that would require a change to the M28 command to allow specifying write/append
        https://duet3d.dozuki.com/Wiki/Gcode#Section_M28_Begin_write_to_SD_card

        or resorting to using DSF and moving the logic to userspace in linux

        1 Reply Last reply Reply Quote 0
        • Kolbiundefined
          Kolbi
          last edited by

          Thanks @bearer, that's pretty much what I was thinking after reading through all the M commands - was hoping I missed something 😉

          1 Reply Last reply Reply Quote 0
          • DonStaufferundefined
            DonStauffer @Kolbi
            last edited by

            @kolbi I've wished for M28 and M560 append capability on numerous occasions. I wonder how difficult it would be to implement, and whether a workaround exists in the meantime. Even the ability to join one existing file to the end of another would be useful.

            1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators
              last edited by

              @donstauffer I've added this or an equivalent facility to the firmware wishlist for consideration in RRF 3.4.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

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