From 9b7c36f9a668298c2c7baeac8b0d619511a998c5 Mon Sep 17 00:00:00 2001 From: CChen616 <714434105@qq.com> Date: Tue, 2 Jul 2024 17:01:27 +0800 Subject: [PATCH] V4.2.21 Update --- config/gcode_macro.cfg | 15 +++++++++++---- config/printer.cfg | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/config/gcode_macro.cfg b/config/gcode_macro.cfg index 8917434..bee09a4 100644 --- a/config/gcode_macro.cfg +++ b/config/gcode_macro.cfg @@ -3,9 +3,11 @@ # update: variable change M106 & M141 & M107 # V4.4.16 2024-3-26 # update: variable change [homing_override]->add M204 S10000 -# v4.4.20 2024-6-17 +# V4.4.20 2024-6-17 # update: Z_DOUDONG CLEAR_NOZZLE get_zoffset rewrite # move_subzoffset added +# V4.4.21 2024-6-22 +# update: Enable chamber exhaust fan by default when chamber temp not set [gcode_macro test_zoffset] gcode: @@ -161,6 +163,9 @@ gcode: {% set hotendtemp = params.HOTEND|int %} {% set chambertemp = params.CHAMBER|default(0)|int %} set_zoffset + {% if chambertemp == 0 %} + M106 P3 S255 + {% endif %} M104 S0 M140 S{bedtemp} M141 S{chambertemp} @@ -231,6 +236,7 @@ gcode: {% set RUN_CUR = driver_config.run_current %} {% set HOLD_CUR = driver_config.hold_current %} M204 S10000 + M220 S100 {% if params.X is defined %} SET_TMC_CURRENT STEPPER=stepper_x CURRENT={HOME_CUR * 0.7} G28 X @@ -646,7 +652,7 @@ gcode: G90 [gcode_macro M603] -description: filament unload +description: unload filament gcode: M118 Heat up complete G92 E0 @@ -655,15 +661,16 @@ gcode: G92 E0 G1 E-90 F800 M400 - M118 Unload finish + M118 Filament unloaded [gcode_macro M604] +description: load filament gcode: M118 Heat up complete M83 G1 E80 F400 M400 - M118 Load finish + M118 Filament loaded [output_pin sound] pin: gpio8 diff --git a/config/printer.cfg b/config/printer.cfg index ee3f019..72f7c03 100644 --- a/config/printer.cfg +++ b/config/printer.cfg @@ -367,7 +367,7 @@ max_power:1.0 shutdown_speed:1.0 cycle_time:0.01 fan_speed: 0.6 -stepper:stepper_z,stepper_z1 +stepper:stepper_x,stepper_y [fan_generic cooling_fan] pin:gpio2