Stairwell light switch
This block can be used for staircases or commercial corridors to provide an adjustable timed delay and most importantly a warning function.
An pulse at the input Tr triggers the output Q to be on for the time defined by parameter TH.
Before the output is switched off there is a visual warning - i.e. the lights flash off for a time set by parameter WT. The time this happens at is set by parameter TW. For example a 10 second on period, at 8 seconds (TW=2) the lights flash off for 0.5 seconds.
If Q is on and there is another pulse at Tr then the timer is restarted. If there is a pulse at O, the output is switched to on permanently and unless there is a pulse at R in which case it will be set to off.
If the Dis input is enabled then the inputs are disabled. The timing function and operation of the UI will still work.