In fully automated sawmills, the position of wooden boards before sawing must be determined so that they can be cut precisely. Micro-Epsilon laser displacement sensors detect the position of the boards from two sides and output the board position to the controller.