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

    During PID tuning is it supposed to turn on part fan (fan 0)?

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    2
    7
    269
    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.
    • thetazzbotundefined
      thetazzbot
      last edited by

      Scenario: NTC 100k 3950 thermistor; mosquito hotend; 50w 24v heater

      M308 S1 P"e0temp" Y"thermistor" T100 B4766 C1.183652e-7 ; configure sensor 1 as thermistor on pin e0temp

      I used the calculator on the configurator to come up with those numbers based on the temp table I found for the thermistor:
      25c: 100k
      210c 456.6
      250c 223.6

      When running
      M303 T0 S240

      It goes through its motions, then at the end it says "measuring with fan on"

      "Which fan"? is it talking about? I'm guessing this is the part fan because tool fan comes on at 45c automatically of course.

      But the part fan does not turn on during PID. They do in fact work, as M106 S255 turns them on.

      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @thetazzbot
        last edited by

        @thetazzbot yes, the part cooling fan should come on.
        post your config.g so we can take a look. its more than likely mapped incorrectly in M563

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        thetazzbotundefined 1 Reply Last reply Reply Quote 0
        • thetazzbotundefined
          thetazzbot @jay_s_uk
          last edited by thetazzbot

          @jay_s_uk ; Heaters

          ; bed
          M308 S0 P"bedtemp" Y"thermistor" T100000 B4085 ; 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
          ; PID settings saved in config-override.g
          M140 H0 ; assign heaer 0 to bed heater
          M143 H0 S120 ; set temperature limit for heater 0 to 120C

          ; hotend, mosquito, 50w 24v heater, ntc 3950 100K thermistor
          ;https://m.media-amazon.com/images/I/81UssMSx6wL.SL1500.jpg
          M308 S1 P"e0temp" Y"thermistor" T100000 B4766 C1.183652e-7 ; 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
          ; PID settings saved in config-override.g
          M143 H1 S280 ; set temperature limit for heater 1 to 280C

          ; 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 H1 T45 ; set fan 1 value. Thermostatic control is turned on

          ; Tools
          M563 P0 D0 H1 F1 ; define tool 0
          G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
          G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C

          I am having a heck of a time getting it to print. It always has huge temp fluctuations at 240c. The temp table for the thermistor is here

          alt text

          jay_s_ukundefined 2 Replies Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @thetazzbot
            last edited by

            @thetazzbot said in During PID tuning is it supposed to turn on part fan (fan 0)?:

            M563 P0 D0 H1 F1 ; define tool 0

            you've mapped the wrong fan. you map the part cooling fan here not the hotend fan. change this to F0

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            thetazzbotundefined 1 Reply Last reply Reply Quote 0
            • thetazzbotundefined
              thetazzbot
              last edited by

              @thetazzbot said in During PID tuning is it supposed to turn on part fan (fan 0)?:

              M563 P0 D0 H1 F1 ; define tool 0

              likely should be F0 i guess, but I think I tried that as well.

              1 Reply Last reply Reply Quote 0
              • thetazzbotundefined
                thetazzbot @jay_s_uk
                last edited by

                @jay_s_uk ok i'll try that. but im also suffering from massive temp variations at 240c that prevent me from printing... any tips there?

                1 Reply Last reply Reply Quote 0
                • jay_s_ukundefined
                  jay_s_uk @thetazzbot
                  last edited by

                  @thetazzbot said in During PID tuning is it supposed to turn on part fan (fan 0)?:

                  M308 S1 P"e0temp" Y"thermistor" T100000 B4766 C1.183652e-7

                  i think this is wrong unless you have a better source for that.
                  Using the config tool and a trying to keep it simple by using a pair of temps (25 and 240) I get T100000 B4219 I think adding 3 readings can confuse things somewhat.

                  Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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