With all distance measuring sensors, it must be ensured that the laser spot can be seen directly by the optical system of the receiver and that no obstructions are in front of the receiver.
With glossy or reflective objects, the direct reflection must not impinge on the receiver. This can be avoided by slightly tilting the sensor.
For optimum measurement results, the sensor must be installed at right angles to the movement of the object. A simple rule applies for triangulation sensors that the distance between the sensor and the object should be kept as small as possible for each application. The shorter the range, the better (more than proportional) the resolution and accuracy. Note on electromagnetic compatibility: ground the sensor and use a shielded connecting cable.