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}
|
SET_GCODE_VARIABLE MACRO=RESUME VARIABLE=extruder_restore_temp VALUE={printer.extruder.target}
|
||||||
##### end of definitions #####
|
##### end of definitions #####
|
||||||
SAVE_GCODE_STATE NAME=PAUSE_state
|
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
|
BASE_PAUSE
|
||||||
G91
|
G91
|
||||||
G1 E-{e} F2100
|
G1 E-{e} F2100
|
||||||
@@ -314,7 +314,7 @@ gcode:
|
|||||||
G1 E{e} F2100
|
G1 E{e} F2100
|
||||||
G90
|
G90
|
||||||
M118 O2S: Temperatures restored, resmume printing!
|
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
|
RESTORE_GCODE_STATE NAME=PAUSE_state MOVE=1
|
||||||
BASE_RESUME
|
BASE_RESUME
|
||||||
# SET_LED LED=OrbiLED RED=1.0 GREEN=1.0 BLUE=1.0
|
# SET_LED LED=OrbiLED RED=1.0 GREEN=1.0 BLUE=1.0
|
||||||
@@ -325,7 +325,7 @@ gcode:
|
|||||||
CLEAR_PAUSE
|
CLEAR_PAUSE
|
||||||
#SDCARD_RESET_FILE
|
#SDCARD_RESET_FILE
|
||||||
BASE_CANCEL_PRINT
|
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_macro T0]
|
||||||
gcode:
|
gcode:
|
||||||
|
|||||||
Binary file not shown.
+18
-9
@@ -792,17 +792,26 @@ gcode:
|
|||||||
[idle_timeout]
|
[idle_timeout]
|
||||||
timeout: 1800
|
timeout: 1800
|
||||||
gcode:
|
gcode:
|
||||||
M84; TURN_OFF_MOTORS
|
# In pause state, Only the nozzle is turned OFF
|
||||||
TURN_OFF_HEATERS
|
{% if printer.print_stats.state == "paused" %}
|
||||||
UPDATE_DELAYED_GCODE ID=delayed_printer_off DURATION=60
|
SET_HEATER_TEMPERATURE HEATER=extruder TARGET=0
|
||||||
|
{% else %}
|
||||||
[delayed_gcode delayed_printer_off]
|
# Standby/Idle or complete, can be turned off.
|
||||||
initial_duration: 0.
|
M84 ; Motors Off
|
||||||
gcode:
|
TURN_OFF_HEATERS
|
||||||
{% if printer.idle_timeout.state == "Idle" %}
|
UPDATE_DELAYED_GCODE ID=delayed_printer_off DURATION=60
|
||||||
PRINTER_OFF
|
|
||||||
{% endif %}
|
{% 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]
|
[exclude_object]
|
||||||
|
|
||||||
[include mainsail.cfg]
|
[include mainsail.cfg]
|
||||||
|
|||||||
Reference in New Issue
Block a user