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

    RRF3.01-RC12 Not Loading Config-Override.g on startup?

    Scheduled Pinned Locked Moved Solved
    Beta Firmware
    6
    17
    960
    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.
    • droftartsundefined
      droftarts administrators @KeeganB
      last edited by

      @KeeganB Try sending M98 P"config.g" and see if you get any errors. Not sure of the effect of those '{1}' lines at the end of the config.g.

      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

      KeeganBundefined 2 Replies Last reply Reply Quote 0
      • KeeganBundefined
        KeeganB @droftarts
        last edited by

        @droftarts said in RRF3.01-RC12 Not Loading Config-Override.g on startup?:

        @KeeganB Try sending M98 P"config.g" and see if you get any errors. Not sure of the effect of those '{1}' lines at the end of the config.g.

        Ian

        Interesting. Those {1} values don’t show up in the dwc editor. They only appeared when I copied and pasted. I wonder if that’s the issue.

        I’ll try pasting to a text editor, cleaning those up, and then saving a new config.

        Artemis
        Rostock Max v2
        Orion

        1 Reply Last reply Reply Quote 0
        • KeeganBundefined
          KeeganB @droftarts
          last edited by

          @droftarts
          Nope, i don't think that is it. I pasted it in BBEdit, and it looks clean. I think the form code snippet tool added those {1}'s.

          Artemis
          Rostock Max v2
          Orion

          Phaedruxundefined 1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator @KeeganB
            last edited by

            @KeeganB said in RRF3.01-RC12 Not Loading Config-Override.g on startup?:

            I think the form code snippet tool added those {1}'s.

            Yes I think you're right.

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • KeeganBundefined
              KeeganB
              last edited by

              Bump, any other ideas?

              Artemis
              Rostock Max v2
              Orion

              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by Phaedrux

                If you manually send M501 does it get executed?

                Z-Bot CoreXY Build | Thingiverse Profile

                KeeganBundefined 1 Reply Last reply Reply Quote 0
                • zerspaner_gerdundefined
                  zerspaner_gerd
                  last edited by

                  I think the problem is the same!
                  This variant, M500 P31, helped me
                  Before that, I also used a simple M500
                  Had posted it here before
                  https://forum.duet3d.com/topic/15317/reprapfirmware-3-01-rc6-released/147?_=1589506715771

                  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
                  • dc42undefined
                    dc42 administrators
                    last edited by dc42

                    To clarify:

                    • M500 without the P31 parameter will always save the M665 and M666 parameters to config-override.g.g. I have just verified that this is still the case. It will also save the G31 parameters to config-override.g if a G31 command was read from config-override.g when the Duet was started.
                    • If you add the P31 parameter then M500 will unconditionally include a G31 line in config-override.g.

                    From your description, you should not need to use M500 P31. You would only need to so that if you have changed the G31 parameters, e.g. the trigger height (Z parameter).

                    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

                    KeeganBundefined 1 Reply Last reply Reply Quote 0
                    • KeeganBundefined
                      KeeganB @dc42
                      last edited by

                      @dc42 Thanks David. That is how I understood it as well. So what am I missing?

                      Artemis
                      Rostock Max v2
                      Orion

                      1 Reply Last reply Reply Quote 0
                      • KeeganBundefined
                        KeeganB @Phaedrux
                        last edited by

                        @Phaedrux Yes. If i boot up the machine from powered off and send M501 as the first thing I do, it loads the values from the override files and you can see the Z value change.

                        Artemis
                        Rostock Max v2
                        Orion

                        1 Reply Last reply Reply Quote 0
                        • KeeganBundefined
                          KeeganB
                          last edited by

                          SOLVED:

                          I had my end stops configured as active-low rather than active high. DOH.

                          For others following this that may learn from it, here is my incorrect code:

                          ; Endstops
                          M574 X1 S1 P"xstop"                                    ; configure active-high endstop for low end on X via pin xstop
                          M574 Y1 S1 P"ystop"                                    ; configure active-high endstop for low end on Y via pin ystop
                          M574 Z1 S1 P"zstop"                                    ; configure active-high endstop for low end on Z via pin zstop
                          

                          HERE IS THE CORRECT CODE:

                          ; Endstops
                          M574 X2 S1 P"xstop"                                    ; configure active-high endstop for low end on X via pin xstop
                          M574 Y2 S1 P"ystop"                                    ; configure active-high endstop for low end on Y via pin ystop
                          M574 Z2 S1 P"zstop"                                    ; configure active-high endstop for low end on Z via pin zstop
                          

                          Artemis
                          Rostock Max v2
                          Orion

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

                            @KeeganB said in RRF3.01-RC12 Not Loading Config-Override.g on startup?:

                            I had my end stops configured as active-low rather than active high.

                            I think you mean you had them configured as low-end (axis minimum) endstops instead of high end (axis maximum) endstops.

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