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 M127Which caps the PWM at 127.
So if later a slicer sends:
M106 P1 S255The 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!
-
@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 M127Which caps the PWM at 127.
So if later a slicer sends:
M106 P1 S255The 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
-
@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 M127Which caps the PWM at 127.
So if later a slicer sends:
M106 P1 S255The 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!
-
@kraegar No worries - I'd already had my caffeine shot