better unload macro
This commit is contained in:
parent
d728b68cc3
commit
8593cd72ec
3 changed files with 29 additions and 14 deletions
|
@ -34,6 +34,7 @@ gcode:
|
|||
TURN_OFF_HEATERS
|
||||
GO_TO_BUCKET
|
||||
BED_MESH_CLEAR
|
||||
DISABLE_MOTORS
|
||||
|
||||
[gcode_macro HEATSOAK]
|
||||
gcode:
|
||||
|
@ -89,11 +90,22 @@ gcode:
|
|||
|
||||
[gcode_macro UNLOAD_FILAMENT]
|
||||
gcode:
|
||||
G91
|
||||
G1 E15.0 F{20*60}
|
||||
G1 E3.0 F{26*60}
|
||||
G1 E-13.14 F{120*60}
|
||||
G1 E-100 F{50*60}
|
||||
M118 Filament unloading!
|
||||
M117 Filament unloading!
|
||||
M82 #set extruder to absolute mode
|
||||
G92 E0
|
||||
{% if printer.extruder.can_extrude|lower != 'true' %} # checing for minimum extrusion temperature
|
||||
# check if temperature is over the minimum extrusion temp. min_extrude_temp must be defined in the extruder config (to about 185)
|
||||
M118 Hotend heating!
|
||||
M109 S235 T0 # set temperature and wait
|
||||
{% endif %}
|
||||
G1 E10 F{5*60} # extrude a little to soften tip
|
||||
G0 E-5 F{60*60} # extract filament to cold end
|
||||
G0 E-70 F{5*60} # continue extraction slow allow filament to be cooled enough before reaches the gears
|
||||
M400
|
||||
M118 Filament unload complete!
|
||||
M117 Filament unload complete!
|
||||
|
||||
|
||||
[gcode_macro M600]
|
||||
gcode:
|
||||
|
|
11
printer.cfg
11
printer.cfg
|
@ -20,12 +20,15 @@ path: ~/gcode_files
|
|||
[idle_timeout]
|
||||
timeout: 1800 # change timeout to 30 minutes
|
||||
|
||||
# Tested speeds
|
||||
# Tested speeds 2wd
|
||||
# 500mm/s 58k accel
|
||||
# 700mm/s 45k accel
|
||||
# 1000mm/s 29k accel
|
||||
# 1200mm/s 20k accel
|
||||
|
||||
# Tested speeds AWD
|
||||
# 500mm/s 85k accel
|
||||
|
||||
[printer]
|
||||
kinematics: corexy
|
||||
max_velocity: 1000
|
||||
|
@ -62,6 +65,6 @@ unretract_speed: 100
|
|||
|
||||
[input_shaper]
|
||||
shaper_type_x = mzv
|
||||
shaper_freq_x = 109.4 # accel=35300
|
||||
shaper_type_y = zv
|
||||
shaper_freq_y = 67.0 # accel=17500
|
||||
shaper_freq_x = 74.6 # accel=12000 # backup zv 67.0 17500 accel
|
||||
shaper_type_y = mzv
|
||||
shaper_freq_y = 74.6 # accel=16400 # backup zv 82.6 26600 accel
|
||||
|
|
10
steppers.cfg
10
steppers.cfg
|
@ -32,7 +32,7 @@ step_pin: PG4 # Drive 3
|
|||
dir_pin: PC1
|
||||
enable_pin: !PA0
|
||||
endstop_pin: tmc2209_stepper_x:virtual_endstop
|
||||
microsteps: 16
|
||||
microsteps: 32
|
||||
rotation_distance: 40
|
||||
full_steps_per_rotation: 200
|
||||
step_pulse_duration: 0.000001
|
||||
|
@ -44,7 +44,7 @@ run_current: 2
|
|||
sense_resistor: 0.110
|
||||
stealthchop_threshold: 0
|
||||
diag_pin: ^PG11 # Set to MCU pin connected to TMC DIAG pin
|
||||
driver_SGTHRS: 70 # 255 is most sensitive value, 0 is least sensitive
|
||||
driver_SGTHRS: 50 # 255 is most sensitive value, 0 is least sensitive
|
||||
driver_TBL: 1
|
||||
driver_TOFF: 3
|
||||
driver_HSTRT: 1
|
||||
|
@ -73,7 +73,7 @@ run_current: 2
|
|||
sense_resistor: 0.110
|
||||
stealthchop_threshold: 0
|
||||
diag_pin: ^PG12 # Set to MCU pin connected to TMC DIAG pin
|
||||
driver_SGTHRS: 80 # 255 is most sensitive value, 0 is least sensitive
|
||||
driver_SGTHRS: 40 # 255 is most sensitive value, 0 is least sensitive
|
||||
driver_TBL: 1
|
||||
driver_TOFF: 3
|
||||
driver_HSTRT: 1
|
||||
|
@ -84,7 +84,7 @@ step_pin: PC13 # Drive5
|
|||
dir_pin: PF0
|
||||
enable_pin: !PF1
|
||||
endstop_pin: tmc2209_stepper_y:virtual_endstop
|
||||
microsteps: 16
|
||||
microsteps: 32
|
||||
rotation_distance: 40
|
||||
full_steps_per_rotation: 200
|
||||
step_pulse_duration: 0.000001
|
||||
|
@ -96,7 +96,7 @@ run_current: 2
|
|||
sense_resistor: 0.110
|
||||
stealthchop_threshold: 0
|
||||
diag_pin: ^PG13 # Set to MCU pin connected to TMC DIAG pin
|
||||
driver_SGTHRS: 60 # 255 is most sensitive value, 0 is least sensitive
|
||||
driver_SGTHRS: 40 # 255 is most sensitive value, 0 is least sensitive
|
||||
driver_TBL: 1
|
||||
driver_TOFF: 3
|
||||
driver_HSTRT: 1
|
||||
|
|
Loading…
Add table
Reference in a new issue