Function blocks

Function blocks

HVAC Actuators

Name

Description

FB_HVAC2PointActuator

Control two-point valves or two-point dampers

FB_HVAC3PointActuator

Control three-point valves or three-point dampers

FB_HVACCirculationPump

Control pumps

FB_HVACCirculationPumpEx

Control pumps; switch -on conditions of bPump are different in comparison with FB_HVACCirculationPump

FB_HVACMotor1Speed

Control a single-speed drive

FB_HVACMotor2Speed

Control a two-speed drive

FB_HVACMotor3Speed

Control a tree-speed drive

FB_HVACMux8

interpret the FIFO memory of the FB_HVACRedundancyCtrlEx

FB_HVACRedundancyCtrl

Control a certain of number (e.g. 8 pumps) dependent on working hours

FB_HVACRedundancyCtrlEx

Control a certain of number (e.g. 8 pumps) dependent on working hours; the working hours have to be specified externally as hourly values via VAR_INPUT

HVAC Analog modules

Name

Description

FB_HVACAnalogInput

Acquisition analog input signal

FB_HVACAnalogOutput

Control continuous actuators

FB_HVACAnalogOutputEx

Control continuous actuators with a integrated scale function

FB_HVACAnalogTo3Point

Convert an analog signal into a three-point step signal

FB_HVACConfigureKL32xx

Parameterization the connected analog sensor via TwinCAT PLC

FB_HVACScale

Scale function block

FB_HVACScale_nPoint

replication characteristic curves

FB_HVACTemperatureCurve

represent a temperature curve

FB_HVACTemperatureSensor

Acquisition temperature values in 1/10°C, is matched to the KL320x bus terminals

FB_HVACTemperatureSensorEx

Acquisition temperature values in 1/10°C, is matched to the KL320x bus terminals; without the second order filter, therefore with a smoothing function

FB_HVACTemperatureSensorEx2

Acquisition temperature values in 1/10 or 1/100°C, is matched to the KL320x bus terminals; without the second order filter, therefore with a smoothing function

HVAC Controller

Name

Description

FB_HVAC2PointCtrl

2-point controller

FB_HVAC2PointCtrlSequence

2-point sequence controller

FB_HVACBasicSequenceCtrl

general sequence controller

FB_HVACI_CtrlStep

The function block serves the sequential control of power generators

FB_HVACI_CtrlStepEx

The function block serves the sequential control of power generators

FB_HVACMasterSequenceCtrl

master controller in a AC-plant

FB_HVACPIDCooling

PID cooling controller

FB_HVACPIDCtrl

PID-Controller

FB_HVACPIDCtrl_Ex

PID-Controller extended

FB_HVACPIDDehumidify

PID dehumidification controller

FB_HVACPIDEnergyRecovery

PID heat recovery controller

FB_HVACPIDHumidify

PID humidification controller

FB_HVACPIDMixedAir

PID mixed air chamber controller

FB_HVACPIDPreHeating

PID pre-heating controller

FB_HVACPIDReHeating

PID reheating controller

FB_HVACPowerRangeTable

represents a power range table and serves the sequential control of power generators such as boilers or refrigeration machines

HVAC Setpoint modules

Name

Description

FB_HVACHeatingCurve

Calculation the supply temperature depending on the outside temperature with four bases

FB_HVACHeatingCurveEx

Calculation the supply temperature depending on the outside temperature

FB_HVACOutsideTempDamped

Calculation the damped outside temperature

FB_HVACSetpointHeating

Control an heating circuit with different operating modes

FB_HVACSetpointRamp

Moving setpoint ramp

FB_HVACSummerCompensation

summer compensation

HVAC Special functions

Name

Description

FB_HVACAirConditioning2Speed

Controls AC-plant with two-speed fans

FB_HVACAlarm

alarm function block

FB_HVACAntiBlockingDamper

prevents the blockage of an damper

FB_HVACAntiBlockingPump

prevents the blockage of a pump

FB_HVACBlink

flashing sequence

FB_HVACCmdCtrl_8

With the function block can single aggregates of a plant in a certain order sequentially on or be turned off. FB_HVACCmdCtrl_8 can be used as start condition of a ventilation system.

FB_HVACCmdCtrlSystem1Stage

system switch one-stage

FB_HVACCmdCtrlSystem2Stage

system switch two-stage

FB_HVACConvertEnum

converts an Enum into an integer value and vice versa

FB_HVACEnthalpy

calculate the dew point, the specific enthalpy and the absolute humidity

FB_HVACFixedLimit

Limit value switch

FB_HVACFreezeProtectionHeater

freeze protection

FB_HVACMUX_INT_16

contains two different types of multiplexers

FB_HVACMUX_INT_8

contains two different types of multiplexers

FB_HVACMUX_REAL_16

contains two different types of multiplexers

FB_HVACMUX_REAL_8

contains two different types of multiplexers

FB_HVACOverwriteAnalog

manual overwrite analog

FB_HVACOverwriteDigital

manual overwrite digital

FB_HVACPowerMeasurementKL3403

control a 3-phase power measurement terminal KL/KS 3403

FB_HVACPowerMeasurementKL3403Ex

compared with the FB_HVACPowerMeasurementKL3403 the results are available in LREAL format. The output is extended by the frequencies of the three phases.

FB_HVACPriority_INT_16

can be used to prioritise events or as a multiplexer.

FB_HVACPriority_INT_8

can be used to prioritise events or as a multiplexer.

FB_HVACPriority_REAL_16

can be used to prioritise events or as a multiplexer.

FB_HVACPriority_REAL_8

can be used to prioritise events or as a multiplexer.

FB_HVACOptimizedOn

Turns the heating/cooling on before the building is occupied with a self adapting timetable

FB_HVACOptimizedOff

Turns the heating/cooling off before the building is empty with a self adapting timetable

FB_HVACTempChangeFunctionEntry

Entry function for FB_HVACOptimizedOn / FB_HVACOptimizedOff

FB_HVACPWM

PWM

FB_HVACStartAirConditioning

start program for an AC-plant

FB_HVACSummerNightCooling

Summer night cooling

FB_HVACSummerNightCoolingEx

Summer night cooling

FB_HVACTimeCon

converts a TIME variable to three UDINT variables (udiSec, udiMin, udiHour)

FB_HVACTimeConSec

converts a TIME variable into an UDINT variable (udiSec)

FB_HVACTimeConSecMs

converts a TIME variable into two UDINT variables (udiSec, udiMs)

FB_HVACWork

working hours counter

HVAC Time schedule

Name

Description

FB_HVACScheduler1ch

Weekly time switch with 1 time switch channel

FB_HVACScheduler7ch

Weekly time switch with 7 time switch channel

FB_HVACScheduler7TCHandling

this FB can be used to select and modify an individual line from the data array of a weekly timer

FB_HVACScheduler28ch

Weekly time switch with 28 time switch channel

FB_HVACScheduler28TCHandling

this FB can be used to select and modify an individual line from the data array of a weekly timer

FB_HVACSchedulerSpecialPeriods

Yearly timer switch with day, month and exactly time

FB_HVACSchedulerPublicHolidays

Yearly timer switch with day and month

HVAC System

Name

Description

FB_HVACGetSystemTime

an internal clock can be implemented in the TwinCAT PLC

FB_HVACNOVRAMDataHandling

FB, it is necessary to start an instance in the main program

FB_HVACPersistentDataHandling

FB, it is necessary to start an instance in the main program

FB_HVACPersistentDataFileCopy

to copy binary data on the local TwinCAT PC or from a remote TwinCAT PC to the local TwinCAT PC

FB_HVACSetLocalTime

sets the local Windows system time and the date

FB_HVACSystemTaskInfo

determines system variables of the task

HVAC Backup Function blocks

Name

Description

FB_HVACNOVRAM_xyz

FBs for standard data types

FB_HVACPersistent_xyz

FBs for standard data types

Room function Lighting

Name

Description

FB_BARLightActuator

This function block serves to control a conventional light actuator

FB_BARLightCircuit

This block represents a simple light circuit without a dimming function

FB_BARLightCircuitDim

This block represents a light circuit with a dimming function.

FB_BARAutomaticLight

Function block for an automatic light circuit as used in corridors or sanitary facilities.

FB_BARStairwellAutomatic

Function block for a stairwell light circuit.

FB_BARTwilightAutomatic

Automatic twilight function.

FB_BARDaylightControl

Daylight switch without dimming.

FB_BARConstantLightControl

constant light control function block

Room function Shading (see also Overview)

Overview

Name

Description

FB_BARBlindPositionEntry

Shading protection: Entry of blind-positions

FB_BARSunblindEvent

This function block serves to preset the position and angle for any desired event.

FB_BARSunblindWeatherProtection

weather protection function

FB_BARSunblindSwitch

manual operating mode

FB_BARSunblindScene

manual operating mode with scenes

FB_BARSunblindTwilightAutomatic

Automatic twilight function.

FB_BARSunblindThermoAutomatic

Thermo automatic

FB_BARSunProtectionEx

Function block for the control of glare protection with the aid of a louvered blind.

FB_BARShadingObjectsEntry

Shading correction: imported data objects by FB

FB_BARReadShadingObjectsList

Shading correction: imported data objects by file

FB_BARFacadeElementEntry

Shading correction: imported data elements by FB

FB_BARReadFacadeElementList

Shading correction: imported data elements by file

FB_BARShadingCorrection / FB_BARShadingCorrectionSouth

Shading correction FB

FB_BARDelayedHysteresis

This function block represents a threshold switch for brightness

FB_BARWithinRangeAzimuth

This function block checks whether the current azimuth angle (horizontal position of the sun) lies within the limits entered

FB_BARWithinRangeElevation

This function block checks whether the current angle of elevation (vertical position of the sun) lies within the limits entered.

FB_BARSunblindPrioritySwitch

Priority controller for up to 9 positioning telegrams

FB_BARSunblindActuator/ FB_BARSunblindActuatorEx

Sunblind Actuator

FB_BARSMISunblindActuator

SMI Sunblind Actuator

FB_BARollerBlind

Rollerblind Actuator

FB_BARSMIRollerBlind

SMI Rollerblind Actuator

Room functions controller

Name

Description

FB_BARPICtrl

Simple PI controller with input via the proportional band

Air conditioning room function

Name

Description

FB_BAREnergyLevel

This function block is for the adaptation of the supply of energy for the use of the building.

FB_BARFanCoil

This function block maps a 3-speed fan with the corresponding switching hysteresis.

FB_BARFctSelection

This function block is for enabling room heating or room cooling.

FB_BARSetpointRoom

This function block assigns a setpoint for cooling operation and another for heating operation to each of the four energy levels.

Overview Library version

Date

Version

Created with TwinCAT Version

Remarks

10/29/2008

1.0.0

V2.10.0 (Build 1328)

first Release

10/29/2009

1.1.0

V2.11.0 (Build 1536)

new FBs (FB_HVACRedundancyCtrlEx; FB_HVACTemperatureSensorEx; FB_HVACEnthalpy; FB_HVACTimeCon;
FB_HVACTimeConSec; FB_HVACMux8)

04/12/2010

1.2.7

V2.11.0 (Build 1539)

new FBs (FB_HVACSetLocalTime; FB_HVACAnalogOutputEx; FB_HVACConfigureKL32xx; FB_HVACScale_nPoint;
FB_HVACTemperatureCurve)
new Function F_HVACRoundLREAL_EX

08/04/2010

1.3.0

V2.11.0 (Build 1547)

new FBs (FB_HVAC2PointCtrlSequence; FB_HVACPowerMeasurementKL3403Ex; FB_HVACScheduler7TCHandling; FB_HVACScheduler28TCHandling)

01/13/2011

1.9.0

V2.11.0 (Build 1552)

new FBs (FB_HVACTimeConSecMs; FB_HVACI_CtrlStep; FB_HVACPowerRangeTable; FB_HVACPriority_REAL_8; FB_HVACPriority_REAL_16; FB_HVACPriority_INT_16; FB_HVACPriority_INT_8; FB_HVACMUX_INT_8; FB_HVACMUX_INT_16; FB_HVACMUX__16; FB_HVACMUX_INT_8; FB_HVACCirculationPumpEx; FB_HVACHeatingCurveEx)

02/08/2011

1.10.1

V2.11.0 (Build 1552)

new FB (FB_HVACConvertEnum)

28/07/2011

1.11.0

V2.11.0 (Build 1552)

new FB_HVACSummerNightCoolingEx

05/12/2011

1.11.12

V2.11.0 (Build 2038)

new FB_HVACTemperatureSensorEx2

28/12/2011

1.12.0

V2.11.0 (Build 2038)

new FB_HVACCmdCtrl_8

30.03.2012

1.13.0

V2.11.0 (Build 2218)

including new FBs for Room functions

30.06.2012

1.14.0

V2.11.0 (Build 2224)

new FB_HVACI_CtrlStepEx