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

    Wrong FAN configuration on ressurect.g

    Scheduled Pinned Locked Moved Solved
    Tuning and tweaking
    4
    17
    520
    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.
    • Cartolaundefined
      Cartola
      last edited by

      Hello,

      I am testing the power failure recovery and it seems to be working well, except by the FANs configuration after calling resurrect-prologue.g. As you can see in the code below, on ressurect-prologue.g it is setting M106 P1 S0.00. However, P1 is the fan for the heatbreak, which is configured as M106 P1 H1 T45 C"Fan Extruder". This way, the print is restarted with the heatbreak off.

      Relevant content fromconfig.g:

      ; Fans
      M950 F0 C"fan0" Q500 A"Blower"                     ; Create fan 0 (blower) on pin fan0 and set its frequency
      M106 P0 S0 H-1 C"Blower"                           ; Set fan 0 value. Thermostatic control is turned off
      M950 F1 C"fan1" Q500 A"Fan Extruder"               ; Create fan 1 (throat) on pin fan1 and set its frequency
      M106 P1 H1 T45 C"Fan Extruder"                     ; Set fan 1 value. Thermostatic control is turned on
      M950 F2 C"fan2" Q500 A"Filter"                     ; Create fan 2 (filter) on pin fan2 and set its frequency
      M106 P2 S0 H-1 C"Filter"                           ; Set fan 1 value. Thermostatic control is turned off
      

      Relevant content fromressurect.g:

      M98 P"resurrect-prologue.g"
      M116
      M290 X0.000 Y0.000 Z0.100 R0
      T-1 P0
      T0 P6
      ...
      G54
      M106 S0.00
      M106 P1 S0.00
      M116
      G92 E0.00000
      M83
      M23 "0:/gcodes/teste-power-down.gcode"
      

      Full files:

      resurrect-prologue.g
      resurrect.g
      config.g

      Am I missing something here? Is there any wrong configuration?

      Thanks!

      alankilianundefined 1 Reply Last reply Reply Quote 0
      • alankilianundefined
        alankilian @Cartola
        last edited by

        @cartola I don't have a resurrect.g so I can't check.

        How about if you edit it and set the fanspeed that's appropriate?
        Or do you even need that M106 in there at all?

        SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

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

          Firmware version?

          Not sure it really matters in this case, but the fan command in config.g for your heatsink fan should have a S1 in it to tell it a speed to use when it turns on at 45c. Maybe it defaults to full speed.

          M106 P1 H1 T45 C"Fan Extruder" ; Set fan 1 value. Thermostatic control is turned on

          Z-Bot CoreXY Build | Thingiverse Profile

          Cartolaundefined 1 Reply Last reply Reply Quote 0
          • Cartolaundefined
            Cartola @Phaedrux
            last edited by Cartola

            @phaedrux said in Wrong FAN configuration on ressurect.g:

            ot sure it really matters in this case, but the fan command in config.g for your heatsink fan should have a S1 in it to tell it a speed to use when it turns on at 45c. Maybe it defaults to full speed.

            My bad, I forgot to post the version:

            Board: Duet 2 WiFi (2WiFi)
            Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.2 (2021-01-05)
            Duet WiFi Server Version: 1.25

            I will try to add a S1 to it. The fan is set to 100% during normal operation, but let see what happens if I add that parameter.

            1 Reply Last reply Reply Quote 0
            • Cartolaundefined
              Cartola @alankilian
              last edited by Cartola

              @alankilian This file is generated automatically when the power goes out during during a print. Although I can edit it every time I need, as it is created by the firmware, I want to check how to make it work out of the box.

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

                https://github.com/Duet3D/RepRapFirmware/releases/download/3.2.2/Duet2and3Firmware-3.2.2.zip

                Can you upload that zip file to the system tab in DWC?

                Not sure if the .2 update would make a difference or not. If not, it's probably a bug for @dc42

                Z-Bot CoreXY Build | Thingiverse Profile

                Cartolaundefined 3 Replies Last reply Reply Quote 0
                • Cartolaundefined
                  Cartola @Phaedrux
                  last edited by

                  @phaedrux said in Wrong FAN configuration on ressurect.g:

                  https://github.com/Duet3D/RepRapFirmware/releases/download/3.2.2/Duet2and3Firmware-3.2.2.zip

                  Can you upload that zip file to the system tab in DWC?

                  Not sure if the .2 update would make a difference or not. If not, it's probably a bug for @dc42

                  I will make the 2 tests you suggested today I will return with the results. Thanks for the help!

                  1 Reply Last reply Reply Quote 0
                  • Cartolaundefined
                    Cartola @Phaedrux
                    last edited by

                    @phaedrux said in Wrong FAN configuration on ressurect.g:

                    https://github.com/Duet3D/RepRapFirmware/releases/download/3.2.2/Duet2and3Firmware-3.2.2.zip

                    Can you upload that zip file to the system tab in DWC?

                    Not sure if the .2 update would make a difference or not. If not, it's probably a bug for @dc42

                    I did the test where I added the S1 parameter to M106 P1 H1 T45 C"Fan Extruder" ; Set fan 1 value. Thermostatic control is turned on, but it didn't worked.

                    I uploaded the firmware 3.2.2 and now I cannot connect to DWC. I checked my router and it seems the board cannot connect to the wifi.

                    1 Reply Last reply Reply Quote 0
                    • Cartolaundefined
                      Cartola @Phaedrux
                      last edited by

                      @phaedrux I could connect to the board and I had the same result. Do you think it is a bug?

                      New firmware:

                      Board: Duet 2 WiFi (2WiFi)
                      Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.2.2 (2021-02-11)
                      Duet WiFi Server Version: 1.25
                      
                      dc42undefined 1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator
                        last edited by

                        Yes possibly a bug. Will need to have DC42 confirm.

                        Z-Bot CoreXY Build | Thingiverse Profile

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

                          @cartola, I confirm that this is a bug. It's saving the settings of the thermostatic fans instead of the non-thermostatic ones. The fix will be in 3.3beta3.

                          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

                          Cartolaundefined 1 Reply Last reply Reply Quote 0
                          • Cartolaundefined
                            Cartola @dc42
                            last edited by

                            @dc42 Thanks! Do you want me to open a bug on github or something like that? By your response it seems it is a known bug already, but let me know if I need to do something.

                            Thank you again for the great work!

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

                              @cartola Thanks for the offer, but in this case I think the fix is already in.

                              Z-Bot CoreXY Build | Thingiverse Profile

                              Cartolaundefined 1 Reply Last reply Reply Quote 0
                              • Cartolaundefined
                                Cartola @Phaedrux
                                last edited by

                                @phaedrux 👍 cool

                                Thanks, I think this topic can be closed.

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

                                  @cartola Well once beta3 is out you could test it to see if it resolves the issue then close it as solved.

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  Cartolaundefined 1 Reply Last reply Reply Quote 0
                                  • Cartolaundefined
                                    Cartola @Phaedrux
                                    last edited by

                                    @phaedrux Sounds good.

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

                                      @cartola, I will mark this as solved. Feel free to revert it if you still think it's still not right in beta 3.

                                      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