PLC Function Blocks
The objects configured in the TwinCAT Building Automation Framework can also be used with the following function blocks from the PLC. Performance features that are not covered by the standard functions of the TwinCAT Building Automation Framework can thus be implemented with the help of these function blocks. The function blocks are contained in the PLC library TcBAFramework2.20.lib.
The function blocks are firmly bound to the respective type. This means, for example, that only one DALI lamp can be addressed with the function blockFB_BAFLampDALI(). An error message is returned if an attempt is made to address a standard lamp object or a DALI lamp for the security lighting.
Sensors
Name of the Function Block |
Description |
---|---|
Function block for controlling a digital signal. | |
Function block for controlling a digital EnOcean signal. | |
Function block for controlling a digital signal (occupancy) of a smartSPOT. | |
Function block for controlling an up/down counter via KL1512. | |
Function block for controlling an analog signal. | |
Function block for controlling an analog EnOcean signal. | |
Function block for controlling an analog signal (brightness) of a smartSPOT. |
Actuators
Name of the Function Block |
Description |
---|---|
Function block for controlling a lamp. | |
Function block for controlling a DALI lamp. | |
Function block for controlling a DALI lamp for emergency-lighting. | |
Function block for controlling a blind drive. | |
Function block for controlling a blind drive via KL2532. | |
Function block for controlling a window drive. | |
Function block for controlling a 2-point valve actuator. | |
Function block for controlling a 3-point valve actuator. | |
Function block for controlling a continuous valve actuator. |
Sensor Groups
Name of the Function Block |
Description |
---|---|
Function block for controlling a digital signal group. | |
Function block for controlling an analog signal group. |
Actuator Groups
Name of the Function Block |
Description |
---|---|
Function block for controlling a lamp group. | |
Function block for controlling a blind drive group. | |
Function block for controlling a window drive group. | |
Function block for controlling a valve actuator group. |
Functional Units
Name of the Function Block |
Description |
---|---|
Function block for controlling a lighting with dimmer function. | |
Function block for controlling a stairwell lighting. | |
Function block for controlling a twighlight switch. | |
Function block for controlling a daylight dependent light control. | |
Function block for controlling a constant light control. | |
Function block for controlling function- and duration tests of DALI lamps. | |
Function block for controlling a sunblind. | |
Function block for controlling a sunblind with sun position tracking. | |
Function block for controlling a window unit. | |
Function block for controlling a temperature controller for heating and cooling. |
Scenes
Name of the Function Block |
Description |
---|---|
Function block for controlling a scene. |
Time Scheduler Channels
Name of the Function Block |
Description |
---|---|
Function block for controlling a daily time scheduler channel. | |
Function block for controlling a weekly time scheduler channel for individual days of the week. | |
Function block for controlling a weekly time scheduler channel for continual days of the week. | |
Function block for controlling a monthly time scheduler channel for the nth day of the month. | |
Function block for controlling a monthly time scheduler channel for an individual weekday of the month. |
Weather Stations
Name of the Function Block |
Description |
---|---|
Function block for controlling a virtual weather station. | |
Function block for controlling a P03 weather station of the Elsner Company. | |
Function block for controlling a Sensor D weather station of the Thies Clima Company. | |
Function block for controlling a weather station composed of analog and digital signals. |
Subsystems
Name of the Function Block |
Description |
---|---|
Function block for controlling a power measurement unit via KL3403. |
Application
Name of the Function Block |
Description |
---|---|
Function block for controlling global services of the application program. |