Print start temperature is unstable, waiting time is too long
- Just place this macro in the configuration
- This macro is used to normally wait for the temperature to rise, but after the temperature reaches the target, it proceeds to the next step
printer.cfg
[gcode_macro M109]
rename_existing: M109.1
gcode:
{% set s = params.S|float %}
M104 {% for p in params %}{'%s%s' % (p, params[p])}{% endfor %} # Set hotend temp
{% if s != 0 %}
TEMPERATURE_WAIT SENSOR=extruder MINIMUM={s} MAXIMUM={s+1} # Wait for hotend temp (within 1 degree)
{% endif %}
[gcode_macro M190] # Wait Bed Temp
rename_existing: M190.1
gcode:
{% set s = params.S|float %}
M140 {% for p in params %}{'%s%s' % (p, params[p])}{% endfor %} # Set bed temp
{% if s != 0 %}
TEMPERATURE_WAIT SENSOR=heater_bed MINIMUM={s-2} MAXIMUM={s+5} # Wait for bed temp (within n degrees)
{% endif %}
Loading...