Default Settings Loading



  • Can I, for example, load after the filament, restore the default settings with "M98 P0: /sys/config.g"?

    Or is there any problems?

    Or is there already an M-command to reload the settings?
    M503 seems to be just an output, right?
    M502 does not seem to work either?

    greeting


  • administrators

    @zerspaner_gerd said in Default Settings Loading:

    M98 P0: /sys/config.g

    Yes you can run that command to get back to default settings.



  • Would it be possible to get M502 for that?


  • administrators

    M502 loads the settings from config.g but does not load anything from config-override.g. This is equivalent to what M502 does in firmwares that use EEPROM t store values, as described at http://reprap.org/wiki/G-code#M502:Revert_to_the_default.22factory_settings..22.



  • @dc42 said in Default Settings Loading:

    M502 loads the settings from config.g

    That would be enough for me, but M502 shows no change for me.

    Here is my experimental setup:
    0_1526148445720_G-Code Console.JPG

    1. Default from config.g
    2. modification
    3. Reset
    4. re-inspection, nothing has changed

    Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
    Firmware Electronics: Duet WiFi 1.02 or later
    Firmware Version: 1.21 (2018-03-21)
    WiFi Server Version: 1.21
    Web Interface Version: 1.21


  • administrators

    I have looked again at the implementation of M502. Currently it resets only those parameters that are normally overridden in config-override.g. However, I think it would be more compatible with how other firmwares behave if it ran almost all of config.g. So in the next release candidate it will run all commands in config.g except for network-related commands, T commands, and M501 commands.


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.