Advertisement
rootiest

PREHEAT_CHECK

Jun 17th, 2022
1,223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.29 KB | None | 0 0
  1. [gcode_macro PREHEAT_CHECK]
  2. gcode:
  3.     M117 PREHEAT CHECK
  4.     G4 P18000
  5.     {% if printer.heater_bed.temperature < 40 %}   #if heated bed is below 40 do the next thing
  6.         M117 PREHEAT STARTED
  7.         ABS_PREHEAT
  8.     {% else %}
  9.         M117 PREHEAT CHECK COMPLETE
  10.     {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement