Digital proximity sensor, omron photoelectric sensor