Autocommit from 2026-07-06 12:00:04
Klipper version: v0.13.0-464-g48f0b3ca Moonraker version: v0.10.0-2-g3e29720 Mainsail version: v2.17.0
This commit is contained in:
@@ -285,7 +285,7 @@ gcode:
|
||||
SET_GCODE_VARIABLE MACRO=RESUME VARIABLE=extruder_restore_temp VALUE={printer.extruder.target}
|
||||
##### end of definitions #####
|
||||
SAVE_GCODE_STATE NAME=PAUSE_state
|
||||
SET_IDLE_TIMEOUT TIMEOUT={(sensor.pause_timeout)|float} # increase printer timeout
|
||||
#SET_IDLE_TIMEOUT TIMEOUT={(sensor.pause_timeout)|float} # increase printer timeout
|
||||
BASE_PAUSE
|
||||
G91
|
||||
G1 E-{e} F2100
|
||||
@@ -314,7 +314,7 @@ gcode:
|
||||
G1 E{e} F2100
|
||||
G90
|
||||
M118 O2S: Temperatures restored, resmume printing!
|
||||
SET_IDLE_TIMEOUT TIMEOUT=600 # restor klipper default printer timeout to 10 min
|
||||
#SET_IDLE_TIMEOUT TIMEOUT=600 # restor klipper default printer timeout to 10 min
|
||||
RESTORE_GCODE_STATE NAME=PAUSE_state MOVE=1
|
||||
BASE_RESUME
|
||||
# SET_LED LED=OrbiLED RED=1.0 GREEN=1.0 BLUE=1.0
|
||||
@@ -325,7 +325,7 @@ gcode:
|
||||
CLEAR_PAUSE
|
||||
#SDCARD_RESET_FILE
|
||||
BASE_CANCEL_PRINT
|
||||
SET_IDLE_TIMEOUT TIMEOUT=600 # restor klipper default printer timeout to 10 min
|
||||
#SET_IDLE_TIMEOUT TIMEOUT=600 # restor klipper default printer timeout to 10 min
|
||||
|
||||
[gcode_macro T0]
|
||||
gcode:
|
||||
|
||||
Binary file not shown.
+18
-9
@@ -792,17 +792,26 @@ gcode:
|
||||
[idle_timeout]
|
||||
timeout: 1800
|
||||
gcode:
|
||||
M84; TURN_OFF_MOTORS
|
||||
TURN_OFF_HEATERS
|
||||
UPDATE_DELAYED_GCODE ID=delayed_printer_off DURATION=60
|
||||
|
||||
[delayed_gcode delayed_printer_off]
|
||||
initial_duration: 0.
|
||||
gcode:
|
||||
{% if printer.idle_timeout.state == "Idle" %}
|
||||
PRINTER_OFF
|
||||
# In pause state, Only the nozzle is turned OFF
|
||||
{% if printer.print_stats.state == "paused" %}
|
||||
SET_HEATER_TEMPERATURE HEATER=extruder TARGET=0
|
||||
{% else %}
|
||||
# Standby/Idle or complete, can be turned off.
|
||||
M84 ; Motors Off
|
||||
TURN_OFF_HEATERS
|
||||
UPDATE_DELAYED_GCODE ID=delayed_printer_off DURATION=60
|
||||
{% endif %}
|
||||
|
||||
[delayed_gcode delayed_printer_off]
|
||||
initial_duration: 0
|
||||
gcode:
|
||||
# Can only be turned off if not paused.
|
||||
{% if printer.idle_timeout.state == "Idle" and printer.print_stats.state != "paused" %}
|
||||
printer_off
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
||||
[exclude_object]
|
||||
|
||||
[include mainsail.cfg]
|
||||
|
||||
Reference in New Issue
Block a user