Throughbeam photoelectric sensor transmitter