7 Building ControlThe block library can be found for download in the ‘Service/Support’ area ofwww.vipa.com at ‘Downloads è VIPA Lib’ as ‘Block library Building Control -SW90ES0MA’ . The library is available as packed zip file. As soon as you want to usethese blocks you have to import them into your project.Ä Chap. 5 ‘Include VIPA library’page 697.1 OverviewIn this chapter the function blocks (FB45 ... FB50) for building control (GLT) can be found.The blocks use the system time of the CPU. There are no S7 timers required. You havethe option to use for each block an instance data block or multiple instances. There arethe following blocks:FB DescriptionFB 45 LAMP Controlling a lamp or socketFB 46 BLIND Controlling blindFB 47 DSTRIKE Controlling an electric door openerFB 48 ACONTROL Access controlFB 49 KEYPAD Requesting a keypad with external powersupplyFB 50 KEYPAD2 Requesting a keypad without externalpower supply7.1.1 Call example - instance DBCALL "Ceiling lamp", DB 1ON :=M20.0OFF :=20.1ONOFF :=20.2Duration :=T#5MOutput :=M20.3PulseOn :=PulseOff :=7.1.2 Call example - multi instances DBIn the following there is a STL call example of the usage of multiple lights and a blind withmultiple instances.Name Data type AddressCeiling lamp LAMP 0.0Floor lamp LAMP 46.0Mirror lamp LAMP 92.0Blind BLIND 138.0Block library "BuildingControl"Network 1Content of: “Environment\Interface\Stat"VIPA SPEED7Building ControlOverview > Call example - multi instances DBHB00 | OPL_SP7 | Operation list | en | 18-30102