There is no " beam"....pir, passive infra red , detects infra red radiation. If this radiation stops moving, or goes out of range, the unit switches off.
The relay associated with this is adjustable for night and day, or night only operation and the units have built in timers which can be set...