The through-beam photoelectric switch consists of two devices: the sender and receiver. The separate device configuration makes large scanning ranges possible. The use of laser diodes allows greater scanning ranges while simultaneously maintaining a high resolution. Focus ranges can be set with high precision.