A photoelectric sensor detects a presence and the state of the object by the change in light.
The amount of light (luminance) is converted to an electrical signal. Within the sensor a standard is set at a particular level of the electrical signal and the output is fixed to ON or OFF depending on whether the level of the electrical signal (amount of light entered) is high or not than the standard.
Classification of photoelectric sensor

The amount of light (luminance) is converted to an electrical signal. Within the sensor a standard is set at a particular level of the electrical signal and the output is fixed to ON or OFF depending on whether the level of the electrical signal (amount of light entered) is high or not than the standard.
Classification of photoelectric sensor
