Skip to content

Commit

Permalink
V4.2.21 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
CChen616 committed Jul 2, 2024
1 parent d6048da commit 9b7c36f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
15 changes: 11 additions & 4 deletions config/gcode_macro.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -646,7 +652,7 @@ gcode:
G90

[gcode_macro M603]
description: filament unload
description: unload filament
gcode:
M118 Heat up complete
G92 E0
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/printer.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9b7c36f

Please sign in to comment.