Limit Switches
Limit switches are used to automatically detect or sense the presence of an object or to monitor and indicate whether the movement limits of that object have been exceeded.
The original use for limit switches, as implied by their name, was to define the limit or endpoint over which an object could travel before being stopped. It was at this point that the switch was engaged to control the limit of travel.