I upgraded original mainboard Tronxy X5S to Ramps 1.4. I activated Dual Motor and I put the second Z endstop and now the leveling the bed is very easy
Configuration marlin and wiring for dual Z-endstop
I changed mainboard for Ramps 1.4 and I add a second Z-Endstop.
I took a lot of useful information from this thread:
First of all we need to connect the second endstop
-ZMin = Endstop Z1
-XMax = Endstop Z2 (When I used ZMax I had a problem, I don't know why)
The second Z motor you should connect to E1 pin, because if you connect to Z2 this modification don't working (if you know it is possible to connect to Z2, please give me know).
Next we need to change Marlin code:
Your endstop inverting settings might be differnt based on your endstop logic, check correct setting with M119!
do not forget to check your endstop pullups for mechanical endstops:
I projected special endstop mounts for aluminium profiles 2020. But I have changed mounting my Z motors and bed and I think that don't fit good with orginal tronxy X5S