They are used for controlling machinery as part of a control system, as a safety interlocks, or to count objects passing a point.[1] A limit switch is an electromechanical device that consists of an actuator mechanically linked to a set of contacts. When an object comes into contact with the actuator, the device operates the contacts to make or break an electrical connection.