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

    RepRapFirmware 3.01-RC3 released

    Scheduled Pinned Locked Moved
    Beta Firmware
    22
    68
    4.2k
    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.
    • tobias_munichundefined
      tobias_munich
      last edited by tobias_munich

      strange behaviour with M505 alternative configuration folder

      DUET3, SBC & RRF3 last release:

      1. i made a alternative config folder M505 P"experimental". which is in /sys/experimental/ and worked with it
      2. i stepped back to the normal /sys config
      3. reset of the board only, no reboot of the sbc
      4. I changed some values in /sys/bed.g
      5. wondering because it didn't took the new values, the board uses still the file /sys/experimental/bed.g

      is it necessary rebooting the sbc or restarting de DSF processes after changing the config path?

      Hypercube-Evolution, Dual-Z, Nimble v2, Orion Piezo
      Duet3, DuetWifi, Raspberry Pi 4, 7 inch HDMI Display, Panel-Due
      Firmware: RepRapFirmware for Duet 3 MB6HC 'always the latest release'

      1 Reply Last reply Reply Quote 0
      • Schmartundefined
        Schmart
        last edited by

        Hi @dc42, I upgraded my firmware from 2.05 to 3.0 to 3.01-RC3 yesterday without any issues. The breaking changes are fortunately very manageable for me and I think this major update makes the configuration concept much more logical and consistent. Thanks for the huge effort you're putting in! I did notice though, that increasing the speed factor (e.g. M220 S150 or increasing the 'speed factor' slider in DWC) no longer works properly. After a few moves have passed, the speed seems to only change briefly (for one move if I have to guess) and intermittently; sometimes there's no observable change at all. It seems that the speed changes back nearly immediately to 100% again.

        Creality CR-20 Pro with a Duet 2 Maestro, 3Dfused X+Z-axis rail kit, HIWIN-based DIY solution for the Y-axis, E3D Hemera, working ST7565 MiniPanel and various other small hardware improvements.

        Phaedruxundefined dc42undefined 2 Replies Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator @Schmart
          last edited by

          @Schmart As of 3.01 RC2:

          The speed factor (M220) is no longer applied to extruder-only moves or to movement commands in system or user macro files

          Is that perhaps what you're seeing?

          Z-Bot CoreXY Build | Thingiverse Profile

          Schmartundefined 1 Reply Last reply Reply Quote 0
          • Schmartundefined
            Schmart @Phaedrux
            last edited by

            Hi @Phaedrux, I indeed saw that comment in the release notes as well, and now wondering what 'extruder-only moves' actually constitutes. I'd expect that this would not include regular print moves such as G1 X3 Y3 E0.8 F1800 but retraction or derectract moves such as G10/G11 or G1 E-0.5. I'm definitely seeing this with regular print moves as well. I also noticed that when I set the speed factor to 150%, a reset to 100% slows the print speed down to 50-60% for one move only. I guess something's not adding up with the changes made to M220 recently.

            Creality CR-20 Pro with a Duet 2 Maestro, 3Dfused X+Z-axis rail kit, HIWIN-based DIY solution for the Y-axis, E3D Hemera, working ST7565 MiniPanel and various other small hardware improvements.

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

              @Schmart said in RepRapFirmware 3.01-RC3 released:

              Hi @dc42, I upgraded my firmware from 2.05 to 3.0 to 3.01-RC3 yesterday without any issues. The breaking changes are fortunately very manageable for me and I think this major update makes the configuration concept much more logical and consistent. Thanks for the huge effort you're putting in! I did notice though, that increasing the speed factor (e.g. M220 S150 or increasing the 'speed factor' slider in DWC) no longer works properly. After a few moves have passed, the speed seems to only change briefly (for one move if I have to guess) and intermittently; sometimes there's no observable change at all. It seems that the speed changes back nearly immediately to 100% again.

              Seem odd. I ran several prints yesterday with the speed factor set at 50% or 65% and it was definitely working. But I set the speed factor with PanelDue, not DWC.

              If you run into this again, send M220 without parameters to see what speed factor is reported.

              Having thought about it, one instance where I think there is a problem is if the F parameter for a printing move just happens to match the F parameter for the preceding extruder-only move, and the slicer notices that and leave it out. In other words, if the slicer generated this:

              G1 E-5 F3000
              G1 X50 Y60 F3000 E1.0

              but the slicer noticed that the feed rate was the same for both moves and left out the F3000 on the second move, then the speed factor won't get applied to the second move. I'll fix this in RC4. You might like to check your GCode file to see if this situation is occurring.

              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

              Schmartundefined 1 Reply Last reply Reply Quote 0
              • c310undefined
                c310 @dc42
                last edited by c310

                @dc42 said in RepRapFirmware 3.01-RC3 released:

                P is now the GPin pin number, so 1 in your case

                i have tried for my emergency mushroom button

                M581 P1 T0 C0
                

                ..no luck... what should exact string be?

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

                  @c310 said in RepRapFirmware 3.01-RC3 released:

                  @dc42 said in RepRapFirmware 3.01-RC3 released:

                  P is now the GPin pin number, so 1 in your case

                  i have tried for my emergency mushroom button

                  M581 P1 T0 C0
                  

                  ..no luck... what should exact string be?

                  That should work, provided that you still have this command before the M581:

                  M950 J1 C"e1stop"

                  The S0 or S1 option is still available in the M581 command.

                  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
                  • Schmartundefined
                    Schmart @dc42
                    last edited by

                    @dc42 said in RepRapFirmware 3.01-RC3 released:

                    Having thought about it, one instance where I think there is a problem is if the F parameter for a printing move just happens to match the F parameter for the preceding extruder-only move, and the slicer notices that and leave it out. In other words, if the slicer generated this:

                    G1 E-5 F3000
                    G1 X50 Y60 F3000 E1.0

                    but the slicer noticed that the feed rate was the same for both moves and left out the F3000 on the second move, then the speed factor won't get applied to the second move. I'll fix this in RC4. You might like to check your GCode file to see if this situation is occurring.

                    Hi @dc42, I've included the gcode of a full single layer of a test cube I've been printing. My slicer (both Supermerill's Slic3r++ and PrusaSlicer) generate code such as the following:

                    ; Layer 6 at 1.4mm
                    G10 ; retract
                    G1 Z1.400 F9000.000
                    ; printing object Shape-Box id:0 copy 0
                    G1 X15.500 Y27.775
                    G11 ; unretract
                    G1 F1800.000
                    G1 X3.225 Y27.775 E0.39472
                    G1 X3.225 Y3.225 E0.78944
                    G1 X27.775 Y3.225 E0.78944
                    G1 X27.775 Y27.775 E0.78944
                    G1 X15.560 Y27.775 E0.39279
                    

                    I'm doing print quality experiments with PETG and all print speeds consistently at 30mm/s. I don't know if the latter is a factor, but the slicer indeed decides to set a default feedrate for print moves and does not specify feed rates explicitly on every single G1. So I guess this fully corresponds with the scenario you've described where M220 wouldn't work properly yet?

                    I'll also try to print something today and see what M220 is reporting back when I set a speed factor. Thanks!

                    Creality CR-20 Pro with a Duet 2 Maestro, 3Dfused X+Z-axis rail kit, HIWIN-based DIY solution for the Y-axis, E3D Hemera, working ST7565 MiniPanel and various other small hardware improvements.

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

                      Thanks @Schmart, that explains it. I've made a change in RC4 that should fix it.

                      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

                      Schmartundefined 1 Reply Last reply Reply Quote 0
                      • Schmartundefined
                        Schmart @dc42
                        last edited by

                        @dc42 excellent, thank you! Looking forward to RC4 and I’ll be sure to put M220 through its paces once it’s released.

                        Creality CR-20 Pro with a Duet 2 Maestro, 3Dfused X+Z-axis rail kit, HIWIN-based DIY solution for the Y-axis, E3D Hemera, working ST7565 MiniPanel and various other small hardware improvements.

                        1 Reply Last reply Reply Quote 0
                        • tobias_munichundefined
                          tobias_munich
                          last edited by tobias_munich

                          homeall.g issues:

                          some times my homeall.g is not working correctly. its straight forward (see below).
                          it does the 1st line (homex.g) correctly and sometimes it goes directly to the last line homez.g without executing the 2nd line (homey.g)

                          no problem if i run each script separately .

                          M98 P"homex.g"
                          M98 P"homey.g"
                          M98 P"homez.g"
                          

                          similar issue reported here
                          https://forum.duet3d.com/topic/14854/homing-inconsistent-duet-3

                          @dc42 together with the "hanging" problem (see link below) of the RPi the DUET3+SBC setup is less reliable then before. But its stable if the DUET3 is running in standalone mode.

                          https://forum.duet3d.com/topic/14565/d3-pi-hangs-and-sometimes-won-t-reset?_=1583875893095

                          Hypercube-Evolution, Dual-Z, Nimble v2, Orion Piezo
                          Duet3, DuetWifi, Raspberry Pi 4, 7 inch HDMI Display, Panel-Due
                          Firmware: RepRapFirmware for Duet 3 MB6HC 'always the latest release'

                          1 Reply Last reply Reply Quote 0
                          • insertnamehereundefined
                            insertnamehere
                            last edited by

                            I'm using conditional code to optimized bed leveling.

                            On occasions when the 2 points used are equal I get an initial deviation of NAN.

                            3/10/2020, 11:10:16 AM Leadscrew adjustments made: -0.001 -0.001, points used 2, (mean, deviation) before (-0.001, nan) after (0.000, 0.000)

                            I would expect that when 2 points are the same that the standard deviation for those points would be 0. If I'm wrong, how can I test for NAN in the conditional code?

                            dc42undefined 2 Replies Last reply Reply Quote 0
                            • dc42undefined
                              dc42 administrators @insertnamehere
                              last edited by

                              @insertnamehere said in RepRapFirmware 3.01-RC3 released:

                              I would expect that when 2 points are the same that the standard deviation for those points would be 0. If I'm wrong, how can I test for NAN in the conditional code?

                              I will fix that. Meanwhile you can use the built-in isnan function:

                              11/03/2020, 08:05:07 	echo isnan(sqrt(-1))
                              true
                              

                              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
                              • c310undefined
                                c310 @TurtlePrint
                                last edited by

                                @TurtlePrint said in RepRapFirmware 3.01-RC3 released:

                                When sending the M112 command the printer turns off and then starts the hot end fan "fan1" at full speed

                                i have the same issue too. after M112 (or hardware mushroom button) printer stops, starts reboot and stucks with the cooling fan at 100% speed.

                                After it it is only possible to reload it by cycling power. when switching to reprap web interface - it gives a bit more diagnostics: "The firmware still reports to be halted after an emergency stop. Would you like to reset your board now?"
                                waiting for any long does not help either.

                                what can it be?

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

                                  @c310 said in RepRapFirmware 3.01-RC3 released:

                                  @TurtlePrint said in RepRapFirmware 3.01-RC3 released:

                                  When sending the M112 command the printer turns off and then starts the hot end fan "fan1" at full speed

                                  i have the same issue too. after M112 (or hardware mushroom button) printer stops, starts reboot and stucks with the cooling fan at 100% speed.

                                  M112 has always done that. The printer should still respond to M999.

                                  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

                                  c310undefined 1 Reply Last reply Reply Quote 0
                                  • c310undefined
                                    c310 @dc42
                                    last edited by

                                    @dc42 thanks, m999 works however to do so i need to use /reprap UI, DWC remains "blocked" untill power cycle.

                                    in old good times of 2.x firmware mushroom button not only stopped operations, but also made
                                    web interface responsive after reset (that does not happen in 3.01-RC3 )

                                    what is a way to link m999 to emergency stop button (instead of triggering m112) without macros ?
                                    or what can be done to run m999 after m112 generated by mushroom button ?

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

                                      @insertnamehere said in RepRapFirmware 3.01-RC3 released:

                                      I'm using conditional code to optimized bed leveling.

                                      On occasions when the 2 points used are equal I get an initial deviation of NAN.

                                      3/10/2020, 11:10:16 AM Leadscrew adjustments made: -0.001 -0.001, points used 2, (mean, deviation) before (-0.001, nan) after (0.000, 0.000)

                                      I would expect that when 2 points are the same that the standard deviation for those points would be 0. If I'm wrong, how can I test for NAN in the conditional code?

                                      The NaNs should be gone in the internal build at https://www.dropbox.com/sh/3azy1njy3ayjsbp/AACquxr2m00eV568RZg5QG5wa?dl=0.

                                      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

                                      insertnamehereundefined 1 Reply Last reply Reply Quote 1
                                      • mundsenundefined
                                        mundsen
                                        last edited by

                                        When do you plan to release RC4?

                                        1 Reply Last reply Reply Quote 0
                                        • Danalundefined
                                          Danal
                                          last edited by Danal

                                          I may be off track here, but the reset problem described (here and in several other threads)... I believe the fix for that is having DuetControlServer restart itself as the last action when processing an M999.

                                          I've built a version that does that, and opened a pull request on Github in chrishamm/DuetControlServer repository.

                                          Meanwhile, if anyone is willing to try the 1.2.4.0 version of DuetControlServer with this fix, download this file:

                                          http://danalspub.com/wp-content/uploads/2020/03/DuetControlServer.zip

                                          Unzip, and place the two files inside in /opt/dsf/bin

                                          The 'DuetControlServer' file should have attributes of -rwxr-xr-x. If for some reason it does not, run chmod 755 DuetControlServer

                                          After the copies:
                                          sudo systemctl stop duetcontrolserver
                                          sudo systemctl start duetcontrolserver

                                          If you decide to go back, run:

                                          sudo apt-get reinstall duetcontrolserver

                                          or

                                          sudo apt-get reinstall duetcontrolserver=specific version number you wish

                                          You can find all available versions via:
                                          apt-cache policy duetcontrolserver

                                          Delta / Kossel printer fanatic

                                          gtj0undefined 2 Replies Last reply Reply Quote 1
                                          • gtj0undefined
                                            gtj0 @Danal
                                            last edited by

                                            @Danal I'll test it later today. Thanks!

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