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

    thermostatic pump with firmware 3 beta

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    7
    310
    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.
    • bilschundefined
      bilsch
      last edited by

      Got an interesting issue. I'm re-working my corexy bot to rrf 3 and for some reason using thermostatic control on a fan ( actually water pump but ... ) does not appear to be behaving as I'd expect.
      I set the config.g up with the fans section as I read it from the docs and accounted for the firmware version 3 difference. When the board resets post save I can see the fan P2 is not configured for thermostatic control.

      Below is the gcode console showing the original M106 post boot and the pasted in content from the web console showing the change.

      4/2/2020, 10:17:16 PM	M106 P2
      Fan 2, speed: 100%, min: 10%, max: 100%, blip: 0.10, temperature: 45.0:60.0C, sensors: 1 2, current speed: 10%:
      4/2/2020, 10:17:12 PM	M106 P2 H1:2 T45:60
      4/2/2020, 10:16:44 PM	M106 P2
      Fan 2, speed: 0%, min: 10%, max: 100%, blip: 0.10
      

      I have the full config up in pastebin. I tried moving the fans section around in the config.g thinking maybe it was a parse order issue - did not work. I don't have a config-override.g.

      I have not yet tried all functionality in the configuration. I've been making frame changes in addition to the firmware upgrade - still in commissioning / validation mode right now.

      Any ideas?

      M115
      FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.01-RC5 ELECTRONICS: Duet WiFi 1.02 or later + DueX5 FIRMWARE_DATE: 2020-03-27b3
      
      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        I can see what is wrong in your pastebin. If you run config.g explicitly using M98 P"config.g" then the error message you see should help you find 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

        bilschundefined 1 Reply Last reply Reply Quote 0
        • bilschundefined
          bilsch @dc42
          last edited by

          @dc42

          4/3/2020, 11:12:55 AM	M98 P"config.g"
          HTTP is enabled on port 80
          FTP is disabled
          TELNET is disabled
          Warning: heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 365C.
          
          Warning: Macro file config-override.g not found
          

          So thats interesting re heater 0 being over-powered. Thats the bed right? I can assure it can't get past about 210C ( can you guess why / how I know 😉 )

          Nothing strikes out at me in here. config-override.g missing is just a warning - does that give a hint at an issue?

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

            I am surprised you did not get another message. This is what I had in mind:

            ; Fans
            M950 F0 C"fan0" Q500                               ; create fan 0 on pin fan0 and set its frequency
            M106 P0 S0 H-1                                     ; set fan 0 value. Thermostatic control is turned off
            M950 F1 C"fan1" Q500                               ; create fan 1 on pin fan1 and set its frequency
            M106 P1 S1 H-1                                     ; set fan 1 value. Thermostatic control is turned off
            M106 P2 H1:2 T45:60                                ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on - duet
            M950 F2 C"duex.fan3" Q500                          ; create fan 2 on pin fan3 and set its frequency
            

            The M106 P2 command won't work because fan 2 has not been created at that point. You need to put the M950 F2 command before it.

            But of course when you run config.g a second time, the fan has been created - hence no error message. Silly me.

            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

            Phaedruxundefined bilschundefined 2 Replies Last reply Reply Quote 0
            • Phaedruxundefined
              Phaedrux Moderator @dc42
              last edited by

              @dc42 said in thermostatic pump with firmware 3 beta:

              But of course when you run config.ga second time, the fan has been created - hence no error message. Silly me.

              Is there no way that error messages from the first run could be buffered and printed to the gcode console after?

              Z-Bot CoreXY Build | Thingiverse Profile

              dc42undefined 1 Reply Last reply Reply Quote 0
              • bilschundefined
                bilsch @dc42
                last edited by

                @dc42

                yes, after switching the order fan 2 is configured correctly now thanks!

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

                  @Phaedrux said in thermostatic pump with firmware 3 beta:

                  @dc42 said in thermostatic pump with firmware 3 beta:

                  But of course when you run config.ga second time, the fan has been created - hence no error message. Silly me.

                  Is there no way that error messages from the first run could be buffered and printed to the gcode console after?

                  On Duet 3 we can certainly do this. On Duet 2 it's tricker because of limited RAM. We might be able to write them to SD card instead.

                  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