Update 6.0.0
This commit is contained in:
parent
bb0b7539a0
commit
c8db437b79
63 changed files with 3667 additions and 737 deletions
|
@ -18,6 +18,53 @@ runout_gcode:
|
|||
M600
|
||||
|
||||
|
||||
[gcode_macro _UNLOAD_FILAMENT]
|
||||
gcode:
|
||||
RESTORE_E_CURRENT
|
||||
M109 S{printer['gcode_macro PRINTER_PARAM'].hotend_temp|int}
|
||||
RESPOND TYPE=command MSG="Unloading filament..."
|
||||
M83
|
||||
G1 E10 F300
|
||||
G1 E-15 F3000
|
||||
G1 E-22.4700 F2400
|
||||
G1 E-6.4200 F1200
|
||||
G1 E-3.2100 F720
|
||||
G1 E5.0000 F356
|
||||
G1 E-5.0000 F384
|
||||
G1 E5.0000 F412
|
||||
G1 E-5.0000 F440
|
||||
G1 E5.0000 F467
|
||||
G1 E-5.0000 F495
|
||||
G1 E5.0000 F523
|
||||
G1 E-5.0000 F3000
|
||||
G1 E-15 F3000
|
||||
SET_E_MIN_CURRENT
|
||||
|
||||
|
||||
[gcode_macro _LOAD_FILAMENT]
|
||||
gcode:
|
||||
RESTORE_E_CURRENT
|
||||
M109 S{printer['gcode_macro PRINTER_PARAM'].hotend_temp|int}
|
||||
RESPOND TYPE=command MSG="Loading filament..."
|
||||
G91
|
||||
G1 E100 F180
|
||||
G90
|
||||
M400
|
||||
SET_E_MIN_CURRENT
|
||||
|
||||
|
||||
[gcode_macro _PURGE_MORE]
|
||||
gcode:
|
||||
RESTORE_E_CURRENT
|
||||
M109 S{printer['gcode_macro PRINTER_PARAM'].hotend_temp|int}
|
||||
RESPOND TYPE=command MSG="Purging filament..."
|
||||
G91
|
||||
G1 E10 F180
|
||||
G90
|
||||
M400
|
||||
SET_E_MIN_CURRENT
|
||||
|
||||
|
||||
[gcode_macro M600]
|
||||
description: Filament Change
|
||||
variable_m600_state: 0
|
||||
|
@ -55,22 +102,22 @@ gcode:
|
|||
G90
|
||||
G1 X{x_park} Y{y_park} F30000
|
||||
{% endif %}
|
||||
G91
|
||||
{% if printer.extruder.can_extrude|lower == 'true' %}
|
||||
RESPOND TYPE=command MSG="Extracting filament..."
|
||||
G1 E20 F180
|
||||
G1 E-30 F180
|
||||
G1 E-50 F2000
|
||||
{% else %}
|
||||
RESPOND TYPE=command MSG="Extruder not hot enough!"
|
||||
{% endif %}
|
||||
_UNLOAD_FILAMENT
|
||||
SET_GCODE_VARIABLE MACRO=PRINTER_PARAM VARIABLE=fan2_speed VALUE={printer['output_pin fan2'].value}
|
||||
SET_GCODE_VARIABLE MACRO=M600 VARIABLE=fan0_speed VALUE={printer['output_pin fan0'].value}
|
||||
M106 P0 S0
|
||||
M106 P2 S0
|
||||
SET_IDLE_TIMEOUT TIMEOUT=900
|
||||
SET_E_MIN_CURRENT
|
||||
RESPOND TYPE=command MSG="Replace filament at the extruder inlet and click on Resume button!"
|
||||
RESPOND TYPE=command MSG="action:prompt_begin Filament change detected!"
|
||||
RESPOND TYPE=command MSG="action:prompt_text A necessary filament change has been detected. Please replace filament, LOAD it and click RESUME button."
|
||||
RESPOND TYPE=command MSG="action:prompt_button UNLOAD FILAMENT|_UNLOAD_FILAMENT|secondary"
|
||||
RESPOND TYPE=command MSG="action:prompt_button LOAD FILAMENT|_LOAD_FILAMENT|secondary"
|
||||
RESPOND TYPE=command MSG="action:prompt_button PURGE MORE FILAMENT|_PURGE_MORE|secondary"
|
||||
RESPOND TYPE=command MSG="action:prompt_footer_button CANCEL PRINT|CANCEL_PRINT|error"
|
||||
RESPOND TYPE=command MSG="action:prompt_footer_button IGNORE|RESPOND TYPE=command MSG=action:prompt_end|warning"
|
||||
RESPOND TYPE=command MSG="action:prompt_footer_button RESUME|RESUME|primary"
|
||||
RESPOND TYPE=command MSG="action:prompt_show"
|
||||
|
||||
|
||||
[gcode_macro RESUME]
|
||||
|
@ -108,15 +155,6 @@ gcode:
|
|||
{% set get_params = "" %}
|
||||
{% endif %}
|
||||
{% if printer["gcode_macro M600"].m600_state == 1 %}
|
||||
{% if printer.extruder.can_extrude|lower == 'true' %}
|
||||
RESPOND TYPE=command MSG="Loading and purging filament..."
|
||||
G91
|
||||
G1 E100 F180
|
||||
G90
|
||||
M400
|
||||
{% else %}
|
||||
RESPOND TYPE=command MSG="Extruder not hot enough!"
|
||||
{% endif %}
|
||||
{% if printer['gcode_macro M600'].fan0_speed > 0 %}
|
||||
{% set s_value = (printer['gcode_macro M600'].fan0_speed * 255 - printer['gcode_macro PRINTER_PARAM'].fan0_min) * 255 / (255 - printer['gcode_macro PRINTER_PARAM'].fan0_min)|float %}
|
||||
M106 P0 S{s_value}
|
||||
|
@ -133,5 +171,6 @@ gcode:
|
|||
RESPOND TYPE=command MSG="Extruder not hot enough!"
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
RESPOND TYPE=command MSG="action:prompt_end"
|
||||
RESPOND TYPE=command MSG="Restarting print..."
|
||||
RESUME_BASE {get_params}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue