Marlin: MK2_MULTIPLEXER- relay switches, driver without signal

Created on 14 Mar 2018  Â·  21Comments  Â·  Source: MarlinFirmware/Marlin

When the MK2_MULTIPLEXER function is enabled, the relay switches. Unfortunately, only E1 works. E2 and E3 and E4 are switched on, but no signal from the stepper driver is in them. Where is the error?
FW: bugfix-1.1.x

Potential ? More Data

Most helpful comment

Ok guys, I guess the root of all evil is this option:

#define DISABLE_INACTIVE_EXTRUDER true

Change the value to false and I'm 99.9% sure all four extruders will work.

All 21 comments

What is the state of the status LEDs on the multiplexer (there is one per relay) when you select T0, T1, T2, T3?

lights up. There is no such problem. I think so

Likely the sequence of the wires from the stepper driver to the switch is wrong.
Likely A and B coils do not match.

I measured the signal from the output of the board. E0 signal has, E1 E2 E3 signal is not

Do you have LIN_ADVANCE enabled?

Please ZIP up your Configuration.h and Configuration_adv.h files and drop them into your next reply. We're going to need them if we are going to do any testing.

thanks. Okey, here files:
Marlin-bugfix-1.1.x.zip

//#define LIN_ADVANCE

My stepper multiplexer works just fine with Marlin so this is probably a hardware issue. Just to be sure: we are talking about this stepper switcher

Then please check the status of the LEDs to rule out some wiring issue. When you put the stepper switcher as on the picture the topmost LED (D1) will always be on (power indicator). The two LEDs below (D2 and D3) will show the binary representation of the index of the currently selected stepper.
So it's

Tool | D1 | D2 | D3
------------ | ------------- | ------------- | -------------
T0 | ON | OFF | OFF
T1 | ON | ON | OFF
T2 | ON | OFF | ON
T3 | ON | ON | ON

Yes exactly this type. switching to another extruder does not flow into E-IN. the switch itself works

@revilor can you please send me your configuration? I'd like to try it out

switching E1
1
switching E2
2
switching E3
3
switching E4
4

simply is not the master signal for the stepper motor for E2, E3 and E4. E1 works.
measured on stepper driver

my full package Marlin
Marlin.zip

That's exactly how it is supposed to be. So it's not a Marlin issue but related to the switcher board itself. Maybe a cold solder joint at one of the relay pins?

so why is not the signal going to E-IN?

@honzahs did you figure this out by any chance? I just built my own MK2 multiplexer and I'm having pretty much the same issue.

If I enable MK2_MULTIPLEXER and do tool change I can hear the relays clicking but any extrusion isn't working. (except for tool 0).

To debug things out, I disabled the multiplexer in the config and manually used M42 to set the pins state of the multiplexers and in that case it's working perfectly fine (I need to M18 between tool change)

I did something along those lines in prontrface for debugging

G91 ; Relative mode (easier to test extrusion)
G0 E10; Extrude on T0
M18 ;Disable steppers
M42 P40 S255 ; Switch to T1
G0 E10; Extrude on T1
M18
M42 P42 S255 ; Switch to T3
G0 E10
M18
M42 P40 S0 ;Switch to T2
G0 E10

Ok guys, I guess the root of all evil is this option:

#define DISABLE_INACTIVE_EXTRUDER true

Change the value to false and I'm 99.9% sure all four extruders will work.

@revilor that was it for me, thanks :). That's with the latest Marlin 2.x and a custom MK2 like multiplexer

If it's of any use, my config is the following
Marlin.zip

@revilor Yes it is. two days ago I came alone

Ok guys, I guess the root of all evil is this option:

Aha. Very nice catch. We'll patch that today… or now.

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ShadowOfTheDamn picture ShadowOfTheDamn  Â·  3Comments

Ciev picture Ciev  Â·  3Comments

jerryerry picture jerryerry  Â·  4Comments

esenapaj picture esenapaj  Â·  3Comments

ahsnuet09 picture ahsnuet09  Â·  3Comments