The limit switches ensure safety during maintenance work inside the electrical panels. They are applied on the frame of the cabinet and can turn on the lights, turn off a fan or a heater or cut off the power supply in general when the door is opened or closed.