Update M600-support.cfg
This commit is contained in:
parent
018e8583d6
commit
263d459fd9
1 changed files with 1 additions and 7 deletions
|
@ -39,6 +39,7 @@ gcode:
|
||||||
{action_respond_info("z_safe = %s"% (z_safe))}
|
{action_respond_info("z_safe = %s"% (z_safe))}
|
||||||
SET_GCODE_VARIABLE MACRO=M600 VARIABLE=m600_state VALUE=1
|
SET_GCODE_VARIABLE MACRO=M600 VARIABLE=m600_state VALUE=1
|
||||||
SET_GCODE_VARIABLE MACRO=PRINTER_PARAM VARIABLE=hotend_temp VALUE={printer.extruder.target}
|
SET_GCODE_VARIABLE MACRO=PRINTER_PARAM VARIABLE=hotend_temp VALUE={printer.extruder.target}
|
||||||
|
SET_GCODE_VARIABLE MACRO=PRINTER_PARAM VARIABLE=z_safe_pause VALUE={z_safe|float}
|
||||||
RESPOND TYPE=command MSG="Print paused for filament change!"
|
RESPOND TYPE=command MSG="Print paused for filament change!"
|
||||||
PAUSE_BASE
|
PAUSE_BASE
|
||||||
G91
|
G91
|
||||||
|
@ -91,13 +92,6 @@ gcode:
|
||||||
{% set s_value = (printer['gcode_macro PRINTER_PARAM'].fan2_speed * 255 - printer['gcode_macro PRINTER_PARAM'].fan2_min) * 255 / (255 - printer['gcode_macro PRINTER_PARAM'].fan2_min)|float %}
|
{% set s_value = (printer['gcode_macro PRINTER_PARAM'].fan2_speed * 255 - printer['gcode_macro PRINTER_PARAM'].fan2_min) * 255 / (255 - printer['gcode_macro PRINTER_PARAM'].fan2_min)|float %}
|
||||||
M106 P2 S{s_value}
|
M106 P2 S{s_value}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% set z_resume_move = printer['gcode_macro PRINTER_PARAM'].z_safe_pause|int %}
|
|
||||||
{% if z_resume_move > 2 %}
|
|
||||||
{% set z_resume_move = z_resume_move - 2 %}
|
|
||||||
G91
|
|
||||||
G1 Z-{z_resume_move} F600
|
|
||||||
M400
|
|
||||||
{% endif %}
|
|
||||||
{% set E = printer["gcode_macro PAUSE"].extrude|float + 1.0 %}
|
{% set E = printer["gcode_macro PAUSE"].extrude|float + 1.0 %}
|
||||||
{% if 'VELOCITY' in params|upper %}
|
{% if 'VELOCITY' in params|upper %}
|
||||||
{% set get_params = ('VELOCITY=' + params.VELOCITY) %}
|
{% set get_params = ('VELOCITY=' + params.VELOCITY) %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue