A limit switch is used to contain the movement or motion of a machine such as a crane. A limit switch can also be used to bring the machine to its starting position or to a previously known location .
A limit switch prevents damage to nearby equipment or injury to people by limiting the motion of a moving overhead crane . In an industrial environment , a limit switch is necessary in each direction a machine can travel.