PLC API
The TwinCAT PLC Building Automation Library contains a number of function blocks useful for the building automation.
Lightings
Name | Description |
---|---|
Light dimmer using a switch. | |
Simplified version of the FB_Dimmer1Switch() without extra-functions. Needs less memory. | |
Light dimmer using two switches. | |
Simplified version of the FB_Dimmer2Switch() without extra-functions. Needs less memory. | |
Combination of FB_Dimmer1Switch() und FB_Dimmer2Switch(). | |
Control of lighting. | |
Daylight lamp control. | |
Constant light control. | |
Light-ramp. | |
Light-sequence. | |
Stairwell light dimmer. | |
Stairwell lighting. |
Facade
Name | Description |
---|---|
Control of roof-window. | |
Control of blinds. | |
Venetian blind control with direct position command. | |
Venetian blind control with direct position command with only one switch-input. |
Scene Management
Name | Description |
---|---|
Function block for calling and changing scenes via buttons. *) | |
Function block for managing lighting scenes. *) | |
Function block for managing blind scenes. *) |
Signal Processing
Name | Description |
---|---|
Differentiation between short and long button presses. | |
Signalling contact. | |
Differentiation between single and double button presses. | |
Threshold switch. |
Filter Functions
Name | Description |
---|---|
PT1-Filter for smoothing of input-values. | |
PT2-Filter for smoothing of input-values. |
Conversion Functions
Name | Description |
---|---|
Scaling the / conversion from raw values to measured value | |
F_TO_C, F_TO_K, F_TO_R, K_TO_F, K_TO_C, K_TO_R, C_TO_F, C_TO_K, C_TO_R, R_TO_K, R_TO_C, R_TO_F | Functions for converting temperatures between Kelvin, Celsius, Reaumur and Fahrenheit |
Time Switches
Name | Description |
---|---|
Weekly time switch. | |
Calculating of sun height and sun sun azimuth. | |
Calculation of sunrise and Sunset. *) | |
Calculation of german holidays. | |
Calculation of the United States public holidays. | |
Calculation of the United States federal holidays. | |
switches every n-th day. | |
switches every n-th week on specific days of the week. | |
switches in specific months on a specific weekday. | |
switches in specific months on a specific day of the month. | |
switches on a specific day of the year. |
Energy Management
Name | Description |
---|---|
Maximum Demand Controller in order to reduce power peaks. |
*) Note: This functionblock is only available in the PC-based version of the library.