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

    Adding "load mesh" and "pressure advance" in the config.g

    Scheduled Pinned Locked Moved
    General Discussion
    4
    13
    1.3k
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      Yeah that's fine. Typically M501 is the last command in config.g because it loads config-override.g which is meant to replicate the EEPROM function of 8bit controllers.

      So maybe flip those around, but otherwise you got it.

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 1
      • briskspiritundefined
        briskspirit
        last edited by

        I put every custom setting into config-override.g just for convenience 🙂

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

          @briskspirit said in Adding "load mesh" and "pressure advance" in the config.g:

          I put every custom setting into config-override.g just for convenience 🙂

          Bear in mind that config-override.g gets overwritten whenever you run M500.

          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

          briskspiritundefined 1 Reply Last reply Reply Quote 0
          • briskspiritundefined
            briskspirit @dc42
            last edited by

            @dc42 So I need to make some macros and call it from config.g ?

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

              @briskspirit What's the reason for not just putting it in config.g?

              But if you want to be able to quickly switch between configurations you can have them all in a macro and call them whenever you want to switch.

              The filament swap functionality actually lets you define a custom config.g for each filament type you want.

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • GPetropoulosundefined
                GPetropoulos
                last edited by

                I have been testing my setup and i am not sure that the config.g commands work. Not sure it loads the bed mesh with G29 S1. I have had to stop a print and manually load it to see that the print actually sticks to the bed as it has been calibrated to.

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

                  @gpetropoulos Right after you power up the printer, send M122 in the gcode console. It should say if any bed compensation is active.

                  If G29 S1 doesn't seem to work, try M375, which should do the same thing. (Load heightmap.csv)

                  Z-Bot CoreXY Build | Thingiverse Profile

                  GPetropoulosundefined 1 Reply Last reply Reply Quote 1
                  • GPetropoulosundefined
                    GPetropoulos @Phaedrux
                    last edited by

                    @phaedrux said in Adding "load mesh" and "pressure advance" in the config.g:

                    M122

                    I did this and i get :

                    "Hiccups: 0, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm: 132, MaxWait: 1564293ms, Underruns: 0, 0
                    Scheduled moves: 13, completed moves: 13
                    Bed compensation in use: mesh
                    Bed probe heights: 0.000 0.000 0.000 0.000 0.000"

                    What are the 0 bed probe heights?

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

                      @gpetropoulos said in Adding "load mesh" and "pressure advance" in the config.g:

                      Bed compensation in use: mesh

                      That's the line that matters in your case. That indicates mesh compensation is active.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      GPetropoulosundefined 1 Reply Last reply Reply Quote 1
                      • GPetropoulosundefined
                        GPetropoulos @Phaedrux
                        last edited by

                        @phaedrux Is there any command to check the current PA value?
                        I have made a gcode to find my PA value. Thus after that when printing a xyz cube i see it is too high for my direct setup. I also see z seam problems after adding PA.

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

                          @gpetropoulos you can see the current value of anything by sending the command again in the console without any parameters. So for pressure advance in a single extruder you could send 'M572 D0'

                          https://duet3d.dozuki.com/Wiki/Pressure_advance

                          Pressure advance is a bit different than linear advance used in Marlin, so the techniques for determining the value are a bit different. There is another thread with a pythod script that can be used to determine it, which may help.

                          https://forum.duet3d.com/topic/6698/pressure-advance-calibration

                          Z-Bot CoreXY Build | Thingiverse Profile

                          GPetropoulosundefined 1 Reply Last reply Reply Quote 1
                          • GPetropoulosundefined
                            GPetropoulos @Phaedrux
                            last edited by

                            @phaedrux Thank you again!!

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA