CALL #Ceiling lampON :=M20.0OFF :=20.1ONOFF :=20.2Duration :=T#5MOutput :=M20.3PulseOn :=PulseOff :=CALL #BlindUp :=M30.0Down :=M30.1CentralUp :=CentralDown :=TimeMaxDuration :=T#10STimePause :=T#1STimeShortLong :=T#2SEndable :=BlindUp :=M30.6BlindDown :=M30.77.2 Room7.2.1 FB 45 - LAMP - Controlling lamp / socketWith this block you can control load relays for lamps and sockets. It can be controlled viaOn/Off button or via separate On and Off button. Additionally with Duration you have thepossibility to set a duration for the automatic switching-off. With TimeDebounce you canspecify a debounce time for the input signals.n When driving a monostable relay the output remains set as long as the relay is to beactivated. With an edge change 0-1 at OnOff respectively On the static output Outputis set. It remains set until you reset it with an edge change 0-1 at OnOff respectivelyOff or the time of Duration has expired.n When controlling a bistable relay 2 outputs are used. Here PulseOn controls theswitch on and PulseOff the switch off procedure. With TimePulse the pulse durationand with TimePause the switch time of the two outputs can be specified.ParametersParameter Declaration Data type DescriptionOnOff INPUT BOOL With an edge change 0-1 Output is activatedrespectively deactivated and PulseOn or Pul-seOff is activated.Default: FALSEOn INPUT BOOL With an edge change 0-1 Output is activatedrespectively deactivated and PulseOn is acti-vated.Default: FALSEOff INPUT BOOL With an edge change 0-1 Output is deactivatedand PulseOff is activated.Default: FALSENetwork 1Network 2DescriptionVIPA SPEED7 Building ControlRoom > FB 45 - LAMP - Controlling lamp / socketHB00 | OPL_SP7 | Operation list | en | 18-30 103