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

FAN 0 & FAN 1 allways ON

Scheduled Pinned Locked Moved
General Discussion
5
31
1.4k
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.
  • undefined
    fcwilt @Gixxerfast
    last edited by 24 Feb 2022, 18:45

    @gixxerfast said in FAN 0 & FAN 1 allways ON:

    @cozyp Can you run m98 P"/sys/config.g" and post whatever shows in the console?

    As far as I can see right now, the last M106 is still referencing a heater that prpbably doesn't exists. H100 ?

    H100 refers to the "virtual heater" and is used to monitor the processor chip temperature. That could be used for the fan cooling the board.

    Frederick

    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

    undefined 1 Reply Last reply 24 Feb 2022, 18:54 Reply Quote 0
    • undefined
      Gixxerfast @fcwilt
      last edited by Gixxerfast 24 Feb 2022, 18:54

      @fcwilt Edit: No it isn't Is H100 predefined as MCU temp?

      Voron V2.4 (#1317) with Duet 3 Mini5+ Wifi and 1LC v1.1 Toolboard
      Voron V0.1 (#637) with Duet 3 Mini 5+ Wifi and 1LC v1.2 Toolboard
      Ender 3 Pro with BTT SKR-2 + RRF

      undefined 1 Reply Last reply 24 Feb 2022, 19:43 Reply Quote 0
      • undefined
        fcwilt @Gixxerfast
        last edited by 24 Feb 2022, 19:43

        @gixxerfast said in FAN 0 & FAN 1 allways ON:

        @fcwilt Edit: No it isn't Is H100 predefined as MCU temp?

        From the documentation:

        The fourth example sets up an electronics cooling fan that starts to turn on when the MCU temperature (virtual heater 100) reaches 45C and reaches full speed when the MCU temperature reaches 65C or if any TMC2660 drivers (virtual heaters 101 and 102) report that they are over-temperature

        I can only assume the documentation is correct.

        Frederick

        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

        undefined undefined 2 Replies Last reply 24 Feb 2022, 19:48 Reply Quote 0
        • undefined
          Gixxerfast @fcwilt
          last edited by Gixxerfast 24 Feb 2022, 19:48

          @fcwilt Yes, that sound reasonable which made me try it as I set it up explicitly.

          I changed my config to:

          M106 P2 H100 L0.2 X1.0 T30:50 C"Controller fan 1"
          

          When I run that config I get:

          Error: Sensor number out of range

          Also, when I look in the code I see nothing that suggests that there exists predefined sensor numbers

          The sensor number list that s set via the H flag is checked with this:

          if (hnum < (int)MaxSensors)
          {
          sensorsMonitored.SetBit((unsigned int)hnum);
          }
          else
          {
          reply.copy("Sensor number out of range");
          error = true;
          }

          And as far as I can see the MaxSensors is between 32 or 56 depending on board. I am very likely reading something wrong here as it's not very quickly easy to see what MaxSensors is defined to in this case.

          Voron V2.4 (#1317) with Duet 3 Mini5+ Wifi and 1LC v1.1 Toolboard
          Voron V0.1 (#637) with Duet 3 Mini 5+ Wifi and 1LC v1.2 Toolboard
          Ender 3 Pro with BTT SKR-2 + RRF

          1 Reply Last reply Reply Quote 0
          • undefined
            Phaedrux Moderator @fcwilt
            last edited by Phaedrux 24 Feb 2022, 20:02

            @fcwilt said in FAN 0 & FAN 1 allways ON:

            @gixxerfast said in FAN 0 & FAN 1 allways ON:

            @fcwilt Edit: No it isn't Is H100 predefined as MCU temp?

            From the documentation:

            The fourth example sets up an electronics cooling fan that starts to turn on when the MCU temperature (virtual heater 100) reaches 45C and reaches full speed when the MCU temperature reaches 65C or if any TMC2660 drivers (virtual heaters 101 and 102) report that they are over-temperature

            I can only assume the documentation is correct.

            Frederick

            Yes it is correct in RRF2. And in RRF3 you can target the virtual heaters by name now. mcu-temp

            Is that text from the cooling the board page?

            Yes. And it does show both RRF2 and RRF3 options.

            https://duet3d.dozuki.com/Wiki/Mounting_and_cooling_the_board#Section_Notes

            Z-Bot CoreXY Build | Thingiverse Profile

            undefined undefined 2 Replies Last reply 24 Feb 2022, 20:04 Reply Quote 1
            • undefined
              Gixxerfast @Phaedrux
              last edited by Gixxerfast 24 Feb 2022, 20:04

              @phaedrux It's from here as far as I can see: https://duet3d.dozuki.com/Wiki/M106

              But can you really refer to it via number >=100 in the H parameter ?

              I see nothing that implies that.

              OK, so with RRF V3 you cannot use +100 to refer to the MCU or other sensor (virtual heater) as I initally wrote far above here somewhere.

              Voron V2.4 (#1317) with Duet 3 Mini5+ Wifi and 1LC v1.1 Toolboard
              Voron V0.1 (#637) with Duet 3 Mini 5+ Wifi and 1LC v1.2 Toolboard
              Ender 3 Pro with BTT SKR-2 + RRF

              1 Reply Last reply Reply Quote 0
              • undefined
                fcwilt @Phaedrux
                last edited by 24 Feb 2022, 20:54

                @phaedrux said in FAN 0 & FAN 1 allways ON:

                Is that text from the cooling the board page?

                It was from the M106 documentation page:

                M106

                It mentions v3 firmware and references M308 which is where there are references to virtual heater names.

                The H parameter relates to the sensor number(s) created by M308, not the temperature sensor pin number on the board.

                Perhaps that could be expanded a little to provide a bit more info as to the connection between M308 and virtual heaters, etc.

                Frederick

                Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                1 Reply Last reply Reply Quote 0
                • undefined
                  Phaedrux Moderator
                  last edited by 24 Feb 2022, 21:16

                  Maybe just a link to this?

                  https://docs.duet3d.com/en/User_manual/Connecting_hardware/Temperature_configuring_mcu_temp

                  In RRF2 the virtual heater number would go directly into the M106 command. But in RRF3 it's a bit more abstracted with M308 creating the sensor first. The entire example is almost out of scope for the normal usage of M106, especially in RRF3.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  undefined 1 Reply Last reply 24 Feb 2022, 21:22 Reply Quote 1
                  • undefined
                    fcwilt @Phaedrux
                    last edited by 24 Feb 2022, 21:22

                    @phaedrux said in FAN 0 & FAN 1 allways ON:

                    Maybe just a link to this?

                    https://docs.duet3d.com/en/User_manual/Connecting_hardware/Temperature_configuring_mcu_temp

                    In RRF2 the virtual heater number would go directly into the M106 command. But in RRF3 it's a bit more abstracted with M308 creating the sensor first. The entire example is almost out of scope for the normal usage of M106, especially in RRF3.

                    That looks fine.

                    It took me to a site that I was not aware of. Is that the current site for documentation?

                    Is the "Gcode dictionary" site obsolete?

                    Thanks.

                    Frederick

                    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                    undefined 1 Reply Last reply 24 Feb 2022, 21:24 Reply Quote 0
                    • undefined
                      Phaedrux Moderator @fcwilt
                      last edited by 24 Feb 2022, 21:24

                      @fcwilt said in FAN 0 & FAN 1 allways ON:

                      Is the "Gcode dictionary" site obsolete?

                      It's back like it was before!

                      https://docs.duet3d.com/en/User_manual/Reference/Gcodes

                      @fcwilt said in FAN 0 & FAN 1 allways ON:

                      It took me to a site that I was not aware of. Is that the current site for documentation?

                      The new documentation site went is live now.

                      https://docs.duet3d.com/

                      The old dozuki site will be archived and retired at some point I believe.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      undefined 1 Reply Last reply 24 Feb 2022, 21:47 Reply Quote 1
                      • undefined
                        fcwilt @Phaedrux
                        last edited by 24 Feb 2022, 21:47

                        @phaedrux said in FAN 0 & FAN 1 allways ON:

                        The new documentation site went is live now.

                        I didn't even know it was planned.

                        Thanks.

                        Frederick

                        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                        undefined 1 Reply Last reply 25 Feb 2022, 09:46 Reply Quote 0
                        • undefined
                          droftarts administrators @fcwilt
                          last edited by droftarts 25 Feb 2022, 09:46

                          @fcwilt it hasn’t been announced formally as we’re still tinkering with it, and there’s still a few pages to add, but it’s live and what we are generally using now. We’ll be formally announcing it and posting messages on the Dozuki pages to redirect people to the new site in the next couple of days. It’s taken quite a few months to migrate and update it! That’s why I haven't been around on the forum as much.

                          Ian

                          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                          undefined 1 Reply Last reply 25 Feb 2022, 10:15 Reply Quote 2
                          • undefined
                            fcwilt @droftarts
                            last edited by fcwilt 25 Feb 2022, 10:15

                            @droftarts said in FAN 0 & FAN 1 allways ON:

                            @fcwilt it hasn’t been announced formally as we’re still tinkering with it, and there’s still a few pages to add, but it’s live and what we are generally using now. We’ll be formally announcing it and posting messages on the Dozuki pages to redirect people to the new site in the next couple of days. It’s taken quite a few months to migrate and update it! That’s why I have been around on the forum as much.

                            Ian

                            At first glance it looks grand.

                            Thanks much for your efforts.

                            Frederick

                            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                            undefined 1 Reply Last reply 25 Feb 2022, 11:21 Reply Quote 0
                            • undefined
                              CozyP @fcwilt
                              last edited by 25 Feb 2022, 11:21

                              @fcwilt

                              hELLO

                              I updated fan 2.

                              However I haven't managed to make fan 1, which is the extruder cooler fan stop and turn on when the heater turns on.

                              ; Heaters
                              M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
                              M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
                              M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
                              M140 H0 ; map heated bed to heater 0
                              M143 H0 S120 ; set temperature limit for heater 0 to 120C
                              M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
                              M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
                              M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
                              M143 H1 S280 ; set temperature limit for heater 1 to 280C
                              M308 S10 Y"mcu-temp" A"MCU" ; defines sensor 10 as MCU temperature sensor
                              M308 S11 Y"drivers" A"Duet stepper drivers" ; defines sensor 11 as stepper driver temperature sensor

                              ; Fans
                              M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
                              M106 P0 S1 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 H1 T45 ; set fan 1 value. Thermostatic control is turned on
                              M950 F2 C"fan2" Q100 ; create fan 2 on pin fan2 and set its frequency
                              M106 P2 H10:11 T40:70 ; set fan 2 value

                              undefined 1 Reply Last reply 25 Feb 2022, 16:52 Reply Quote 0
                              • undefined
                                fcwilt @CozyP
                                last edited by 25 Feb 2022, 16:52

                                @cozyp

                                If configure that fan to non-thermostatic control can you then set it's speed using it's DWC fan speed slider?

                                Frederick

                                Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                undefined 1 Reply Last reply 25 Feb 2022, 20:27 Reply Quote 0
                                • undefined
                                  Phaedrux Moderator
                                  last edited by 25 Feb 2022, 18:31

                                  Or send M106 P1 S1 H-1 That should turn it on full blast.

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  undefined 1 Reply Last reply 25 Feb 2022, 20:29 Reply Quote 0
                                  • undefined
                                    CozyP @fcwilt
                                    last edited by 25 Feb 2022, 20:27

                                    @fcwilt I have connected this fan in the non PWM fan output

                                    undefined 1 Reply Last reply 25 Feb 2022, 21:41 Reply Quote 0
                                    • undefined
                                      CozyP @Phaedrux
                                      last edited by 25 Feb 2022, 20:29

                                      @phaedrux That's the problem. The extruder fan, NOT the part cooling fan is running full blast. Allways. Usually these fans turn on after T45celcius automatically

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        Phaedrux Moderator
                                        last edited by 25 Feb 2022, 20:51

                                        Sorry, can you clarify which fan is connected where?

                                        What happens when you send M106 P1 S1 H-1 ?

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        undefined 1 Reply Last reply 28 Feb 2022, 20:21 Reply Quote 0
                                        • undefined
                                          fcwilt @CozyP
                                          last edited by 25 Feb 2022, 21:41

                                          @cozyp said in FAN 0 & FAN 1 allways ON:

                                          @fcwilt I have connected this fan in the non PWM fan output

                                          Sorry but I don't understand what you mean by that.

                                          I was wanting you to verify that whatever output you were using was still working.

                                          Frederick

                                          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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