A few quick examples of when to use the different kinds of industrial sensors to detect the presence of objects.
Mechanical switches are great for verifying that some part of a machine is in place so the machine can operate - like making sure this gate is closed for example. This is a good use for an inexpensive switch because the low usage won’t wear the switch out any time soon. Proximity sensors are suited for parts of the machine that do move frequently because they don’t have any moving parts to wear out. Use photoelectric sensors for detecting random sized and positioned objects – the objects just have to break the beam – it doesn’t matter that they aren’t perfectly aligned or an exact distance from the sensor. All of these sensors provide a simple on/off signal so you can use them with any PLC’s general purpose I/O and it only requires a single line of code … You can do it, with AutomationDirect.