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

[BUG or FR ] SWITCHING_EXTRUDER - disabled motor extruders #20045

Closed
DrumClock opened this issue Nov 6, 2020 · 5 comments
Closed

[BUG or FR ] SWITCHING_EXTRUDER - disabled motor extruders #20045

DrumClock opened this issue Nov 6, 2020 · 5 comments

Comments

@DrumClock
Copy link

DrumClock commented Nov 6, 2020

When using the SWITCHING_EXTRUDER function.

The extruder motors E1,E2,E3 do not work properly.
After a few seconds, E1, E2 turn off and E3 does not rotate at all.

I don't know if it's a given configuration:

#define EXTRUDERS 4 and #define HOTENDS 4 (for separate hotends )

if I change #define EXTRUDERS 4 and #define HOTENDS 1 it's the same. (for 4-IN-1-OUT hotends)

configurations:
https://github.com/DrumClock/Marlin/tree/GTR-2xMFG-V7

@ellensp ellensp added Bug? Feature! T: Feature Request Features requested by users. labels Nov 6, 2020
@DrumClock
Copy link
Author

OK, thanks

@DrumClock DrumClock changed the title [BUG] SWITCHING_EXTRUDER - disabled motor for E1 [BUG or FR ] SWITCHING_EXTRUDER - disabled motor extruders Nov 7, 2020
@DrumClock DrumClock reopened this Nov 7, 2020
@ellensp ellensp removed Bug? Feature! T: Feature Request Features requested by users. labels Nov 7, 2020
@DrumClock
Copy link
Author

DrumClock commented Nov 7, 2020

I tried this:
in ..... \ Marlin \ src \ inc \ SanityCheck.h I disabled (so it can be compiled)

#if ENABLED (SWITCHING_NOZZLE)
  #if ENABLED (DUAL_X_CARRIAGE)
    #error "SWITCHING_NOZZLE and DUAL_X_CARRIAGE are incompatible."
  #elif ENABLED (SINGLENOZZLE)
    #error "SWITCHING_NOZZLE and SINGLENOZZLE are incompatible."
  #elif EXTRUDERS! = 2
    // # error "SWITCHING_NOZZLE requires exactly 2 EXTRUDERS."
  #elif NUM_SERVOS <1
    #error "SWITCHING_NOZZLE requires NUM_SERVOS> = 1."
  #endif

then I enabled SWITCHING_NOZZLE and set the unused servo0 (because I don't switch nozzles)

#define SWITCHING_NOZZLE
#if ENABLED (SWITCHING_NOZZLE)
  #define SWITCHING_NOZZLE_SERVO_NR 0
  // # define SWITCHING_NOZZLE_E1_SERVO_NR 2 // If two servos are used, the index of the second
  #define SWITCHING_NOZZLE_SERVO_ANGLES {45, 135} // Angles for E0, E1 (single servo) or lowered / raised (dual servo)
#endif

After these modifications, both motors for extruders and servos for E0-E3 switched and worked properly.

Perhaps this will help eliminate the bug or add FW.

I am very happy to tested before PR ...... just write me what to change here.

@ElectroFlux-SS
Copy link

Try disabling the following line:
#define DISABLE_INACTIVE_EXTRUDER

@DrumClock
Copy link
Author

DrumClock commented Nov 7, 2020

Hi @ElectroFlux-SS
Yes this setting works.
// #define DISABLE_INACTIVE_EXTRUDER

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants