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

    SD Card Structure Question and Typos

    Scheduled Pinned Locked Moved Solved
    Documentation
    3
    4
    83
    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.
    • davidjryanundefined
      davidjryan
      last edited by

      I'm reading the SD Card Structure documentation and I have some questions about the folder structure.
      Do macro files have to be put in the /macros folder?
      Does DWC/DSF treat any file in the /macros folder different than any other folder?

      For example, I have 50+ macro files in several folders in the /sys (system) folder and my macros folder is empty.
      Are the files under the /sys folder treated any differently that if the files were in the /macros folder?
      Or is the /macros folder (and the other folders) just to keep some separation and order to the files on the SD card?
      My system is working fine the way I have my folders and files under /sys, I just didn't know if they HAVE to be under /macros because of some extra processing or treatment by DWC/DSF (other than them showing up under Macros in the DWC Dashboard).

      My setup is 6HC in CNC mode with 3 3HC, Pi5, latest DuetPi image, 3.6.0-rc2 on all boards
      This is a non-printer application

      Couple of typos in the SD documentation
      https://docs.duet3d.com/User_manual/RepRapFirmware/SD_card

      SD card structure
      /macros user-defined macro files ?

      5aeb724f-d0a9-4c1f-873b-142ca09882f1-image.png

      Troubleshooting SD Card issues

      SD Card
      slowed down printing ?

      374caaf1-c106-4b13-94ec-a658cfe0d777-image.png

      dc42undefined droftartsundefined 2 Replies Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators @davidjryan
        last edited by

        @davidjryan currently you can put macro files anywhere you like if you don't want them to show up in the DWC Macros page or the display Macros page.

        In the future when we implement security controls, we may afford macros in /sys a higher trust status that macros in /macros.

        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
        • droftartsundefined
          droftarts administrators @davidjryan
          last edited by droftarts

          @davidjryan If you put them in the /macro folder, they will show up on the Macro menu in DWC, and on the PanelDue or other display. The default path for macros is the /sys folder, see https://docs.duet3d.com/User_manual/Reference/Gcodes#m98-call-macrosubprogram

          The filename may include a path to a subdirectory. For relative paths, the default folder is /sys. Absolute file paths are also supported starting with "0:/" for the internal SD card or "1:/" for the external SD card if fitted.

          So, really, it's whatever is convenient for you.

          @davidjryan said in SD Card Structure Question and Typos:

          Couple of typos in the SD documentation

          Thanks, fixed.

          Ian

          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

          davidjryanundefined 1 Reply Last reply Reply Quote 0
          • davidjryanundefined
            davidjryan @droftarts
            last edited by

            When we started this project 2 years ago, we put everything into the /sys folder because of the M98 info. I just wanted to make sure we weren't missing out on any fun by not having them in the /macros folder. We do not need them to show up in the DWC so I'll leave my files where they are.

            Thanks, gents!

            1 Reply Last reply Reply Quote 0
            • davidjryanundefined davidjryan has marked this topic as solved
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA