Buy one of these to replace your endstop if it is indeed broken. Take close look at your z-axis endstop and pick one that you are confident that you can install. The z-axis endstop is hiding behind the small white board on top middle of your picture. It is a black switch connected with two or three yellow wire in your machine.
https://www.amazon.com/s/ref=nb_sb_ss_c … PS0ZX82LDJ
| |
V
However, before you order new endstop, do some test to find out the problem is on the endstop, not that broken plastic can not triger the endstop.
1. turn off the machine.
2. lower the bed manually by turning the z-axis rod/motor manually.
3. home z-axis while tiger the z-axis endstop by hand, if press the z-axis endstop stop the homing process, your endstop is fine, but the bed can not touch the endstop and triger it. possiblly due to the broken plastics.
If the endstop is bad, order an new one. Buy one of these to replace your endstop if it is indeed broken. Take close look at your z-axis endstop and pick one that you are confident that you can install.
https://www.amazon.com/s/ref=nb_sb_ss_c … PS0ZX82LDJ
If it is the broken plastic cause unable to triger the z-axis endstop, tape or glue the broken piece back and see if it trigger the z-endstop now. if not, tape or glue some additional piece of wood or plastic so that it will trigger the z-endstop. Then measure the size and print a shape that can mount on the bed and help it trigger the endstop.
Your loosing wire harness in the middle of the picture is likely the cause of the problem, zip-tie it to the top of the machine so that it don't randomly block anything. Print out a cable chain to prevent this from happening again.
https://www.thingiverse.com/make:285433
(Da Vinci 1.0, Jr. 1.0 RAMPS, miniMaker) X4, (Creality CR-10S, CR-10 mini, Ender-3) X4, Anycubic MEGA X4, Anycubic Chrion X1, ADMILAB Gantry X2 (MonoPrice Maker Select V2, Plus, Ultimate)X4--Select mini X1, Anycubic photon X4, Wanhao duplicate D7 X1.
iNSTONE Inventor Pro X2, CTC Dual X2, ANET-A8, Hictop 3DP-11, Solidoodle Press, FLSUN I3 2017X1