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

    Fans in Firmware 3.xx

    Scheduled Pinned Locked Moved
    General Discussion
    2
    5
    157
    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.
    • peirofundefined
      peirof
      last edited by

      Hi,

      I've gotten to the point of creating the fans, extruder, and heaters. I am reading that the method has changed a lot, and I have some doubts:

      A- The fans are "created" with the gcode M950, in my case (M950 F0 C "! Fan0")
      B- The fan is configured with the gcode M106, in my case (M106 P0 S0 I0 F500 H-1)

      Doubts:

      • In the M950, the (!), Implies that the signal is inverted, so if when I turn on the Duet board, the fan starts spinning, I have to remove the fan, leaving (M950 F0 C "fan0")
      • If in M950 I say that it is inverted, with the (!) and in M106 I put the modifier (I1), it is the same as NOT putting admiration (!) and putting I0 (or nothing) in M106 ...
      • The fan that in M950 is F0, in M106 it is P0. Do not?
      • If you wanted to configure the F0, as controlled by temperature, you would have to change the M106 to (M106 P0 T50)
      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @peirof
        last edited by

        @peirof i'm not sure what you're asking.
        But I can tell you the use of I in M106 isn't valid in RRF3
        Innn Invert PWM (I1), disable fan (I-1), or normal mode (I0, default) (not supported in RRF3, use M950)

        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

        peirofundefined 1 Reply Last reply Reply Quote 0
        • peirofundefined
          peirof @jay_s_uk
          last edited by

          @jay_s_uk

          If M106 its not valid RRF3.... How create and setup fans in RRF3?

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

            @peirof here's what I have for my 2 fans on my ender 3

            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 out4 and set its frequency
            M106 P1 S1 H1 T45                            ; set fan 1 value. Thermostatic control is turned on
            

            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

            peirofundefined 1 Reply Last reply Reply Quote 0
            • peirofundefined
              peirof @jay_s_uk
              last edited by

              @jay_s_uk thx

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