A limit switch is an electro-mechanical device used to send an electrical signal based on a physical interaction. Limit Switches are used to detect the presence of objects, thus allowing the system to take desired action.
This is a companion discussion topic for the original entry at https://www.solisplc.com/tutorials/limit-switch