From 450ce0fc6486829a95a5183b2a7593898b0bf331 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Sat, 21 May 2022 12:02:45 +0000 Subject: [PATCH] Improve load to nozzle sequence - Fixed a bug where the feed rate was 60x higher than intended - Adjusted the sequence via trial and error. The sequence where the filament has not exited the nozzle is 35mm shorter than the previous implementation - I reduced the feed rate slightly (by 1mm/s) on the fast load sequence --- Firmware/mmu2.cpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Firmware/mmu2.cpp b/Firmware/mmu2.cpp index 6807e8aa1..5df3a2c41 100644 --- a/Firmware/mmu2.cpp +++ b/Firmware/mmu2.cpp @@ -18,12 +18,6 @@ // Settings for filament load / unload from the LCD menu. // This is for Prusa MK3-style extruders. Customize for your hardware. #define MMU2_FILAMENTCHANGE_EJECT_FEED 80.0 -#define MMU2_LOAD_TO_NOZZLE_SEQUENCE \ - { 7.2, 562 }, \ - { 14.4, 871 }, \ - { 36.0, 1393 }, \ - { 14.4, 871 }, \ - { 50.0, 198 } #define NOZZLE_PARK_XY_FEEDRATE 50 #define NOZZLE_PARK_Z_FEEDRATE 15 @@ -64,7 +58,10 @@ static constexpr E_Step ramming_sequence[] PROGMEM = { {-50.0F, 2000.0F / 60.F}, }; -static constexpr E_Step load_to_nozzle_sequence[] PROGMEM = { MMU2_LOAD_TO_NOZZLE_SEQUENCE }; +static constexpr E_Step load_to_nozzle_sequence[] PROGMEM = { + { 36.0F, 810.0F / 60.F}, // feed rate = 13.5mm/s - Load fast until filament reach end of nozzle + { 30.0F, 198.0F / 60.F}, // feed rate = 3.3mm/s - Load slower once filament is out of the nozzle +}; namespace MMU2 {