-
-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conditional include for the M190/M109 patch and optional bed heater
- Loading branch information
Showing
12 changed files
with
96 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
[gcode_macro _USER_VARIABLES] | ||
variable_heaterbed_enabled: True | ||
gcode: | ||
|
||
|
||
[heater_bed] | ||
heater_pin: BED_HEATER | ||
sensor_type: NTC 100K MGB18-104F39050L32 | ||
sensor_pin: BED_TEMPERATURE | ||
max_power: 1 | ||
min_temp: 0 | ||
max_temp: 120 | ||
|
||
# We also include the "no wait too much for temperature" patch | ||
[include ../../macros/helpers/bed_heater_ctrl.cfg] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 1 addition & 16 deletions
17
macros/helpers/heaters_ctrl.cfg → macros/helpers/bed_heater_ctrl.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# This file add a specific override to fix the PID controller bad behavior | ||
# on low thermal inertia devices such as the BambuLabs hotend. This allows a | ||
# shunt of the "waiting time" during temperature settle in case there is some problems | ||
|
||
[gcode_macro M109] | ||
rename_existing: M109.1 | ||
gcode: | ||
{% set S = params.S|float %} | ||
|
||
{% set fix_heaters_temperature_settle = printer["gcode_macro _USER_VARIABLES"].fix_heaters_temperature_settle %} | ||
|
||
{% if fix_heaters_temperature_settle %} | ||
M104 {% for p in params %}{'%s%s' % (p, params[p])}{% endfor %} | ||
TEMPERATURE_WAIT SENSOR=extruder MINIMUM={S} | ||
{% else %} | ||
M109.1 {% for p in params %}{'%s%s' % (p, params[p])}{% endfor %} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters