Orca Exhaust Fan Control
This commit is contained in:
parent
e9f7a1b86a
commit
3b37994e18
14
printer.cfg
14
printer.cfg
|
@ -312,15 +312,12 @@ heater: extruder
|
|||
heater_temp: 50.0
|
||||
fan_speed: 1.0
|
||||
|
||||
[heater_fan exhaust_fan]
|
||||
[fan_generic exhaust_fan]
|
||||
# Exhaust fan - CNC_FAN3
|
||||
pin: PF6
|
||||
max_power: 1.0
|
||||
shutdown_speed: 0.0
|
||||
kick_start_time: 5.0
|
||||
heater: heater_bed
|
||||
heater_temp: 60
|
||||
fan_speed: 1.0
|
||||
|
||||
[multi_pin controller_fans]
|
||||
pins: PF7,PF9
|
||||
|
@ -492,6 +489,15 @@ gcode:
|
|||
G1 E-50 F3000
|
||||
G1 E-50 F3000
|
||||
|
||||
[gcode_macro M106]
|
||||
gcode:
|
||||
# P0: Part cooling fan, P3: Exhaust fan
|
||||
{% if params.P == 0 %}
|
||||
M106 S{ (params.S | int) }
|
||||
{% elif params.P == 3 %}
|
||||
SET_FAN_SPEED FAN=exhaust_fan SPEED={ (params.S | int)/255.0 }
|
||||
{% endif %}
|
||||
|
||||
#*# <---------------------- SAVE_CONFIG ---------------------->
|
||||
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
|
||||
#*#
|
||||
|
|
Loading…
Reference in New Issue