Starting with Ryan’s firmware, you’ll use his pins_RAMPS.h.
The E0 will be X2 and E1 will be Z2.
You’ll need to find where he has enabled dual Y and disable it (I think it’s configuration_adv.h). Then enable dual Z.
You’ll have to home Z up (otherwise it will sit on the endstops). Because of this, you will change the Z2 endstop to be the Ymax pin, and wire your endstops to:
X1: Xmin
X2: Xmax
Y: Ymin
Z1: Zmax
Z2: Ymax
You should only need to make changes in Configuration.h and Configuration_adv.h. That’s how the Marlin firmware is configured, and if you want to learn about Marlin, it’s not bad to read them.
After you’ve flashed, you can test the endstops with M119 command. You can test motion with the LCD move axis, or G1 X5 to move X, etc. Then you can home one axis at a time with G28 X, etc.
I would also highly recommend getting your machine working well before messing with this. It’s no fun to debug a simple problem, thinking it’s a complicated one. So if you haven’t ran the crown gcode yet, I would get there before starting the dual modification.
After working on different crowns ,letters engraving ect i decided to move to dual endstops.the main reason is squareness and mostly z axis not paralle to table(almost never!)
My problem is that without plugging the endtops i tried to move axis.Lets assume that x axis is the long one and y axis the short one.
i have ramps 1.4,followed previous post of jeffeb3(and thanks again!) and plugged:
EO–>X2(working fine!)
E1–>Z2(does not work)
X–>X1(working fine!)
Y–>Y1(does not work??even if it is the single motor )
Z–>Z1(working fine!)
so to conclude x axis ok,y axis not,z axis only one motor spinning.
As for the endstops i am planning to follow jeffb3 instructions:
X1: Xmin
X2: Xmax
Y: Ymin
Z1: Zmax
Z2: Ymax
and keep z min pins for the probe.I am attaching my configuration files if anybody can take a look or someone uploads his working files.
can you post your configuration and configuration_adv? You can rename them to .txt to post here.
have you looked at the output of M119? It should give you a good idea if your endstops are wired right and the logic is correct. For example, you can invert their state in configuration, which means a nc connected endstop will act like it’s triggered when it’s not.
Thank you jeff.Yes slowly progress but steady…I thought i uploaded them but i did not!Well i didnt plug in endtops yet because i have to solve axis movement first!!
Hmmm… This all looks fine. You should look at M119, because you’ve got softstops on for x and y. I can’t figure out why Z2 isn’t working, but it explains why Y isn’t, maybe…
So this week had some time and tried your suggestion Jeffeb3.The reason which z2 was not working was fault Eo ramps pins.Changed the ramps and worked fine.I also tried all the endstops with m 119 and work as they should.My only problem now is that y axis not moving.The motor is ok because i tried it to other port.I found the enable softstops command in marlin and disabled them ,but problem still exists.When i try to move y axis i get at lcd sreen mesage:Y endstop and in repetier host the same (Y set to zero or something like this).Has anyone had the same issue and a hint how to fix it?Thanks!
Hi again.I am having progress!I silenced the softstops and now all axis move.I just made move x1 and x2 and y axis with corresponding endstops. My z1 and z2 axis are moving both ways but the endstops do not seem to stop motors from moving. Although my endstop status work fine with m119 command for all endstops. I changed the logic and my enstops are normally open as ryan suggests.
my endstops are connected to:
Xmin–>x1
Xmax–>x2
Ymin–>y axis(single)
Ymax–>z2
Zmin–>probe
Zmax–>z1
so my question is any idea why the z endstops do not stop the motors (or i connected endstops to wrong pins?)
Which ones work and which ones do not. Take the belts off and test, some of them have to be correct. (side note, they only function when homing - G28).
Yes some of them are correct.Y(single axis is correct) X1 and X2 are correct.I trigger one endstop and that motor stops until i trigger the other. And yes i home each axis seperately throught repetier.
Z1 and Z2 axes are moving but none endstop is stopping them nor the probe.my configutration is on the link some posts up,on my dropbox!
#define Z2_USE_ENDSTOP _ZMAX_ // from Configuration_adv.h
I think this should be Y_MAX. It seems like it should be stopping one of the motors though… Did you change anything w.r.t. endstop pins in the pins_blahblah.h?
Jeffeb3: yes I did your suggestions.Not touched pins.h
I am very close 3 motors work fine.The single one just fine with its endstop.the dual x works in homing fine ,when touching one endstop ,the other motor continues until it touches the other endstop.
the problem is the other dual.does not stop none motor in none endstop. athought the endstops work fine according to m119.so the problem is limited to z homing…
Really dont know what to change.Anyone has this configuration for dual for lowrider?