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.
    • fcwiltundefined
      fcwilt @Gixxerfast
      last edited by

      @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

      Gixxerfastundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
      • Gixxerfastundefined
        Gixxerfast @fcwilt
        last edited by Gixxerfast

        @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
        • Phaedruxundefined
          Phaedrux Moderator @fcwilt
          last edited by Phaedrux

          @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

          Gixxerfastundefined fcwiltundefined 2 Replies Last reply Reply Quote 1
          • Gixxerfastundefined
            Gixxerfast @Phaedrux
            last edited by Gixxerfast

            @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
            • fcwiltundefined
              fcwilt @Phaedrux
              last edited by

              @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
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by

                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

                fcwiltundefined 1 Reply Last reply Reply Quote 1
                • fcwiltundefined
                  fcwilt @Phaedrux
                  last edited by

                  @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

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

                    @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

                    fcwiltundefined 1 Reply Last reply Reply Quote 1
                    • fcwiltundefined
                      fcwilt @Phaedrux
                      last edited by

                      @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

                      droftartsundefined 1 Reply Last reply Reply Quote 0
                      • droftartsundefined
                        droftarts administrators @fcwilt
                        last edited by droftarts

                        @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

                        fcwiltundefined 1 Reply Last reply Reply Quote 2
                        • fcwiltundefined
                          fcwilt @droftarts
                          last edited by fcwilt

                          @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

                          CozyPundefined 1 Reply Last reply Reply Quote 0
                          • CozyPundefined
                            CozyP @fcwilt
                            last edited by

                            @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

                            fcwiltundefined 1 Reply Last reply Reply Quote 0
                            • fcwiltundefined
                              fcwilt @CozyP
                              last edited by

                              @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

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

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

                                Z-Bot CoreXY Build | Thingiverse Profile

                                CozyPundefined 1 Reply Last reply Reply Quote 0
                                • CozyPundefined
                                  CozyP @fcwilt
                                  last edited by

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

                                  fcwiltundefined 1 Reply Last reply Reply Quote 0
                                  • CozyPundefined
                                    CozyP @Phaedrux
                                    last edited by

                                    @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
                                    • Phaedruxundefined
                                      Phaedrux Moderator
                                      last edited by

                                      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

                                      CozyPundefined 1 Reply Last reply Reply Quote 0
                                      • fcwiltundefined
                                        fcwilt @CozyP
                                        last edited by

                                        @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
                                        • CozyPundefined
                                          CozyP @Phaedrux
                                          last edited by

                                          @phaedrux @fcwilt

                                          Ok. First things first.

                                          Phaedrux, I sent M106 on config file. Nothing changed. Fan stays ON no matter what. FAN 1 was added as option on DWC screen, but it cannot be controlled, which is correct, as the fan is connected in a non PWM output.

                                          dcwilt, the extruder heater fan and the motherboard fan are connected in a NON PWM output, but they allways stay ON, full blast no matter what....
                                          I wanted to turn them on via thermostat, as they should work. Am I missing something???

                                          ; 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 M106 P1 S1 H-1 ; 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

                                          CozyPundefined Phaedruxundefined fcwiltundefined 3 Replies Last reply Reply Quote 0
                                          • CozyPundefined
                                            CozyP @CozyP
                                            last edited by

                                            ; 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 M106 P1 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

                                            ; Tools
                                            M563 P0 D0 H1 F0 ; define tool 0
                                            G10 P0 X-15 Y-15 Z0 ; set tool 0 axis offsets
                                            G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C

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