Typically, a "micro-switch" with a roller tip is used for limits. Whether you need a fully "sealed" switch depends upon if you intend to use coolant or not. The variety of switch with 3 terminals lets you connect to the Normally Open (NO) or Normally Closed (NC) side of the switch as your electrical design requires.
The cheaper unprotected type switches start on Ebay for less than $10 for sets of 3-5 switches, such as auction #281125076779.
If you want long-term protection from flying chips and lubricant, then the same switches start at ~$5 each, such as Ebay auction #281370390753.
Either type switch is typically mounted on a flat strip of sheet metal that can be adjusted back and forth, so that the location of "stop" has some final adjustment. You definitely want to use the roller type switch, rather than the plunger type, because you don't want the switch broken off in case the machine over-runs its "stop" position. And remember that due to momentum, the table may not stop in the exact same position each time. Don't confuse the table's "hard stop" position with the limit switch position. The limit switch should be hit well before the hard stop. The hard stop is only encountered in the case of "run-away" machine. (Hopefully never.)
On the machines my company builds, 24V is used at the limit switches which controls the coil on a contactor (power relay). All the limits are connected in series. If any limit switch is hit, then all power is cut to the motors. This means the table has to be manually backed out of the switch before the machine is restarted.
We use reed switches for "home" detection, since they typically have the same (or closer) physical location regardless of direction of travel. Again, inertia of the table plays a roll. If we need to find an absolute "home" with a high inertia system, then our machines approach from one direction only, and in a special low speed crawl.
Take all this with a dose of realism. Our machines can have a ton of steel moving 10+ feet overhead and human life is at stake.
Hope this helps.