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

    M501 not loading config override after boot

    Scheduled Pinned Locked Moved
    General Discussion
    5
    13
    771
    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.
    • pabomanundefined
      paboman
      last edited by

      I created two macros, each with different printer configuration for swappable print heads (PID, Max height and printer name) with M500 at the end.

      At the end of config.g there is M501

      If I reboot the machineconfig-override.g is not loaded, it loads the config.g instead.

      What should i check ?
      thx!

      Firmware 2.05.1

      1 Reply Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt
        last edited by

        At power on or a re-boot config.g is always loaded.

        M501 just allows you to load config-override.g as well if you have commands there that need to execute.

        I don't use config-override.g.

        Frederick

        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

        1 Reply Last reply Reply Quote 1
        • pabomanundefined
          paboman
          last edited by

          because in the docs it say:

          Ensure that M501 is at the end of config.g in order for the values in config-override.g to be loaded on startup.

          https://duet3d.dozuki.com/Wiki/Gcode#Section_M500_Store_parameters

          I understand that if M501 is in the config.g then config-override.g is loaded on startup

          fcwiltundefined 1 Reply Last reply Reply Quote 0
          • fcwiltundefined
            fcwilt @paboman
            last edited by

            @paboman

            Hi,

            As I said config.g is ALWAYS loaded.

            You can chose to load config-override.g, in addition to config.g, by putting M501 at the end of config.g.

            Frederick

            Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

            1 Reply Last reply Reply Quote 0
            • pabomanundefined
              paboman
              last edited by paboman

              I have M501 at the end of config.g this is why I am expecting to see config-override.g loaded on startup.

              Unfortunatelly config-override.g is not loading automatically on startup, trying to understand what I am doing wrong.

              @dc42 can you help me please ?

              1 Reply Last reply Reply Quote 0
              • alankilianundefined
                alankilian
                last edited by

                Try:

                M98 P"config.g"

                and:

                M98 P"config-override.g"

                Also, can you post your config files?

                how do you know config-override.g is not getting executed?

                SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

                pabomanundefined 1 Reply Last reply Reply Quote 1
                • Vetiundefined
                  Veti
                  last edited by

                  execute M98 P"config.g"

                  you might have errors in your config

                  1 Reply Last reply Reply Quote 1
                  • pabomanundefined
                    paboman @alankilian
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 1
                    • pabomanundefined
                      paboman
                      last edited by paboman

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • pabomanundefined
                        paboman
                        last edited by paboman

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • pabomanundefined
                          paboman
                          last edited by

                          ERRATA CORRIGE

                          config-override.g is loaded on startup as expected but not the printer name.

                          I was expecting to see also the machine name M550 changing but this command is not saved by M500.

                          any workaround ?

                          1 Reply Last reply Reply Quote 1
                          • Vetiundefined
                            Veti
                            last edited by Veti

                            duet is not marlin.

                            any changes you are making should be done in config.g
                            these you tend to do once when you set up the printer and not change afterward.

                            the parameters that are saved with m500 are calibration and pid values which you tend to do a bit more often.

                            you will realize that duet allows to to change way more parameter whereas in marlin you would have to recompile the firmware.

                            i for one dont use the overwrite at all an put everything in the config.g

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

                              use M505 to load a different config
                              https://duet3d.dozuki.com/Wiki/Gcode#Section_M505_Set_configuration_file_folder

                              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 1
                              • First post
                                Last post
                              Unless otherwise noted, all forum content is licensed under CC-BY-SA