Light Switch is programmed for On delay and OFF delay. As and when the beam is interrupted the time starts counting and after the set time the relay reverts to its original position switching off the load.