prn_fans.cfg 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. # FAN0 PA8 Extruder 0 fan
  2. # FAN1 PE5 model fan0
  3. # FAN2 PD12 Extruder 1 fan
  4. # FAN3 PD13 model fan1
  5. # FAN4 PD14
  6. # FAN5 PD15 associated with heater(s) or/and extruder(s) of a comma separated list
  7. # FAN6 -
  8. # FAN7 -
  9. [heater_fan fan_ext0] # Extruder 0 radiator fan
  10. pin: PA8 # FAN1
  11. max_power: 1.0
  12. shutdown_speed: 1.0
  13. hardware_pwm: False
  14. kick_start_time: 0.1
  15. off_below: 0.3
  16. heater: extruder
  17. heater_temp: 50
  18. fan_speed: 1
  19. #1# [heater_fan fan_ext1] # Extruder 1 radiator fan
  20. #1# pin: PD12 # FAN2
  21. #1# max_power: 1.0
  22. #1# shutdown_speed: 1.0
  23. #1# hardware_pwm: False
  24. #1# kick_start_time: 0.1
  25. #1# off_below: 0.3
  26. #1# heater: extruder1
  27. #1# heater_temp: 50
  28. #1# fan_speed: 1
  29. [fan_generic fan_extruder] # first model extruder for IDEX
  30. pin: PE5 # FAN1
  31. max_power: 1.0
  32. #shutdown_speed:
  33. #cycle_time:
  34. hardware_pwm: False
  35. kick_start_time: 0.5
  36. off_below: 0.3
  37. #1# [fan_generic fan_extruder1] # second model extruder for IDEX
  38. #1# pin: PD13 # FAN2
  39. #1# max_power: 1.0
  40. #shutdown_speed:
  41. #cycle_time:
  42. #1# hardware_pwm: False
  43. #1# kick_start_time: 0.5
  44. #1# off_below: 0.3
  45. [controller_fan controller_fan] # associated with heater(s) or/and extruder(s) of a comma separated list
  46. pin: PD15 # FAN5
  47. max_power: 1.0
  48. shutdown_speed: 1.0
  49. hardware_pwm: True
  50. kick_start_time: 0.1
  51. off_below: 0.3
  52. tachometer_pin: ^PB2 # EXP2_5
  53. fan_speed: 1.0
  54. idle_timeout: 30
  55. #[temperature_fan my_temp_fan] # will be enabled whenever its associated sensor is above a set temperature
  56. #pin:
  57. #max_power:
  58. #shutdown_speed:
  59. #cycle_time:
  60. #hardware_pwm:
  61. #kick_start_time:
  62. #off_below:
  63. #tachometer_pin:
  64. #tachometer_ppr:
  65. #tachometer_poll_interval:
  66. #enable_pin:
  67. # See the "fan" section for a description of the above parameters.
  68. #sensor_type:
  69. #sensor_pin:
  70. #control:
  71. #max_delta:
  72. #min_temp:
  73. #max_temp:
  74. # See the "extruder" section for a description of the above parameters.
  75. #pid_Kp:
  76. #pid_Ki:
  77. #pid_Kd:
  78. # The proportional (pid_Kp), integral (pid_Ki), and derivative
  79. # (pid_Kd) settings for the PID feedback control system. Klipper
  80. # evaluates the PID settings with the following general formula:
  81. # fan_pwm = max_power - (Kp*e + Ki*integral(e) - Kd*derivative(e)) / 255
  82. # Where "e" is "target_temperature - measured_temperature" and
  83. # "fan_pwm" is the requested fan rate with 0.0 being full off and
  84. # 1.0 being full on. The pid_Kp, pid_Ki, and pid_Kd parameters must
  85. # be provided when the PID control algorithm is enabled.
  86. #pid_deriv_time: 2.0
  87. # A time value (in seconds) over which temperature measurements will
  88. # be smoothed when using the PID control algorithm. This may reduce
  89. # the impact of measurement noise. The default is 2 seconds.
  90. #target_temp: 40.0
  91. # A temperature (in Celsius) that will be the target temperature.
  92. # The default is 40 degrees.
  93. #max_speed: 1.0
  94. # The fan speed (expressed as a value from 0.0 to 1.0) that the fan
  95. # will be set to when the sensor temperature exceeds the set value.
  96. # The default is 1.0.
  97. #min_speed: 0.3
  98. # The minimum fan speed (expressed as a value from 0.0 to 1.0) that
  99. # the fan will be set to for PID temperature fans.
  100. # The default is 0.3.
  101. #gcode_id:
  102. # If set, the temperature will be reported in M105 queries using the
  103. # given id. The default is to not report the temperature via M105.
  104. #[fan] # model fan only for one extruder
  105. #pin: PA8 # FAN0
  106. # Output pin controlling the fan. This parameter must be provided.
  107. #max_power: 1.0
  108. # The maximum power (expressed as a value from 0.0 to 1.0) that the
  109. # pin may be set to. The value 1.0 allows the pin to be set fully
  110. # enabled for extended periods, while a value of 0.5 would allow the
  111. # pin to be enabled for no more than half the time. This setting may
  112. # be used to limit the total power output (over extended periods) to
  113. # the fan. If this value is less than 1.0 then fan speed requests
  114. # will be scaled between zero and max_power (for example, if
  115. # max_power is .9 and a fan speed of 80% is requested then the fan
  116. # power will be set to 72%). The default is 1.0.
  117. #shutdown_speed: 0
  118. # The desired fan speed (expressed as a value from 0.0 to 1.0) if
  119. # the micro-controller software enters an error state. The default
  120. # is 0.
  121. #cycle_time: 0.010
  122. # The amount of time (in seconds) for each PWM power cycle to the
  123. # fan. It is recommended this be 10 milliseconds or greater when
  124. # using software based PWM. The default is 0.010 seconds.
  125. #hardware_pwm: False
  126. # Enable this to use hardware PWM instead of software PWM. Most fans
  127. # do not work well with hardware PWM, so it is not recommended to
  128. # enable this unless there is an electrical requirement to switch at
  129. # very high speeds. When using hardware PWM the actual cycle time is
  130. # constrained by the implementation and may be significantly
  131. # different than the requested cycle_time. The default is False.
  132. #kick_start_time: 0.5
  133. # Time (in seconds) to run the fan at full speed when either first
  134. # enabling or increasing it by more than 50% (helps get the fan
  135. # spinning). The default is 0.100 seconds.
  136. #off_below: 0.3
  137. # The minimum input speed which will power the fan (expressed as a
  138. # value from 0.0 to 1.0). When a speed lower than off_below is
  139. # requested the fan will instead be turned off. This setting may be
  140. # used to prevent fan stalls and to ensure kick starts are
  141. # effective. The default is 0.0.
  142. #
  143. # This setting should be recalibrated whenever max_power is adjusted.
  144. # To calibrate this setting, start with off_below set to 0.0 and the
  145. # fan spinning. Gradually lower the fan speed to determine the lowest
  146. # input speed which reliably drives the fan without stalls. Set
  147. # off_below to the duty cycle corresponding to this value (for
  148. # example, 12% -> 0.12) or slightly higher.
  149. #tachometer_pin:
  150. # Tachometer input pin for monitoring fan speed. A pullup is generally
  151. # required. This parameter is optional.
  152. #tachometer_ppr: 2
  153. # When tachometer_pin is specified, this is the number of pulses per
  154. # revolution of the tachometer signal. For a BLDC fan this is
  155. # normally half the number of poles. The default is 2.
  156. #tachometer_poll_interval: 0.0015
  157. # When tachometer_pin is specified, this is the polling period of the
  158. # tachometer pin, in seconds. The default is 0.0015, which is fast
  159. # enough for fans below 10000 RPM at 2 PPR. This must be smaller than
  160. # 30/(tachometer_ppr*rpm), with some margin, where rpm is the
  161. # maximum speed (in RPM) of the fan.
  162. #enable_pin:
  163. # Optional pin to enable power to the fan. This can be useful for fans
  164. # with dedicated PWM inputs. Some of these fans stay on even at 0% PWM
  165. # input. In such a case, the PWM pin can be used normally, and e.g. a
  166. # ground-switched FET(standard fan pin) can be used to control power to
  167. # the fan.