Switching and measuring
In some applications all you need to do is detect two positions: the start and end point. In others, position detection over the entire travel is important. Depending on which information you require you will select switching or measuring sensors.
Switching sensors detect whether an object is present or not present.
The advantages: Simple technology means low cost, easy startup, normally no media contact.
Analog sensors make continuous measuring value output possible. The advantages: Greater position and distance accuracy, continuous dynamic measurement, more flexible to use than switching sensors.