Orca Exhaust Fan Control

This commit is contained in:
Siwat Sirichai 2024-01-03 02:10:48 +07:00
parent e9f7a1b86a
commit 3b37994e18
1 changed files with 10 additions and 4 deletions

View File

@ -312,15 +312,12 @@ heater: extruder
heater_temp: 50.0 heater_temp: 50.0
fan_speed: 1.0 fan_speed: 1.0
[heater_fan exhaust_fan] [fan_generic exhaust_fan]
# Exhaust fan - CNC_FAN3 # Exhaust fan - CNC_FAN3
pin: PF6 pin: PF6
max_power: 1.0 max_power: 1.0
shutdown_speed: 0.0 shutdown_speed: 0.0
kick_start_time: 5.0 kick_start_time: 5.0
heater: heater_bed
heater_temp: 60
fan_speed: 1.0
[multi_pin controller_fans] [multi_pin controller_fans]
pins: PF7,PF9 pins: PF7,PF9
@ -492,6 +489,15 @@ gcode:
G1 E-50 F3000 G1 E-50 F3000
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 ----------------------> #*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*# #*#