Bed fans update
This commit is contained in:
parent
9de145f351
commit
5e5bcf90ec
3 changed files with 83 additions and 73 deletions
17
bedfans.cfg
17
bedfans.cfg
|
@ -3,6 +3,7 @@
|
|||
[gcode_macro _BEDFANVARS]
|
||||
variable_threshold: 100 # If bed temp target is above this threshold, fans will be enabled. If temp is set to below this threshold, fans will be disabled.
|
||||
variable_fast: 1.0 # Fan speed once bed temp is reached
|
||||
variable_mid: 0.6 # Fan speed while bed is heating
|
||||
variable_slow: 0.2 # Fan speed while bed is heating
|
||||
variable_max_temp: 65 # Temp fans will turn off
|
||||
variable_target_temp: 60 # Temp fans will turn back to slow speed
|
||||
|
@ -30,6 +31,13 @@ gcode:
|
|||
|
||||
SET_FAN_SPEED FAN=BedFans SPEED={SLOW}
|
||||
|
||||
[gcode_macro BEDFANSMID]
|
||||
gcode:
|
||||
# Vars
|
||||
{% set MID = printer["gcode_macro _BEDFANVARS"].mid|float %}
|
||||
|
||||
SET_FAN_SPEED FAN=BedFans SPEED={MID}
|
||||
|
||||
[gcode_macro BEDFANSFAST]
|
||||
gcode:
|
||||
# Vars
|
||||
|
@ -66,6 +74,9 @@ gcode:
|
|||
{% if TARGET >= THRESHOLD %}
|
||||
BEDFANSSLOW
|
||||
UPDATE_DELAYED_GCODE ID=bedfanloop DURATION=1
|
||||
{% elif TARGET >= THRESHOLD - 5 %}
|
||||
BEDFANSMID
|
||||
UPDATE_DELAYED_GCODE ID=bedfanloop DURATION=1
|
||||
{% else %}
|
||||
BEDFANSOFF
|
||||
UPDATE_DELAYED_GCODE ID=bedfanloop DURATION=0 # Cancel bed fan loop if it's running
|
||||
|
@ -84,6 +95,8 @@ gcode:
|
|||
|
||||
{% if S >= THRESHOLD %}
|
||||
BEDFANSSLOW # >= Threshold temp: Low speed fans while heating
|
||||
{% elif S >= THRESHOLD - 5 %}
|
||||
BEDFANSSLOW # >= Threshold temp: Mid speed fans while heating
|
||||
{% else %}
|
||||
BEDFANSOFF # < Threshold temp: Turn bed fans off
|
||||
{% endif %}
|
||||
|
@ -140,6 +153,10 @@ gcode:
|
|||
# If chamber is at target temp, slow fans
|
||||
BEDFANSSLOW
|
||||
UPDATE_DELAYED_GCODE ID=bedfanloop DURATION=5 # If temp not reached yet: loop again
|
||||
{% elif CHAMBER_TEMP >= TARGET_TEMP - 5 %}
|
||||
# If chamber is almost at target temp, mid fans
|
||||
BEDFANSMID
|
||||
UPDATE_DELAYED_GCODE ID=bedfanloop DURATION=5 # If temp not reached yet: loop again
|
||||
{% else %}
|
||||
# If chamber is still under max, fast fans
|
||||
BEDFANSFAST
|
||||
|
|
|
@ -60,14 +60,6 @@ path: /home/biqu/klipper_z_calibration
|
|||
origin: https://github.com/protoloft/klipper_z_calibration.git
|
||||
managed_services: klipper
|
||||
|
||||
# Crowsnest update_manager entry
|
||||
[update_manager crowsnest]
|
||||
type: git_repo
|
||||
path: ~/crowsnest
|
||||
origin: https://github.com/mainsail-crew/crowsnest.git
|
||||
managed_services: crowsnest
|
||||
install_script: tools/pkglist.sh
|
||||
|
||||
[update_manager timelapse]
|
||||
type: git_repo
|
||||
primary_branch: main
|
||||
|
|
29
printer.cfg
29
printer.cfg
|
@ -17,7 +17,8 @@ restart_method: command
|
|||
kinematics: corexy
|
||||
max_velocity: 600
|
||||
max_accel: 5000
|
||||
max_accel_to_decel: 50000
|
||||
minimum_cruise_ratio: 0
|
||||
#max_accel_to_decel: 50000
|
||||
max_z_velocity: 50
|
||||
max_z_accel: 500
|
||||
square_corner_velocity: 8
|
||||
|
@ -108,19 +109,19 @@ shaper_freq_y = 64.0
|
|||
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
|
||||
#*#
|
||||
#*# [beacon model default]
|
||||
#*# model_coef = 1.603699926823906,
|
||||
#*# 1.9192209938017089,
|
||||
#*# 0.7356581743058401,
|
||||
#*# 0.3578123658402552,
|
||||
#*# 0.26364536335808125,
|
||||
#*# 0.13126799276453163,
|
||||
#*# -0.18239809965109963,
|
||||
#*# -0.07930698695079087,
|
||||
#*# 0.18033440108180993,
|
||||
#*# 0.07354122366320748
|
||||
#*# model_domain = 3.285743356454094e-07,3.355200041639115e-07
|
||||
#*# model_coef = 1.5395985279781224,
|
||||
#*# 1.8746919758344793,
|
||||
#*# 0.7211928692741341,
|
||||
#*# 0.37863341299970016,
|
||||
#*# 0.4288234773482902,
|
||||
#*# -0.016636723047144728,
|
||||
#*# -0.3392151005518095,
|
||||
#*# 0.25655162255076586,
|
||||
#*# 0.25043309664778046,
|
||||
#*# -0.09109979574600278
|
||||
#*# model_domain = 3.25744307233467e-07,3.350944046610817e-07
|
||||
#*# model_range = 0.200000,5.000000
|
||||
#*# model_temp = 67.883978
|
||||
#*# model_temp = 66.173741
|
||||
#*# model_offset = 0.00000
|
||||
#*#
|
||||
#*# [beacon model prusaSmooth]
|
||||
|
@ -169,7 +170,7 @@ shaper_freq_y = 64.0
|
|||
#*# model_domain = 3.285743356454094e-07,3.355200041639115e-07
|
||||
#*# model_range = 0.200000,5.000000
|
||||
#*# model_temp = 67.883978
|
||||
#*# model_offset = -0.02000
|
||||
#*# model_offset = -0.47000
|
||||
#*#
|
||||
#*# [beacon model dfhTextured]
|
||||
#*# model_coef = 1.5664048805527166,
|
||||
|
|
Loading…
Add table
Reference in a new issue