Hey,
Zavashier is right.
The end-stops should be mounted at the very top of your machine where the axis carriages hit the top plate.
They should be set to such a depth that the carriages do NOT hit the top plate. If they do you could have some very nasty out comes!
Depending on what type of switches you use depends on the mounting technique.
Hope this helps,
Alex
NFireLabs - The World First Modular 3D Printer - At An Affordable Price!