Skip to content

Commit 9e72607

Browse files
niccoreyesthinkyhead
authored andcommitted
🚸 Improve MMU2 unload (like original MMU2S) (MarlinFirmware#20147)
Co-authored-by: Scott Lahteine <[email protected]>
1 parent 71cbbfb commit 9e72607

File tree

6 files changed

+126
-115
lines changed

6 files changed

+126
-115
lines changed

Marlin/Configuration_adv.h

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4119,30 +4119,29 @@
41194119

41204120
// Add an LCD menu for MMU2
41214121
//#define MMU2_MENUS
4122-
#if EITHER(MMU2_MENUS, HAS_PRUSA_MMU2S)
4123-
// Settings for filament load / unload from the LCD menu.
4124-
// This is for Průša MK3-style extruders. Customize for your hardware.
4125-
#define MMU2_FILAMENTCHANGE_EJECT_FEED 80.0
4126-
#define MMU2_LOAD_TO_NOZZLE_SEQUENCE \
4127-
{ 7.2, 1145 }, \
4128-
{ 14.4, 871 }, \
4129-
{ 36.0, 1393 }, \
4130-
{ 14.4, 871 }, \
4131-
{ 50.0, 198 }
4132-
4133-
#define MMU2_RAMMING_SEQUENCE \
4134-
{ 1.0, 1000 }, \
4135-
{ 1.0, 1500 }, \
4136-
{ 2.0, 2000 }, \
4137-
{ 1.5, 3000 }, \
4138-
{ 2.5, 4000 }, \
4139-
{ -15.0, 5000 }, \
4140-
{ -14.0, 1200 }, \
4141-
{ -6.0, 600 }, \
4142-
{ 10.0, 700 }, \
4143-
{ -10.0, 400 }, \
4144-
{ -50.0, 2000 }
4145-
#endif
4122+
4123+
// Settings for filament load / unload from the LCD menu.
4124+
// This is for Průša MK3-style extruders. Customize for your hardware.
4125+
#define MMU2_FILAMENTCHANGE_EJECT_FEED 80.0
4126+
#define MMU2_LOAD_TO_NOZZLE_SEQUENCE \
4127+
{ 7.2, 1145 }, \
4128+
{ 14.4, 871 }, \
4129+
{ 36.0, 1393 }, \
4130+
{ 14.4, 871 }, \
4131+
{ 50.0, 198 }
4132+
4133+
#define MMU2_RAMMING_SEQUENCE \
4134+
{ 1.0, 1000 }, \
4135+
{ 1.0, 1500 }, \
4136+
{ 2.0, 2000 }, \
4137+
{ 1.5, 3000 }, \
4138+
{ 2.5, 4000 }, \
4139+
{ -15.0, 5000 }, \
4140+
{ -14.0, 1200 }, \
4141+
{ -6.0, 600 }, \
4142+
{ 10.0, 700 }, \
4143+
{ -10.0, 400 }, \
4144+
{ -50.0, 2000 }
41464145

41474146
/**
41484147
* Using a sensor like the MMU2S
@@ -4165,6 +4164,8 @@
41654164
#define MMU2_CAN_LOAD_INCREMENT_SEQUENCE \
41664165
{ -MMU2_CAN_LOAD_INCREMENT, MMU2_CAN_LOAD_FEEDRATE }
41674166

4167+
// Continue unloading if sensor detects filament after the initial unload move
4168+
//#define MMU_IR_UNLOAD_MOVE
41684169
#else
41694170

41704171
/**

0 commit comments

Comments
 (0)