Is there a method of simply checking the trouble of a Photoelectric Sensor?

If the tester is used, it is possible to check it simply.
It is checked in the following method whether the control output operates normally with a tester.

*This is simply operation check, and judges only the trouble of the control output.