Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Default Settings Loading

    General Discussion
    3
    6
    768
    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.
    • zerspaner_gerd
      zerspaner_gerd last edited by

      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

      Board: Duet WiFi 1.03 | Firmware Version: 3.1.1 | WiFi Server Version: 1.23 | Web Interface Version: 3.1.1

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

        @zerspaner_gerd said in Default Settings Loading:

        M98 P0: /sys/config.g

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

        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
        • Phaedrux
          Phaedrux Moderator last edited by

          Would it be possible to get M502 for that?

          Z-Bot CoreXY Build | Thingiverse Profile

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

            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.

            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
            • zerspaner_gerd
              zerspaner_gerd last edited by

              @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

              Board: Duet WiFi 1.03 | Firmware Version: 3.1.1 | WiFi Server Version: 1.23 | Web Interface Version: 3.1.1

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

                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.

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