v2.4: make sure to PROBE on the bed, manually control exhaust_fan

This commit is contained in:
Konstantin Koslowski 2021-10-18 16:46:32 +02:00
parent 3c58884ede
commit 7e706e0ec2
2 changed files with 39 additions and 8 deletions

View file

@ -33,14 +33,22 @@ heater: heater_bed
heater_temp: 40.0 heater_temp: 40.0
fan_speed: 0.80 fan_speed: 0.80
[heater_fan exhaust_fan] # ## exhaust automatic
# [heater_fan exhaust_fan]
# pin: PD14
# max_power: 1.0
# shutdown_speed: 0.0
# kick_start_time: 0.5
# heater: heater_bed
# heater_temp: 40
# fan_speed: 0.6
## exhaust manual
[fan_generic exhaust_fan]
pin: PD14 pin: PD14
max_power: 1.0 max_power: 1.0
shutdown_speed: 0.0 shutdown_speed: 0.0
kick_start_time: 0.5 kick_start_time: 0.5
heater: heater_bed
heater_temp: 40
fan_speed: 0.6
## always-on ## always-on
# [heater_fan side1] # [heater_fan side1]

View file

@ -7,9 +7,9 @@ gcode:
QUAD_GANTRY_LEVEL QUAD_GANTRY_LEVEL
M117 > home M117 > home
G28 G28
M117 > bed mesh calibrate # M117 > bed mesh calibrate
BED_MESH_CALIBRATE # BED_MESH_CALIBRATE
# BED_MESH_PROFILE load=default # load default bed_mesh profile BED_MESH_PROFILE load=default # load default bed_mesh profile
G0 X150 Y150 Z30 F3600 G0 X150 Y150 Z30 F3600
@ -42,6 +42,7 @@ gcode:
{action_respond_info("Printer not homed")} {action_respond_info("Printer not homed")}
{% endif %} {% endif %}
[gcode_macro PARK] [gcode_macro PARK]
gcode: gcode:
{% set Y=params.Y|default(295) %} {% set Y=params.Y|default(295) %}
@ -70,6 +71,26 @@ gcode:
{% endif %} {% endif %}
[gcode_macro PROBE]
description: Override PROBE and make sure we're over the bed
rename_existing: PROBE_BASE
gcode:
{%- if printer.toolhead.position.y|float > 270 -%}
G0 Y270
{%- endif -%}
PROBE_BASE
[gcode_macro PROBE_CALIBRATE]
description: Override PROBE_CALIBRATE and make sure we're over the bed
rename_existing: PROBE_CALIBRATE_BASE
gcode:
{%- if printer.toolhead.position.y|float > 270 -%}
G0 Y270
{%- endif -%}
PROBE_CALIBRATE_BASE
[gcode_macro PAUSE] [gcode_macro PAUSE]
description: Pause the actual running print description: Pause the actual running print
rename_existing: PAUSE_BASE rename_existing: PAUSE_BASE
@ -130,7 +151,7 @@ gcode:
M117 > homing M117 > homing
SET_LED LED=caselight RED=0.00 GREEN=0.50 BLUE=0.00 SET_LED LED=caselight RED=0.00 GREEN=0.50 BLUE=0.00
G4 P2000 G4 P2000
G32 # home all axes G32 # home and qgl
M117 > heating M117 > heating
SET_LED LED=caselight RED=0.50 GREEN=0.00 BLUE=0.00 SET_LED LED=caselight RED=0.50 GREEN=0.00 BLUE=0.00
@ -142,6 +163,7 @@ gcode:
M117 > starting M117 > starting
SET_LED LED=caselight RED=0.50 GREEN=0.50 BLUE=0.50 SET_LED LED=caselight RED=0.50 GREEN=0.50 BLUE=0.50
G4 P2000 G4 P2000
SET_FAN_SPEED FAN=exhaust_fan SPEED=0.5
CLEAN_NOZZLE CLEAN_NOZZLE
[gcode_macro PRINT_LAYER_CHANGE] [gcode_macro PRINT_LAYER_CHANGE]
@ -175,3 +197,4 @@ gcode:
G1 E-10.0 F3600 ; retract filament G1 E-10.0 F3600 ; retract filament
TURN_OFF_HEATERS TURN_OFF_HEATERS
M107 ; turn off fan M107 ; turn off fan
SET_FAN_SPEED FAN=exhaust_fan SPEED=0.0