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

    Set Fan Max PWM

    Scheduled Pinned Locked Moved
    Firmware wishlist
    2
    4
    213
    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.
    • kraegarundefined
      kraegar
      last edited by

      I'd like to see a feature where I can define a Max PWM for a fan so that, even if the slicer sends I higher fan value, it limits it to the Max limit assigned.

      Something like:
      M106 P1 M127

      Which caps the PWM at 127.

      So if later a slicer sends:
      M106 P1 S255

      The actual value the fan goes to is only 127 (50%)

      I scanned the gcode docs, and didn't see this as already possible. If it is, I apologize!

      Co-Creator of the RailcoreII CoreXY printer
      https://www.thingiverse.com/thing:2407174

      deckingmanundefined 1 Reply Last reply Reply Quote 0
      • deckingmanundefined
        deckingman @kraegar
        last edited by

        @kraegar said in Set Fan Max PWM:

        I'd like to see a feature where I can define a Max PWM for a fan so that, even if the slicer sends I higher fan value, it limits it to the Max limit assigned.

        Something like:
        M106 P1 M127

        Which caps the PWM at 127.

        So if later a slicer sends:
        M106 P1 S255

        The actual value the fan goes to is only 127 (50%)

        I scanned the gcode docs, and didn't see this as already possible. If it is, I apologize!

        It already exists from firmware >=2.02 and it's the "X" parameter in M106 https://duet3d.dozuki.com/Wiki/Gcode#Section_M106_Fan_On

        Ian
        https://somei3deas.wordpress.com/
        https://www.youtube.com/@deckingman

        1 Reply Last reply Reply Quote 0
        • kraegarundefined
          kraegar
          last edited by

          @deckingman said in Set Fan Max PWM:

          @kraegar said in Set Fan Max PWM:

          I'd like to see a feature where I can define a Max PWM for a fan so that, even if the slicer sends I higher fan value, it limits it to the Max limit assigned.

          Something like:
          M106 P1 M127

          Which caps the PWM at 127.

          So if later a slicer sends:
          M106 P1 S255

          The actual value the fan goes to is only 127 (50%)

          I scanned the gcode docs, and didn't see this as already possible. If it is, I apologize!

          It already exists from firmware >=2.02 and it's the "X" parameter in M106 https://duet3d.dozuki.com/Wiki/Gcode#Section_M106_Fan_On

          Well, don't I feel dumb. I really need to drink more coffee before I post. I read through that 3 times, and still missed it. Thanks!

          Co-Creator of the RailcoreII CoreXY printer
          https://www.thingiverse.com/thing:2407174

          deckingmanundefined 1 Reply Last reply Reply Quote 0
          • deckingmanundefined
            deckingman @kraegar
            last edited by

            @kraegar No worries - I'd already had my caffeine shot ☺

            Ian
            https://somei3deas.wordpress.com/
            https://www.youtube.com/@deckingman

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