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

    Can't run pressure advance g-code

    Scheduled Pinned Locked Moved Solved
    Tuning and tweaking
    6
    36
    1.8k
    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.
    • gbartschundefined
      gbartsch @tas
      last edited by

      @tas Thank you.

      I've tried 'Before layer change G-code' but I'll try 'After layer change G-code'.

      I've also tried 'Template Custom G-code' and that didn't work.

      This was easy last time I ran this so don't know why it's difficult this time. Both PrusaSlicer and SuperSlicer have been updated a few times so maybe something changed with them?

      Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

      tasundefined 1 Reply Last reply Reply Quote 0
      • tasundefined
        tas @gbartsch
        last edited by

        @gbartsch
        I noticed you are using D3 in your M572 code. Should it not be D0? That is what I use but I only have one extruder on my printers.

        gbartschundefined 1 Reply Last reply Reply Quote 1
        • gbartschundefined
          gbartsch @tas
          last edited by gbartsch

          @tas Sorry for my tardiness in replying.

          I also have one extruder and was sure I used D0 previously when I successfully ran the g-code

          But my drive mapping is as follows, so isn’t my extruder D3?

          M569 P0 S1                                ; physical drive 0 goes forwards
          M569 P1 S1                                ; physical drive 1 goes forwards
          M569 P2 S1                                ; physical drive 2 goes forwards
          M569 P3 S1                                ; physical drive 3 goes forwards
          M584 X0 Y1 Z2 E3                       ; set drive mapping
          

          Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @gbartsch
            last edited by

            @gbartsch drives for extruders start at 0 so even though you have driver 3 mapped to the extruder, it's the first extruder driver and is therefore D0

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            gbartschundefined 1 Reply Last reply Reply Quote 0
            • gbartschundefined
              gbartsch @jay_s_uk
              last edited by

              @jay_s_uk Thank you. I'll run through this again using D0.

              Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

              1 Reply Last reply Reply Quote 0
              • gbartschundefined
                gbartsch
                last edited by

                Well, I've run the g-code numerous times with small to extreme levels of pressure advance to no effect. I've put a line in my filament g-code with no effect. I give up for now.

                Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

                oliofundefined 1 Reply Last reply Reply Quote 0
                • oliofundefined
                  oliof @gbartsch
                  last edited by

                  @gbartsch you could use https://ellis3dp.com/Pressure_Linear_Advance_Tool/ before giving up, that tool generates the ramp up of PA values itself and it works really well IMO.

                  <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                  gbartschundefined 1 Reply Last reply Reply Quote 0
                  • gbartschundefined
                    gbartsch @oliof
                    last edited by

                    @oliof Thank you. My firmware is 2.04 (2019-11-01b1) so am not sure if it can work. I ran the print but could see no variance in the pattern. I used a natural PLA because that was in the machine so couldn't get a decent picture. I'll change to an opaque filament and run it again and post a picture.

                    Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

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

                      Why such old firmware?

                      Z-Bot CoreXY Build | Thingiverse Profile

                      gbartschundefined 1 Reply Last reply Reply Quote 0
                      • gbartschundefined
                        gbartsch
                        last edited by

                        This is the result of the pressure advance test. I see no variation. Maybe my firmware is too old for this script to work?

                        patest.jpg

                        Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

                        1 Reply Last reply Reply Quote 0
                        • gbartschundefined
                          gbartsch @Phaedrux
                          last edited by gbartsch

                          @Phaedrux I'm clueless and not sure I could upgrade it without goofing something up. My friend set up my Duet and has moved away so I'm still using this. It's been working so I haven't needed to upgrade so far but it seems I should learn how.

                          Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

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

                            @gbartsch No reason to update firmware if you're still happy with how it's running. But if you do decide to give it a try, start a new thread and we'll be happy to help you along.

                            If the script isn't doing it for you I would try the living tuning method. Plop a cube down in the slicer and stretch it out in one axis so you have a long flat rectangle with rectilinear infill. Then start the print and manually send the gcode command to enable PA and send a new value to increase it and see how it changes.

                            Unless you have a very long bowden setup even a small amount of PA is better than no PA. Somewhere in the 0.02 to 0.04 range is probably going to be usable on a direct drive or short bowden.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            gbartschundefined 1 Reply Last reply Reply Quote 0
                            • gbartschundefined
                              gbartsch @Phaedrux
                              last edited by

                              @Phaedrux Thanks a lot! I'd really appreciate help with upgrading the firmware. I'll look into the procedure and then likely make a post with some questions.

                              I printed this shape at 60mm/sec and manually sent codes from M572 D0 S0.025 to M572 D0 S0.085. I don't see any difference in the seam.

                              2023-01-25_14h20_10.png

                              Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

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

                                @gbartsch said in Can't run pressure advance g-code:

                                I'll look into the procedure

                                this is what I usually tell people.

                                If you still have access to DWC. Upload these zip files, one at a time in the system tab. Don't extract them first. Reboot after each. Use M115 in the gcode console to verify the firmware has been applied.
                                https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip
                                https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2and3Firmware-3.0.zip
                                https://github.com/Duet3D/RepRapFirmware/releases/download/3.3/Duet2and3Firmware-3.3.zip
                                https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.5/Duet2and3Firmware-3.4.5.zip

                                That will get your firmware and DWC up to date.

                                You can see the change logs here:
                                https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.x

                                For your config, might be a good idea to run through the configurator tool and generate a fresh set for RRF3.
                                https://configtool.reprapfirmware.org/Start

                                Backup your existing config files in the sys folder in case you want to switch back to RRF2. It’s easy to switch back and forth, just upload the zip file for the version you want and then upload your config files.

                                These documents will come in handy during the conversion.
                                https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview
                                https://docs.duet3d.com/en/User_manual/RepRapFirmware/Migration_RRF2_to_RRF3
                                https://docs.duet3d.com/en/User_manual/Reference/Gcodes

                                Z-Bot CoreXY Build | Thingiverse Profile

                                gbartschundefined 1 Reply Last reply Reply Quote 0
                                • gbartschundefined
                                  gbartsch @Phaedrux
                                  last edited by

                                  @Phaedrux Thanks! I'll read the sources you suggest.

                                  So this is incremental upgrade method is used because the firmware is so old? But you don't recommend I do that?

                                  537f6eeb-1a06-47ae-8d29-8121d0b92362-image.png

                                  I should use the configurator and skip the above steps?

                                  I'm wondering if I could use a file compare tool (I use Beyond Compare) to look inside new versus old files? That might help with finding settings that need to move over?

                                  I have a disability so will have to wait for someone to help me remove/re-insert the MicroSD card so I can backup my current config.

                                  Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

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

                                    Uploading the zip files is usually a pretty quick and easy way to get up to date if you already have a working board. The fallback would be to use bossa to flash the firmware directly, but then you also have to manually place the correct files and update the DWC files manually. The zip file upload just takes care of everything for you.

                                    You would still need to use the config tool to generate a new config file set that would work with RRF3. You would need to know the details of your printer setup before hand to make it easier. If you uploaded your current files it would be possible to provide you with a basic config set.

                                    You don't need to remove the SD card to create a backup of the config files on the card since you can download them from DWC, but having a full copy of the card contents is always a good idea anyway.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    gbartschundefined 1 Reply Last reply Reply Quote 0
                                    • gbartschundefined
                                      gbartsch @Phaedrux
                                      last edited by

                                      @Phaedrux Ah! OK, this is starting to make a little sense. Now I am getting intrigued and would like to upgrade the firmware so my machine would the have the newest version of firmware and DWC and learn to how to do it.

                                      Because this is off-topic from the pressure advance question should I do as you suggested and start a new thread? I really appreciate you being willing to help me. I'm sure if I can learn, anyone could and such a thread might be useful to others.

                                      Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

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

                                        Sure you can start a new thread. Include your config.g and homing files. Go through the config tool and try and create a new config set and include that as well and we can compare to see how far off it is.

                                        https://configtool.reprapfirmware.org/Start

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        gbartschundefined 1 Reply Last reply Reply Quote 1
                                        • gbartschundefined
                                          gbartsch @Phaedrux
                                          last edited by

                                          @Phaedrux Thank you! I will get started soon.

                                          Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

                                          tasundefined 1 Reply Last reply Reply Quote 0
                                          • tasundefined
                                            tas @gbartsch
                                            last edited by

                                            @gbartsch My turn to apologize for being tardy.

                                            Your sample prints definitely have no pressure advance happening at all.

                                            If your extruder jerk setting is too low it can limit Pressure Advance ability to function. Maybe that is what is happening.

                                            Duet3D Documentation

                                            Check the 'Side effects of Pressure Advance' section at the bottom of the page.

                                            Pressure Advance was working for 2.04 as far as I can remember but I still think it is worth upgrading as @Phaedrux suggested. You do have to do it in the order he suggested.

                                            Do post your config to get it checked before trying to print with the new firmware. There are a few significant changes. If only I had written them down.

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