M501 not loading config override after boot
-
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
-
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 theconfig.g
thenconfig-override.g
is loaded on startup -
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
-
I have
M501
at the end ofconfig.g
this is why I am expecting to seeconfig-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 ?
-
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?
-
execute M98 P"config.g"
you might have errors in your config
-
This post is deleted! -
This post is deleted! -
This post is deleted! -
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 byM500
.any workaround ?
-
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
-
use M505 to load a different config
https://duet3d.dozuki.com/Wiki/Gcode#Section_M505_Set_configuration_file_folder