Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No manual Extrusion from menu, when using two extruders and one nozzle (mixing hotend or Y-adapter) #198

Open
Hrumque opened this issue Mar 29, 2021 · 0 comments

Comments

@Hrumque
Copy link

Hrumque commented Mar 29, 2021

Two E0 and E1 stepsticks, two extruders, one nozzle (and one Th0 sensor and H0 heater), Y-adapter for switching between two filaments

Parameters in configure.h looks good:
#define EXTRUDERS 2 #define SINGLENOZZLE #define PREVENT_COLD_EXTRUSION #define EXTRUDE_MINTEMP 150

but ... in touch menu Tools > Extrusion works only one (first) extruder (ofcourse - after preheat nozzle above EXTRUDE_MINTEMP). After switched to second one - motor not working, on lcd "extrude lenght" is always 0.

I found that this is not PREVENT_COLD_EXTRUSION issue in ThermalManagment, but in touchpanel-lcd menu !

Marlin\src\lcd\extui\lib\mks_ui\draw_extrusion.cpp have hardcoded touch-buttons and functions, but there is no difference in code for HAS_SINGLE_NOZZLE mode:

case ID_E_ADD: if (thermalManager.temp_hotend[uiCfg.curSprayerChoose].celsius >= EXTRUDE_MINTEMP) { ... }

case ID_E_DEC: if (thermalManager.temp_hotend[uiCfg.curSprayerChoose].celsius >= EXTRUDE_MINTEMP) { ... }

for fast fixup I change uiCfg.curSprayerChoose].celsius to [0] and everything is working now ok for me.
if (thermalManager.temp_hotend[0].celsius >= EXTRUDE_MINTEMP) { ... } if (thermalManager.temp_hotend[0].celsius >= EXTRUDE_MINTEMP) { .... }

but in official code should be something nice with #if ENABLED(HAS_SINGLE_NOZZLE)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant