How do i set limit switches?

I am setting up my new Ortur and when I turn it on or select home, the laser gantry comes all the way against the limit switch and tries to keep going.

A wire came off of the limit switch

2 Likes