Hysteresis is the difference in distance between the switch-on and switch-off points. This is necessary to ensure stable switching when the measured distance fluctuates around the switching point that has been set. Hysteresis can be freely configured on most distance sensors and is expressed in mm. Because it can be configured freely, it is possible to strike a balance between precise and stable switching behavior.