Keyence Interview Question

How does the laser scanner work