it includes a transmitter and a receiver separated from each other in structure and placed opposite to the optical axis. The light emitted by the transmitter directly enters the receiver. When the detected object passes between the transmitter and the receiver and blocks the light, the photoelectric switch generates an on-off signal. When the detected object is opaque, the through beam photoelectric switch is the most reliable detection device.