打印开始温度不稳定等待时间太久
- 此宏直接放配置里面即可
- 此宏作用是正常等待上升温度,但是温度到达目标后直接进行下一步
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...