121
Library for Building Automation Function Block Descriptions for HVAC Functions Last update: 22.04.2009

Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Embed Size (px)

Citation preview

Page 1: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Library for Building Automation

Function Block Descriptions for HVAC Functions

Last update: 22.04.2009

Page 2: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 2

Copyright © 2009 by WAGO Kontakttechnik GmbH & Co. KG All rights reserved.

WAGO Kontakttechnik GmbH & Co. KG Hansastraße 27 D-32423 Minden

Phone: +49 (0) 571/8 87 – 0 Fax: +49 (0) 571/8 87 – 1 69

E-Mail: [email protected]

Web: http://www.wago.com

Technical Support Tel.: +49 (0) 571/8 87 – 777 Fax: +49 (0) 571/8 87 – 8777

E-Mail: [email protected]

Every conceivable measure has been taken to ensure the correctness and completeness of this documentation. However, as errors can never be fully excluded, we would appreciate any information or ideas at any time. We wish to point out that the software and hardware terms as well as the trademarks of companies used and/or mentioned in the present manual are generally protected by trademark or patent.

Page 3: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Important Notes

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

3

WAGO-I/O-PRO CAA library for building automation

List of Contents: Important Notes 6

Copyright ..................................................................................................... 6 Personnel qualification................................................................................. 6 Intended use ................................................................................................. 6 Range of validity.......................................................................................... 7

System Monitoring 8 Collective Malfunction (Fb_CollectiveMalfunction) .................................. 8 Start Stop (Fb_StartStop)........................................................................... 10 Start-/ Stop- Optimization (Fb_StartStopOptimization)............................ 11 Start/Stop Heating Circuit Control (FbStartStopHeatingCircuitControl).. 15 Filter Monitoring (Fb_FilterMonitoring)................................................... 19 Summer Night Ventilation (Fb_SummerNightVentilation) ...................... 20

Antifreeze 22 Antifreeze Air (Fb_AntifreezeAir) ............................................................ 22 Antifreeze Water (Fb_AntifreezeWater) ................................................... 24 Controller Antifreeze (Fb_ControllerAntifreeze) ...................................... 26

Damper Control 27 Control Supply Air / Exhaust Air Dampers (Fb_Damper) ........................ 27 Control Mixed Air Dampers (Fb_MixedAirDamper)................................ 29 Plate Heat Exchanger (Fb_PlateHeatExchanger) ...................................... 30

Fan Control 32 Fan Single Stage (Fb_Fan_1Level) ........................................................... 32 Fan Two Stage (Fb_Fan_2Level) .............................................................. 34 Fan Three Stage (Fb_Fan_3Level) ............................................................ 37 Fan FU (Fb_Fan_FC)................................................................................. 38

Control Function Blocks 41 PID Controller (Fb_Control_PID) ............................................................. 41 Advanced PID Controller (Fb_Control_PID_Adv) ................................... 43 Room Temperature Cascade Controller (Fb_RoomCascade).................... 45 Supply Air Sequence Controller (Fb_2SequenceSupplyAir) .................... 48 Mixed Air Sequence Controller (Fb_3SequenceMixedAir) ...................... 50 Heat Exchanger Sequence Controller (Fb_3SequenceHeatExchanger) .... 53 Return Temperature Limit Controller (FbReturnTemperatureLimiter)..... 56 Two-step Controller for DHW Charging (FbTwoStepControlDHW)....... 58

Page 4: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Copyright

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 4

Pump Control 61 Pump Heating Element (Fb_PumpHeatingRegister) ................................. 61 Pump Cooling Element (Fb_PumpCoolingRegister)................................. 63 Pump and Valve Activation (FbPumpAndValve) ..................................... 65

Set Value Adjustment 68 Heating Characteristic (Fb_HeatingCharacteristics) ................................. 68 Supply Temperature Calculation (FbSupplyTemperatureCalculation) ..... 70 Anti-Legionnaires' Disease Function (FbLegionella)................................ 73 Overheating and Condensation Protection (FbHeatOverride) ................... 75 Summer Compensation (Fu_SummerCompensation) ............................... 77 Winter Fresh Air Adjustment (Fb_MinFreshAirAdjustment) ................... 79

Single Room Control 81 PID Controller Heating/Cooling (Fb_PidHeatingCooling) ....................... 81 Two-Step Controller Heating/Cooling (Fb_TwoStepControl) .................. 86

Temperature evaluation 90 Enthalpy (Fb_Enthalpy)............................................................................. 90 Averaged Outside Temperature (Fb_AveragedOutsideTemperature)....... 92 Damped Outside Temperature (Fb_DampedOutsideTemperature)........... 94

Additional Functions 95 PWM Output (Fb_PWM) .......................................................................... 95 Analog Three Point (Fb_AnalogousThreePoint) ....................................... 97 Impulse Counter (Fb_ImpulseCounter) ..................................................... 99 Ramp (Fb_Ramp)..................................................................................... 101 Hysteresis (Fb_Hysteresis) ...................................................................... 102 Average Value (Fu_AverageValue) ........................................................ 104 Minimum Value (Fu_MinValue) ............................................................. 105 Maximum Value (Fu_MaxValue)............................................................ 106

Characteristics 107 KTY Characteristic (Fu_KTY) ................................................................ 107 Two Point Characteristic (Fu_TwoPoint) ................................................ 108 Four Point Characteristic (Fu_FourPoint) ............................................... 109

Scaling 110 Scaling the input values 0 to 32767 (AI) ................................................. 110 Scaling Of The Temperature Values In °C (AI_Temp)........................... 111

Visual Display Elements 112 Button....................................................................................................... 112 Switch ...................................................................................................... 112 Temperature Sensor ................................................................................. 113 Outside Temperature Sensor.................................................................... 113 Frost Monitor ........................................................................................... 114 Pressure Sensor ........................................................................................ 114

Page 5: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Important Notes

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

5

Pressure Monitor...................................................................................... 115 Signal Lamp............................................................................................. 115 Filter......................................................................................................... 116 Mixed Air Dampers ................................................................................. 116 Plate Heat Exchanger............................................................................... 117 Supply Air / Exhaust Air Damper............................................................ 117 Heating element ....................................................................................... 118 Cooling element ....................................................................................... 119 Room........................................................................................................ 119 Supply Air / Exhaust Air Fans (1 – 3 levels) ........................................... 120 Supply Air / Exhaust Air Fans Controlled Via Frequency Converter ..... 120

Page 6: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Copyright

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 6

Important Notes To ensure fast installation and start-up of the units, we strongly recommend that the following information and explanations are carefully read and adhered to.

Copyright

This document including all figures and illustrations contained therein is subject to copyright. Any use of this document which infringes the copyright provisions stipulated herein, is not permitted. Reproduction, translation and electronic and photo technical archiving and amendments require the written consent of WAGO Kontakttechnik GmbH & Co. KG, Minden. Non-observance will entail the right of claims for damages. WAGO Kontakttechnik GmbH & Co. KG reserves the right of changes serving technical progress. All rights developing from the issue of a patent or the legal protection of utility patents are reserved to WAGO Kontakttechnik GmbH & Co. KG. Third-party products are always indicated without any notes concerning patent rights. Thus, the existence of such rights must not be excluded.

Personnel qualification

The use of the product described in this document is exclusively geared to specialists having qualifications in SPS programming, electrical specialists or persons instructed by electrical specialists who are also familiar with the appropriate current standards. WAGO Kontakttechnik GmbH & Co. KG declines any liability resulting from improper action and damage to WAGO products and third party products due to non-observance of the information contained in this document.

Intended use

For each individual application, the components are supplied from the factory with a dedicated hardware and software configuration. Modifications are only admitted within the framework of the possibilities documented in the manuals. All other changes to the hardware and/or software and any use of the components that is not in accordance with the intended use entail the exclusion of liability on the part of WAGO Kontakttechnik GmbH & Co. KG. Please direct any requirements pertaining to a modified and/or new hardware or software configuration directly to WAGO Kontakttechnik GmbH & Co. KG.

Page 7: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Important Notes

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

7

Range of validity

This application note is based on the stated hardware and software of the specific manufacturer as well as the correspondent documentation. This application note is therefore only valid for the described installation. New hardware and software versions may need to be handled differently.

Please note the detailed description in the specific manuals.

Page 8: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Collective Malfunction (Fb_CollectiveMalfunction)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 8

System Monitoring

Collective Malfunction (Fb_CollectiveMalfunction)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_CollectiveMalfunction Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: xEnableSystem BOOL Enable fault monitoring xNightVentilation BOOL Enable fault monitoring during summer

night ventilation xMains BOOL Mains fault xEmergencyOff BOOL EMERGENCY - OFF - Signal xStartupError BOOL Start-up system fault xErrorFan1 BOOL Error message of fan 1 xErrorFan2 BOOL Error message of fan 2 xFrostAlarmAir BOOL Antifreeze air signal xFrostAlarmWater BOOL Antifreeze water signal xErrorPump BOOL Error pump heating element xFireAlarm BOOL Fire alarm xErrorDamper BOOL Error damper xMalfunction1 BOOL Error signal 1 xMalfunction2 BOOL Error signal 2 xQuit BOOL Error acknowledgement Return value: Data type: Comments: xHorn BOOL Horn xSignalLamp BOOL Error indicator lamp xSystemError BOOL System error enumStatus enum

status Indication of current error message

HVAC_ok System Ok HVAC_mains_voltage_off Mains voltage off HVAC_emergency_off EMERGENCY OFF HVAC_error_startup_

control Start-up system fault

HVAC_error_Fan1 Error message of fan 1 HVAC_error_Fan2 Error message of fan 2 HVAC_frost_alarm_air Frost alarm air HVAC_frost_alarm_water Antifreeze water signal HVAC_error_pump Error pump heat exchanger HVAC_fire_alarm Fire alarm

Page 9: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Collective Malfunction (Fb_CollectiveMalfunction)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

9

HVAC_error_damper Error damper HVAC_malfunction_1 Error 1 HVAC_malfunction_2 Error 2

Graphical illustration:

Function description:

This function block has been designed to only collect serious errors that would cause a system shutdown.

If the “xEnableSystem“ or “xNightVentilation“ input is activated and one of the inputs “xMains“, “xEmergencyOff“, “xStartupError“, “xErrorFan1“, “xErrorFan2“, “xFrostAlarmAir“, “xFrostAlarmWater“, “xErrorPump“, “xFireAlarm“, “xErrorDamper“, “xMalfunction1“ or “xMalfunction2“ is set to TRUE, an error message is displayed.

The error messages can be either visual or audible messages. An audible error message can be triggered via the “xHorn“ output until the error is acknowledged via the “xQuit“ input. The visual error message can be triggered via the “xSignalLamp“ output. With every error message that appears, the error indicator lamp starts to blink with a frequency of 1 Hz and the horn is activated.

If the error is acknowledged via the “xQuit“ input, the error indicator lamp will be lit continuously. Only if there is no longer an error at the inputs is it possible to delete the error message via the "xQuit" input.

At the same time, the “xSystemError“ output sends a collective malfunction (not blinking) that shuts down the system via the Fb_StartStop function block.

The “enumStatus“ output provides the error messages in text form ordered by priority.

Note:

If you also want to receive error messages when the system is turned off, it is possible to permanently set “xEnableSystem“ to TRUE.

Page 10: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Start Stop (Fb_StartStop)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 10

Start Stop (Fb_StartStop)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_StartStop Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: xSwitchOn BOOL Enabling signal e.g. clock xAuto BOOL Automatic mode xManual BOOL Manual operation xSystemError BOOL Collective malfunction Return value: Data type: Comments: xEnableSystem BOOL Enabling system xSystemOk BOOL System is OK Graphical illustration:

Function description:

This function block serves for switching a HVAC system on and/or off.

The input signals "xAuto" and "xManual" are operated by a rotary switch on the switch cabinet and are locked against each other. This rotary switch has the positions: Auto - Off - Manual

During manual operation, the HVAC system is directly switched on via the “xEnableSystem“ output. During automatic operation, the “xEnableSystem“ output is switched via the “xSwitchOn“ input (e.g. enabling a clock timer).

If a system malfunction is reported via the “xSystemError“ input, the “xEnableSystem“ and “xSystemOk“ outputs are set to FALSE. If the malfunction has been corrected and the “xSystemError“ input is FALSE, the “xSystemOk“ output is automatically set to TRUE.

Page 11: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Start-/ Stop- Optimization (Fb_StartStopOptimization)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

11

Start-/ Stop- Optimization (Fb_StartStopOptimization)

WAGO-I/O-PRO CAA Library Elements Category: Building Automation Name: Fb_StartStopOptimization Type: Function Function block X Program Library Name: Building_HVAC_01.lib Applicable to: Alle programmierbaren Feldbus-Controller Libraries used: Scheduler_02.lib Input Parameter: Data type: Comment: xEnable BOOL Enables the automatic switch on/off

optimization xSwitchChannel BOOL Input signal of the time switch program rReferenceValue REAL Reference value room temperature rActualValue REAL Actual value room temperature rOutsideTemerature REAL Outside temperature iTimeBeforeOperation INT The remaining time up to the beginning (+)

or the end of the service period (-) Input / Output parameter Data type: Comment: typConfigOPT typConfig

OPT Configuration settings

.xAutoCalibration BOOL Activate autocalibration Default setting = TRUE

.xStopOptimization BOOL Activate stop optimization Default setting = FALSE

.tStartLowTemperature TIME Start time at -10 °C outside temperature Default setting = t#50m [min/°C]

.tStartHighTemperature TIME Start time at +10 °C outside temperature Default setting = t#20m [min/°C]

.tStopLowTemperature TIME Stop time at -10 °C outside temperature Default setting = t#0m [min/°C]

.tStopHighTemperature TIME Stop time at +10 °C outside temperature Default setting = t#20m [min/°C]

.rVariation REAL Temperature variation when switching from optimization to normal operation Default setting = 0.5 [K]

.tMaxTimeBefore Operation

TIME Maximum start time Default setting = t#9h

.rHolidayOffset REAL Percentage increase of start time at public holiday offset Default setting = 30 [%]

Feedback value: Data type: Comment: xDoHeating BOOL Output switching signal xOptimization BOOL Display of optimization operating mode

Page 12: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 12

Graphical display:

Function Description:

The function block Fb_StartStopOptimization calculates the optimum start and stop times of a heating installation.

The start time optimization aims to reach the required temperature at the beginning of the service period by starting up the heating on time. The stop time optimization switches the heating off before the end of service. In this case, the required reference temperature should not fall beyond a defined limit value.

The optimization function can be deactivated by setting the “xEnable“ input to FALSE signal. In this case, the "xSwitchChannel" is directly linked to the "xDoHeating" output.

The remaining time up to the beginning or the end of the service period „iTimeBeforeOperation“ is determined by the function block FbScheduler from the „Scheduler_02.lib“ library.

Start Time Optimization

If the beginning of the normal start time has not been reached yet, the function block calculates the optimum start time according to the characteristic curve shown in Fig. 1.

The characteristic curve describes the start time per °C of deviation between the "rReferenceValue" and the "rActualValue". The dependency to the actual outside temperature "rOutsideTemperature" is also taken into account.

Example: typConfigOPT.tStartLowTemperature = t#50m min/°C typConfigOPT.tStartHighTemperature = t#10m min/°C rOutsideTemperature = 0 °C rActualValue = 18 °C rReferenceValue = 20 °C

For example, a start time of 30 min/°C results from the characteristic curve at an outside temperature of 0 °C.

==> Start time = (20 °C – 18 °C) * 30C°

min = 60 min

Page 13: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

13

Fig.1: Start time in relation to the outside temperature

By starting up the heating installation on time, the required setpoint temperature can be reached at the beginning of the service period. If the remaining time until the service period starts is smaller than the calculated start time, the "xDoHeating" and “xOptimization“ outpurs are switched to TRUE signal (see Fig. 2).

Fig.2: Start-up time in relation with the calculated start time

The "xOptimization“ is set back to FALSE when the required reference temperature less the "typConfigOPT .rVariation" is reached or when the "normal" service period begins. This shows that the start time optimization is finished.

Ideally, the reference temperature is reached when the service period begins. If the room temperature is reached to early or too late, the characteristic curve can be adjusted automatically by shifting the supporting points.

This ensures that the thermal characteristics of the building are identified by the function block.

If an automatic adjustment by the function block is not desired, this can be avoided by setting the "typConfigOPT.xAutoCalibration" parameter to FALSE signal.

Furthermore, the automatic correction of the supporting points will not be performed if the installation is switched off for more than 20 hours (see Public Holiday Offset).

The supporting points can also be shifted manually by changing the "typConfigOPT.wStartLowTemperature" and "typConfigOPT. tStartHighTemperature" parameters. The maximum value of the calculated start time is limited by the "typConfigOPT. tMaxTimeBeforeOperation" parameter.

Note: The earliest possible start time for the optimization begins at midnight (00:00 hour).

typConfigOPT.tStartHighTemperature

typConfigOPT.tStartLowTemperature

Start time [min / °C]

-10 °C +10 °C Outside temperature [°C] 0 °C

e.g. 30 min/°C

Service

Time

Calculated start time

dtActualTime

ONOFFSwitching

Page 14: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 14

Public Holiday Offset

If the installation is switched off for more than 20 hours (e.g. on weekends or public holidays), a percentage offset is added to the calculated start time as a longer heat-up phase is required.

The percentage offset is calculated from the characteristic curve shown in Fig. 3 and is limited upwards by the "typConfigOPT.rHolidayOffset" parameter. The maximum value for the offset is reached after the heating installation has been switched off for 48 hours.

Fig.3: Public holiday offset depending on the switch off time

Stop Time Optimization The stop time optimization aims to save energy by switching off the heating installation before the service period is finished. In this case, the room temperature must not fall beyond a defined value during the period of use. The smallest admissible room temperature when the period of use is finished results from the reference value minus the tolerance value ("rReferenceValue" minus "typConfigOPT.rVariation"). The stop time optimization can be activated/deactivated via the "typConfigOPT.xStopOptimization" parameter. The stop time optimization is deactivated by default.

The stop time is calculated from the characteristic curve shown in Fig. 4, which describes the relation between the outside temperature and the stop time. The characteristic curve indicates the stop time per °C of deviation between the current room temperature and the smallest admissible room temperature at the end of the period of use. The values of the supporting points for the stop time at lower outside temperature "typConfigOPT. tStopLowTemperature" (-10 °C) and at higher outside temperature (+10°C) "typConfigOPT.tStopHighTemperature" can be edited by the user.

Fig.4: Stop time depending on the outside temperature

typConfigOPT. rHolidayOffset

Public holiday offset [%]

20 48 Switch off time [h]

typConfigOPT. tStopHighTemperature

Stop time [min / °C]

-10 °C +10 °C Outside temperature [°C]

typConfigOPT. tStopLowTemperature

Page 15: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Start/Stop Heating Circuit Control (FbStartStopHeatingCircuitControl)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

15

Start/Stop Heating Circuit Control (FbStartStopHeatingCircuitControl)

WAGO-I/O-PRO CAA Elemente der Bibliothek Category: Building Automation Name: FbStartStopHeatingCircuitControl Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Libraries used: Scheduler_02.lib Input parameter: Data type: Comment: xManualOperation BOOL Enable for manual operation of heating

circuit control system xManualOn BOOL Switch on heating circuit manually xScheduler BOOL Switching signal from the timer program iTimeBeforeOperation INT Time before use (+) or

duration of use (-) xStartOptimization BOOL Enable for start optimization xEconomyMode BOOL Selection of economy mode

TRUE = Night-time economy mode FALSE = Overnight shutdown

xRoomTemperatureSensor BOOL Room temperature sensor present Default setting = TRUE

rRoomTemperature REAL Actual value room temperature [°C] rRoomComfort Temperature

REAL Setpoint value for room temperature, day-time mode [°C] Default setting = 20

rDampedOutside Temperature

REAL Damped outside temperature [°C]

rLimitDampedOutside Temperature

REAL Limit for damped outside temperature [°C] Default setting = 18

rAveragedOutside Temperature

REAL Averaged outside temperature [°C]

rLimitAveragedOutside Temperature

REAL Limit for averaged outside temperature [°C] Default setting = 16

rMinRoomTemperature REAL Limit for room temperature for support mode [°C] Default setting = 13

rHysteresisMinRoom Temperature

REAL Hysteresis for support mode [K] Default setting = 2

Input/output parameter: Data type: Comment: typConfigOPT typConfig

OPT Configuration settings

.xAutoCalibration BOOL Activate autocalibration Default setting = TRUE

.xStopOptimization BOOL Activate stop optimization Default setting = FALSE

Page 16: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Start/Stop Heating Circuit Control (FbStartStopHeatingCircuitControl)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 16

.tStartLowTemperature TIME Starting time for outside temperatures <=-

10 °C Default setting = t#50m [min/°C]

.tStartHighTemperature TIME Starting time for outside temperatures >= 10 °C Default setting = t#20m [min/°C]

.tStopLowTemperature TIME Stopping time for outside temperatures <=-10°C Default setting = t#0m [min/°C]

.tStopHighTemperature TIME Stopping time for outside temperatures >=10°C Default setting = t#20m [min/°C]

.rVariation REAL Hysteresis for optimization Default setting = 0.5 [°C]

.tMaxTimeBefore Operation

TIME Max. starting time before operation Default setting = t#9h

.rHolidayOffset REAL Percentage increase of starting time after extended outages Default setting = 30 [%]

Return value: Data type: Comment: xEnableSystem BOOL Enable for heating circuit control system xComfortMode BOOL Heating circuit in Comfort mode xHeatingPeriod BOOL Heating limit not attained (heating period) xSupportMode BOOL Heating circuit in the Support mode xOptimization BOOL Heating circuit in Optimization mode Graphical illustration:

Page 17: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Start/Stop Heating Circuit Control (FbStartStopHeatingCircuitControl)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

17

Time Referenced Behavior: Function description:

The FbStartStopHeatingCircuitControl function block switches the heating circuit on/off. A start optimization function, a heating limit based on the outside temperature and a support mode have been implemented to determine the optimal activation/deactivation times.

The heating circuit control system is enabled via the "xEnableSystem" output. The heating circuit is enabled when the following conditions are fulfilled:

1.) "xManualOperation" = TRUE and "xManualOn" = TRUE

2.) "xManualOperation" = FALSE and "xScheduler" = TRUE

3.) "xManualOperation" = FALSE, "xScheduler" = FALSE and "xEconomyMode" = TRUE (Night-time economy mode)

You can change the automatic mode of the heating circuit to manual mode via the "xManualOperation" input. You can then set the heating circuit to the Day-time mode using the "xComfortMode" together with the "xManualOn" input.

In the Automatic mode, you can switch the heating circuit between the Day-time mode ("xComfortMode" = TRUE) and the Night-time economy mode ("xComfortMode" = FALSE) using the "xScheduler" input. The "xScheduler" input is normally controlled by a timer program.

You can select either Overnight shutdown ("xEnableSystem" = FALSE) or Night-time economy mode ("xEnableSystem" = TRUE) using the "xEconomyMode" input while in an Economy mode.

The setpoint value for the Day-time mode is defined via the "rRoomComfortTemperature" input.

When the "xStartOptimization" input is activated, the heating circuit can be started up by start optimization before the timer program transmits an enable signal.

A room temperature sensor is required to determine an optimal starting time ("xRoomTemperatureSensor" = TRUE). The characteristic curve for start optimization is adjusted automatically at the beginning of use as a function of the difference between the current room temperature "rRoomTemperature" and the reference room temperature "rRoomComfortTemperature".

Automatic adjustment of the characteristic curve cannot take place for start optimization without a room temperature sensor ("xRoomTemperatureSensor" = FALSE).

rLimitDamped- OutsideTemperature rLimitAveraged -OutsideTemperature

°C

t

rAveragedOutsideTemperature

rDampedOutsideTemperature

TRUExHeatingPeriod TRUEFALSE

Page 18: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 18

Premature activation of the heating circuit by start optimization is indicated at the "xOptimization" output.

The time remaining until the beginning of use is communicated to the block via the "iTimeBeforeOperation" input. A detailed description of start optimization and the structure "typConfigOPT" is given in the explanation of the Fb_StartStopOptimization function block.

A room temperature sensor ("xRoomTemperatureSensor" = TRUE) is required for monitoring of the minimum room temperature (Support mode).

The heating circuit is switched on in the Support mode if the room temperature "rRoomTemperature" drops below the minimum room temperature "rMinRoomTemperature". The Support mode is indicated at the "xSupportMode" output.

The Support mode is deactivated when the room temperature rises above the limit "rMinRoomTemperature" + "rHysteresisMinRoomTemperature".

Two different outside temperature limits are applied for switching off the heating circuit.

If the average outside temperature ("rAveragedOutsideTemperature" > "rLimitAveragedOutsideTemperature") or the damped outside temperature exceed the defined limit ("rDampedOutsideTemperature" > "rLimitDampedOutsideTemperature"), the heating circuit is switched off and the "xHeatingPeriod" reset.

Should the averaged and the damped outside temperature both fall below their defined imit, the heating circuit is enabled and the "xHeatingPeriod" set.

Page 19: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Filter Monitoring (Fb_FilterMonitoring)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

19

Filter Monitoring (Fb_FilterMonitoring)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_FilterMonitoring Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: xFilter_1 BOOL Maintenance signal filter 1 xFilter_2 BOOL Maintenance signal filter 2 xFilter_3 BOOL Maintenance signal filter 3 xFilter_4 BOOL Maintenance signal filter 4 xFilter_5 BOOL Maintenance signal filter 5 xFilter_6 BOOL Maintenance signal filter 6 tDelay TIME Response delay

Default setting = t#10s xQuit BOOL Error message acknowledgement Return value: Data type: Comments: xMaintenance BOOL Warning signal filter dirty bFilterNumber BYTE Display of the filter number Graphical illustration:

Function description:

The filters are normally monitored using differential pressure monitors. The differential pressure monitors report fouling of the filter system via the inputs “xFilter_1 – xFilter_6“.

In order that no warning message is lost even if the fans are switched off, it is saved and provided at the “xMaintenance“ output. In addition, the corresponding filter number is indicated at the “bFilterNumber“ output.

If the differential pressure monitors no longer report fouling of the filter, the warning message can be acknowledged via a positive edge at the “xQuit“ input.

In order to avoid unnecessary warning messages in the case of pressure fluctuations in the duct, a “tDelay“ response delay is provided for every input.

Page 20: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Summer Night Ventilation (Fb_SummerNightVentilation)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 20

Summer Night Ventilation (Fb_SummerNightVentilation)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_SummerNightVentilation Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: xEnable BOOL Enabling summer night ventilation xEnableSystem BOOL Enabling signal of Fb_StartStop xSystemOk BOOL Error message of Fb_StartStop rReferenceValueRoom REAL Reference value room temperature [°C]

Default setting = 20 °C rRoomTemperature REAL Actual value room temperature [°C] rMinDiffRoom REAL Minimum difference between reference

value and actual value of room temperature [K] Default setting = 2 K

rOutsideTemperature REAL Actual value outside temperature [°C] rMinDiffRoomOutside REAL Minimum difference between room

temperature and outside temperature [K] Default setting = 5 K

rMinOutsideTemperature REAL Minimum temperature for summer night ventilation [°C] Default setting = 12 °C

Return value: Data type: Comments: xNightVentilation BOOL Output signal of the summer night

ventilation Graphical illustration:

Page 21: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Summer Night Ventilation (Fb_SummerNightVentilation)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

21

Time Referenced Behavior:

Function description:

Summer often offers the possibility of cooling down the room temperature with the cool night air. This function block is used to utilize the possibility of effective night cooling and to control the unit components necessary for cooling.

The following conditions must be simultaneously fulfilled to start the night ventilation(“xNightVentilation“): - “xEnable“ = TRUE - “xEnableSystem“ = FALSE - “xSystemOk“ = TRUE - The difference between the room temperature reference value

“rReferenceValueRoom” and actual temperature room “rRoomTemperature“ must be larger than the limit value “rMinDiffRoom”

- The difference between room temperature “rRoomTemperature“ and outside temperature “rOutsideTemperature“ must be larger than the limit value “rMinDiffRoomOutside“

- The outside temperature “rOutsideTemperature” must be larger than “rMinOutsideTemperature”

The summer night ventilation is terminated by one of the following conditions: - “xEnable“ = FALSE - “xEnableSystem“ = TRUE - “xSystemOk“ = FALSE - The difference between room temperature “rRoomTemperature“ and outside

temperature “rOutsideTemperature“ is smaller than “rMinDiffRoomOutside“ minus 1 K hysteresis.

- The difference between the room temperature reference value “rReferenceValueRoom” and actual room temperature "rRoomTemperature” is smaller than “rMinDiffRoom” minus 1 K hysteresis.

- The outside temperature “rOutsideTemperature” is smaller than “rMinOutsideTemperature” minus 1 K hysteresis.

Room temperature Actual valueSet value

TRUE

FALSE

Temperature Room temperatureOutside temperature

TRUE

FALSE

Night ventilation

TRUE

FALSE

rMinDiffRoom – 1 K

rMinDiffRoom

rMinDiffRoomOutside – 1 K

rMinDiffRoomOutside

Page 22: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Antifreeze Air (Fb_AntifreezeAir)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 22

Antifreeze

Antifreeze Air (Fb_AntifreezeAir)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_AntifreezeAir Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: xFrostMonitor BOOL Signal of the freeze protection test point

Default setting = TRUE rY_Heating REAL Manipulated variable of controller

Value range: 0 % – 100 % rY_Flush REAL Manipulated variable of antifreeze

water(flush) Value range: 0 % – 100 %

rY_Frost REAL Manipulated variable of antifreeze control Value range: 0 % – 100 %

xQuit BOOL Error acknowledgement Return value: Data type: Comments: rY_Valve_H REAL Manipulated variable of heating valve [%]

Value range: 0 % - 100 % wY_Valve_H WORD Manipulated variable of heating valve

Value range: 0 – 32767 xFrostAlarmAir BOOL Frost alarm is active Graphical illustration:

Page 23: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Antifreeze Air (Fb_AntifreezeAir)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

23

Function description:

The Fb_AntifreezeAir function block controls the temperature in the air intake by means of a freeze protection device and determines the maximum manipulated variable of the heating element.

If the input antifreeze air “xFrostMonitor“ is set to FALSE, the valve for the heating element is opened 100 %.

In the undisturbed case the maximum values of the inputs “rY_Heating“, “rY_Flush“ and “rY_Frost“ arrive at the “rY_Valve_H“ output.

The output value “wY_Valve_H“ has the same meaning as the “rY_Valve_H“ output, only the output has standardized values between 0 – 32767.

The “xFrostAlarmAir“ output makes sure that the HVAC system is switched off via the Fb_CollectiveMalfunction function block and that the pump for the heating element is switched on as a frost protection measure.

If the freeze protection device no longer reports an error, the warning message can be acknowledged via a positive edge at the “xQuit“ input.

Page 24: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Antifreeze Water (Fb_AntifreezeWater)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 24

Antifreeze Water (Fb_AntifreezeWater)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_AntifreezeWater Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: xEnableSystem BOOL Enable antifreeze system water

Default setting = TRUE rOutsideTemperature REAL Actual value outside temperature [°C] rLimitOutsideTemperature REAL Maximum outside temperature for flush

activation [°C] Default setting = 10 °C

rY_Standby REAL Valve opening for preventive frost protection [%] Default setting = 5 %

rWaterTemperature REAL Actual value water temperature [°C] rLimitFrostAlarm REAL Limiting value water temperature for frost

alarm [°C] Default setting = 5 °C

xReturnSensor BOOL Return sensor available tMaxFlushPeriod TIME Maximum flush time

Default setting = t#15m xQuit BOOL Error acknowledgement Return value: Data type: Comments: xFlushOk BOOL Flush process completed rY_Flush REAL Manipulated variable of flush process [%]

Value range: 0 % - 100 % wY_Flush WORD Manipulated variable of flush process

Value range: 0 – 32767 xFrostAlarmWater BOOL Water temperature has fallen below

limiting value for frost alarm xStartupError BOOL Flush process error enumStatus enum

status Status confirmation of the system

HVAC_ok System Ok HVAC_no_hot_water No hot water HVAC_flush_ok Flush process completed HVAC_startup_control_ active

Flush activated

HVAC_frost_alarm_water Antifreeze water signal

Page 25: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Antifreeze Water (Fb_AntifreezeWater)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

25

Graphical illustration:

Function description:

The antifreeze water serves as a preventive frost protection by flushing the preheater and sends an error message in case of freeze danger (only with return sensor).

Antifreeze water is activated via the “xEnableSystem” input.

If the outside temperature “rOutsideTemperature“ is above the limiting value “rLimitOutsideTemperature“, the preheater is not flushed and the output “xFlushOk“ is activated.

If the outside temperature “rOutsideTemperature“ falls below the limiting value “rLimitOutsideTemperature“ (only with return sensor) and the water temperature “rWaterTemperature“ is below 30 °C, the minimum water temperature will be set to 15 °C.

If the “rY_Standby“ manipulated variable is greater than 0 % and the system is switched off, the valve of the preheater will be opened to the position defined by the manipulated variable. However, this is only done if the outside temperature is below 2 °C. This measure reduces the freeze danger for the heating element.

If the outside temperature is below “rLimitOutsideTemperature“ and if a return sensor (“xReturnSensor“ = TRUE) is part of the preheater circulation, the system is flushed 100 % via the “rY_Flush“ output as long as the water temperature exceeds 30 °C. After the temperature exceeds 30 °C, the flush process is completed and the “xFlushOk“ output is enabled. If the waiting time “tMaxFlushPeriod“ is exceeded due to a lack of warm water, the “rY_Flush“ remains 100 % and the error message “xStartupError“ is sent.

If there is no return sensor (“xReturnSensor“ = FALSE), the flush process must be a time-controlled process. In this case, the flush time is “tMaxFlushPeriod“. After the flush process is completed, the manipulated variable “rY_Flush“ is set to 50 % and then continuously reduced to 0 % within 10 minutes.

If the water temperature “rWaterTemperature“ falls below the critical value “rLimitFrostAlarm“, there is a danger of freezing and the “xFrostAlarmWater“ message is sent (only with return sensor!). Additionally, the manipulated variable “rY_Flush“ is set to 100 %.

The output value “wY_Flush“ has the same meaning as the “rY_Flush“ output, the output just has standardized values between 0 – 32767.

The “enumStatus“ output provides the current status of the antifreeze water in text form.

The error message can be acknowledged via a positive edge at the “xQuit“ input and the function block is enabled again.

Page 26: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Controller Antifreeze (Fb_ControllerAntifreeze)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 26

Controller Antifreeze (Fb_ControllerAntifreeze)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_ControllerAntifreeze Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: rReferenceValueFrost REAL Reference value antifreeze control [°C]

Default setting = 10 °C rActualValueFrost REAL Actual value frost protection sensor rKpFrost REAL Proportional multiplier antifreeze control

Default setting = 2.5 rTnFrost REAL Reset time of the antifreeze control [s]

Default setting = 420 s Return value: Data type: Comments: rY_Frost REAL Manipulated variable antifreeze control [%]

0 % – 100 % wY_Frost WORD Manipulated variable antifreeze control

0 – 32767 Graphical illustration:

Function description:

If a frost protection sensor is used along with the preheater, it is possible to keep the supply air at a low set value using the antifreeze control, even if the system is switched off . The function block Fb_AntifreezeAir then allows to determine the appropriate manipulated variable for the heating element.

The frost protection sensor determines the current “rActualValueFrost“ temperature which is set to the “rReferenceValueFrost“ temperature via the antifreeze control. The configuration of the control can be done using the inputs “rKpFrost“ and “rTnFrost“.

The manipulated variable is output at the “rY_Frost“ output.

The output value “wY_Frost“ has the same meaning as the “rY_Frost“ outputs, the output just has standardized values between 0 - 32767.

Page 27: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Control Supply Air / Exhaust Air Dampers (Fb_Damper)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

27

Damper Control

Control Supply Air / Exhaust Air Dampers (Fb_Damper)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_Damper Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: xEnableSystem BOOL Enable Fb_StartStop

Default setting = TRUE xNightVentilation BOOL Opening dampers during night ventilation xFlushOk BOOL Enable antifreeze water dampers xManualOperation BOOL Enable manual operation xManualOpen BOOL Open or close damper manually

Open = TRUE tMaxRuntime TIME Maximum runtime of the damper

Default setting = t#30s xLimitSwitchSupplyAir BOOL Limit switch supply air damper xLimitSwitchExitAir BOOL Limit switch exhaust air damper xQuit BOOL Error message acknowledgement Return value: Data type: Comments: xDamper BOOL Damper control xErrorDamper BOOL Damper error xEnableFan BOOL Enable fans Graphical illustration:

Page 28: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Control Supply Air / Exhaust Air Dampers (Fb_Damper)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 28

Function description:

This function block serves to control the supply air and exhaust air dampers with limit switch. The supply air and exhaust air dampers must be opened before the fans can be switched on.

In the automatic mode, the dampers open if the system is enabled via “xEnableSystem“ and if the message is received via the ”xFlushOk“ input that the flush process is completed.

If the function block Fb_SummerNightVentilation enables the night ventilation (“xNightVentilation“ = TRUE), the dampers are opened without taking the “xEnableSystem“ and “xFlushOk“ inputs into consideration.

In the manual mode (“xManualOperation“ = TRUE) the dampers are opened if the “xManualOpen“ input is activated.

Both damper actuators are controlled via the “xDamper“ output.

Only if both limit switches “xLimitSwitchSupplyAir“ and “xLimitSwitchExitAir“ are activated, the “xEnableFan“ output is activated to enable the fans.

The dampers are monitored in such a way that an error is reported if they have not hit the limit switches within the “tMaxRuntime“ runtime.

When the dampers are closed again, an error is reported if they both do not have left their end position within the “tMaxRuntime“ runtime.

In the event of a damper error, the error message is saved and is output via “xErrorDamper“.

The error message can be acknowledged via a positive edge at the “xQuit“ input and the function block is enabled again.

Page 29: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Control Mixed Air Dampers (Fb_MixedAirDamper)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

29

Control Mixed Air Dampers (Fb_MixedAirDamper)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_MixedAirDamper Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: xEnableSystem BOOL Enable Fb_StartStop

Default setting = TRUE xNightVentilation BOOL Opening damper during night ventilation rY_FreshAir REAL Manipulated variable mixed air damper of

the mixed air control [%] xManualOperation BOOL Enable manual operation rManualValue REAL Manipulated variable manual operation [%]

Value range 0 % – 100 % Return value: Data type: Comments: xDamper BOOL Enable exhaust air damper rY_Damper REAL Manipulated variable mixed air damper [%]

Value range: 0 % – 100 % wY_Damper WORD Manipulated variable mixed air damper

Value range: 0 - 32767 Graphical illustration:

Function description:

This function block serves to control the mixed air dampers. The fresh air dampers are closed 100 % during system idle time or during start-up.

If the function block is enabled via the “xEnableSystem“ input, the manipulated variable of the “rY_FreshAir“ input is transferred to the “rY_Damper“ output. At the same time, the exhaust air dampers can be controlled via the “xDamper“ output if they are independent of the mixed air dampers.

If the function block Fb_SummerNightVentilation enables the night ventilation (“xNightVentilation“ = TRUE), the fresh air dampers are opened 100 %. In this case, the “xEnableSystem“ input is not taken into consideration.

In the manual mode (“xManualOperation“ = TRUE) the “rManualValue“ input value is output at the “rY_Damper“ output. If the system is switched off, the mixed air damper goes into 100 % recirculating air operation.

The output value “wY_Damper“ has the same meaning as the “rY_Damper“ output, the output just has standardized values between 0 – 32767.

Page 30: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Plate Heat Exchanger (Fb_PlateHeatExchanger)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 30

Plate Heat Exchanger (Fb_PlateHeatExchanger)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_PlateHeatExchanger Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: xEnableSystem BOOL Enable Fb_StartStop

Default setting = TRUE rExitAirTemperature REAL Actual value exhaust air temperature [°C] rMinValueExitAir REAL Minimum set value exhaust air for the heat

exchanger manipulated variable in the supply air duct [°C] Default setting = 6 °C

rY_HeatExchanger REAL Manipulated variable of the heat exchanger in the exhaust air duct of the three sequence control

xPressureDifference Monitor

BOOL Differential pressure monitor heat exchanger Default setting = TRUE

xQuit BOOL Error message acknowledgement Return value: Data type: Comments: rY_HeatExchangerFresh Air

REAL Manipulated variable heat exchanger in the supply air duct [%] Value range: 0 % – 100 %

rY_HeatExchangerExitAir REAL Manipulated variable heat exchanger in the exhaust air duct [%] Value range: 0 % - 100 %

wY_HeatExchangerFresh Air

WORD Manipulated variable heat exchanger in the supply air duct Value range: 0 – 32767

wY_HeatExchangerExit Air

WORD Manipulated variable heat exchanger in the exhaust air duct Value range 0 – 32767

xMaintenance BOOL Fouling heat exchanger Graphical illustration:

Page 31: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Plate Heat Exchanger (Fb_PlateHeatExchanger)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

31

Function description:

This function block serves to control a plate heat exchanger. The two dampers for the exhaust air and the two dampers for the supply air of the heat exchanger are controlled separately since it is important to prevent hoarfrost during wintertime. This can be done by routing only a part of the supply air to the heat exchanger while the other part is bypassed.

If the function block is enabled via the “xEnableSystem“ input, the manipulated variable for the dampers in the exhaust air duct is transferred from the “rY_HeatExchanger“ input to the “rY_HeatExchangerExitAir“ output.

During normal operation the entire outside air is routed to the heat exchanger. If the temperature of the exit air “rExitAirTemperature“ falls below the minimum value “rMinValueExitAir“, there is a danger of freezing. In this case, an internal controller makes sure that the supply air dampers “rY_HeatExchangerFreshAir“ route a part of the outside air away from the heat exchanger via the bypass.

If the function block is not enabled (“xEnableSystem“ = FALSE), the bypass dampers are opened 100 %.

Fouling of the heat exchanger is detected by a differential pressure monitor “xPressureDifferenceMonitor“. In order that the fouling warning message is indicated even if the system is switched off, it is saved and provided at the “xMaintenance“ output.

The error message can be acknowledged via a positive edge at the “xQuit“ input.

The outputs “wY_HeatExchangerFreshAir“ and “wY_HeatExchangerExitAir“ have the same meaning as the “rY_HeatExchangerFreshAir“ and “rY_HeatExchangerExitAir“ outputs, the output just has standardized values between 0 – 32767.

Page 32: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Fan Single Stage (Fb_Fan_1Level)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 32

Fan Control

Fan Single Stage (Fb_Fan_1Level)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_Fan_1Level Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: xEnableSystem BOOL Fan control enabled by Fb_StartStop

Default setting = TRUE xNightVentilation BOOL Switch on fan during night ventilation xEnableFan BOOL Switch on fan tOnDelay TIME Delay time of the fan

Default setting = t#0s tStartUpPeriod TIME Startup time of the fan

Default setting = t#5s xContactor BOOL Contactor monitoring via auxiliary contact xRepairSwitch BOOL Repair switch

Default setting = TRUE xMotorProtection BOOL Motor protection switch

Default setting = TRUE xV_Belt BOOL V-belt monitoring of the fan

Default setting = TRUE tPressureVariation TIME Error message delay time during pressure

fluctuations Default setting = t#5s

xManualOperation BOOL Enable manual operation xManualSwitch BOOL Switch on fan manually xQuit BOOL Error message acknowledgement Return value: Data type: Comments: xLevel1 BOOL Switch-on signal for the fan xErrorFan BOOL Error message fan enumStatus enum

status Status indication of the fan

HVAC_ok System Ok HVAC_repair_switch Repair switch actuated HVAC_motor_protection Motor protection has tripped HVAC_fan_belt V-belt malfunction HVAC_error_contactor Contactor malfunction

Page 33: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Fan Single Stage (Fb_Fan_1Level)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

33

Graphical illustration:

Function description:

In order to switch on the fan (supply air and exhaust air fan), “xEnableSystem“ and “xEnableFan“ or “xNightVentilation“ must be TRUE. In addition, the safety chain of the fan must work accurately.

The safety chain consists of the inputs: - “xRepairSwitch“ (repair switch (break contact)), - “xMotorProtection“ (motor protection switch (break contact)) - “xV_Belt“ (runtime monitoring, V-belt monitoring) - “xContactor“ (contactor monitoring)

The fan is controlled via the “xLevel1“ output. In order not to access all the fans at the same time, you have the option to delay the start of the fans via the “tOnDelay“ input. This time is possibly required to reduce the starting current if several systems are switched on at the same time.

If there is a malfunction in the safety chain, the fan is switched off and the “xErrorFan” output is activated. A detailed description of the malfunction is provided by the “enumStatus” output.

The V-belt monitoring is only activated after an adjustable startup time “tStartUpPeriod“ which is required by the motor to achieve the rated speed. In order to avoid a false alarm in the case of pressure fluctuations in the duct while the system is running, a response delay can be defined via the “tPressureVariation“ input.

The “xContactor“ input monitors the correct functioning of the fan contactor. For this purpose the “xLevel1“ output is compared with the feedback signal of the contactor. If the switch status of the contactor differs from the “xLevel1“ output for more than one second, there is a contactor malfunction. If you do not want to monitor the fan contactor, then the “xLevel1“ output must be linked with the “xContactor“ input in the program.

Every malfunction must be acknowledged at the “xQuit“ input in order to enable the function block for further operation.

Manual operation:

You can change the automatic mode of the single stage fan to manual mode via the “xManualOperation“ input. In combination with the “xManualSwitch“ input, the fan can now be switched on or off.

Page 34: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Fan Two Stage (Fb_Fan_2Level)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 34

Fan Two Stage (Fb_Fan_2Level)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_Fan_2Level Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers

Input parameter: Data type: Comments: xEnableSystem BOOL Fan control enabled by Fb_StartStop

Default setting = TRUE xNightVentilation BOOL Switch on fan during night ventilation xEnableFan BOOL Switch on fan tOnDelay TIME Delay time of the fan

Default setting = t#0s tStartUpPeriod TIME Startup time of the fan

Default setting = t#5s xContactorLevel1 BOOL Contactor monitoring via auxiliary contact

level 1 xContactorLevel2 BOOL Contactor monitoring via auxiliary contact

level 2 xSpeedLevel1 BOOL Speed level 1 in automatic mode xSpeedLevel2 BOOL Speed level 2 in automatic mode tSwitchOverTime TIME „Idle time“ of the fan, when switching

from level 2 to level 1. Default setting = t#2s

xManualOperation BOOL Enable manual operation xManualLevel1 BOOL Fan level 1 in manual mode xManualLevel2 BOOL Fan level 2 in manual mode xRepairSwitch BOOL Repair switch

Default setting = TRUE xMotorProtection BOOL Motor protection switch

Default setting = TRUE xV_Belt BOOL V-belt monitoring of the fan

Default setting = TRUE tPressureVariation TIME Error message delay time during

pressure fluctuations Default setting = t#5s

xQuit BOOL Error message acknowledgement Return value: Data type: Comments: xLevel1 BOOL Level 1 of the fan xLevel2 BOOL Level 2 of the fan bLevel BYTE Indication of the current fan level xErrorFan BOOL Error message of the fan

Page 35: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Fan Two Stage (Fb_Fan_2Level)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

35

enumStatus enum

status Status indication of the fan

HVAC_ok System Ok HVAC_repair_switch Repair switch actuated HVAC_motor_protection Motor protection has tripped HVAC_fan_belt V-belt malfunction

Graphical illustration:

Time Referenced Behavior:

Level 2 Level 1 Level 2

tStartUpPeriod tSwitchOverTime

xLevel2

xLevel1

Speed Level Level 1

Page 36: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Fan Two Stage (Fb_Fan_2Level)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 36

Function description:

In order to switch on the fan (supply air and exhaust air fan), “xEnableSystem“ and “xEnableFan“ or “xNightVentilation“ must be TRUE. In addition, the safety chain of the fan must work accurately.

The safety chain consists of the inputs: - “xRepairSwitch“ (repair switch (break contact)), - “xMotorProtection“ (motor protection switch (break contact)) - “xV_Belt“ (runtime monitoring, V-belt monitoring) - “xContactorLevel1“ or “xContactorLevel2“ (monitoring of the contactors)

The fan is controlled via the “xLevel1“ and “xLevel2“ outputs. In order not to access all the fans at the same time, you have the option to delay the start of the fans via the “tOnDelay“ input. This time is possibly required to reduce the starting current if several systems are switched on at the same time.

If there is a malfunction in the safety chain, the fan is switched off and the “xErrorFan” output is activated. A detailed description of the malfunction is provided by the “enumStatus” output.

The V-belt monitoring is only activated after an adjustable startup time “tStartUpPeriod“ which is required by the motor to achieve the rated speed. In order to avoid a false alarm in the case of pressure fluctuations in the duct while the system is running, a response delay can be defined via the “tPressureVariation“ input.

In the automatic mode you can specify the desired fan level via the “xSpeedLevel1“ and “xSpeedLevel2“ inputs. If you select both fan levels, the fan remains in its last valid level.

If level 2 is chosen immediately during fan startup, the fan starts with level 1 and changes to level 2 after the “tStartUpPeriod“ startup time is expired. At the same time, the runtime monitoring is activated. The “bLevel” output indicates the current fan level.

The “tSwitchOverTime“ input specifies the time the fan needs to switch over from speed level 2 to speed level 1. Both outputs,”xLevel1“ and “xLevel2“ are = FALSE.

The “xContactorLevel1“ and “xContactorLevel2“ inputs monitor the correct functioning of the fan contactors. For this purpose the “xLevel1“ and “xLevel2“ outputs are compared with the feedback signals of the contactors. If the switch statuses of the contactors differ from one another for more than one second, there is a contactor malfunction. If you do not want to monitor the fan contactors, then the “xLevel1“ output must be linked with the “xContactorLevel1“ input and the “xLevel2“ output must be linked with the “xContactorLevel2“ input in the program.

Every malfunction must be acknowledged at the “xQuit“ input in order to enable the function block for further operation.

Manual operation:

You can change the automatic mode of the fan to manual mode via the “xManualOperation“ input. In combination with the “xManualLevel1“ and “xManualLevel2“ inputs, the fan level can be selected. The two inputs cannot be controlled both at the same time.

Page 37: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Fan Three Stage (Fb_Fan_3Level)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

37

Fan Three Stage (Fb_Fan_3Level)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_Fan_3Level Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers

Graphical illustration:

Function description:

See function description Fb_Fan_2Level.

Page 38: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Fan FU (Fb_Fan_FC)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 38

Fan FU (Fb_Fan_FC)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_Fan_FC Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: xEnableSystem BOOL Fan control enabled by Fb_StartStop

Default setting = TRUE xNightVentilation BOOL Switch on fan during night ventilation xEnableFan BOOL Switch on fan rSpeedFan REAL Fan speed in automatic mode [%]

Value range: 0 % – 100 % Default setting = 50 %

tOnDelay TIME Delay time of the fan Default setting = t#0s

tStartUpPeriod TIME Startup time of the fan Default setting = t#5s

xContactor BOOL Contactor monitoring via auxiliary contact xRepairSwitch BOOL Repair switch

Default setting = TRUE xMotorProtection BOOL Motor protection switch

Default setting = TRUE xV_Belt BOOL V-belt monitoring of the fan

Default setting = TRUE xErrorFC BOOL Error message of the frequency converter tBypassDelay TIME Bypass contactor delay time during

frequency converter malfunction Default setting = t#5s

xManualOperation BOOL Enable manual operation rManualSpeed REAL Fan speed in manual mode [%]

Value range: 0 % - 100 % Default setting = 50 %

xQuit BOOL Error message acknowledgement

Page 39: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Fan FU (Fb_Fan_FC)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

39

Return value: Data type: Comments: xFC BOOL Switch on frequency converter rY_Fan REAL Speed default setting for the frequency

converter [%] Value range: 0 % - 100 %

wY_Fan WORD Speed default setting for the frequency converter Value range: 0 - 32767

xBypass BOOL Switching signal bypass contactor xErrorFan BOOL Error message of the fan enumStatus enum

status Status indication of the fan

HVAC_ok System Ok HVAC_repair_switch Repair switch actuated HVAC_motor_protection Motor protection has tripped HVAC_fan_belt V-belt malfunction

Graphical illustration:

Page 40: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Fan FU (Fb_Fan_FC)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 40

Function description:

In order to switch on the fan (supply air and exhaust air fan), “xEnableSystem“ and “xEnableFan“ or “xNightVentilation“ must be TRUE. In addition, the safety chain of the fan must work accurately.

The safety chain consists of the inputs: - “xRepairSwitch“ (repair switch (break contact)), - “xMotorProtection“ (motor protection switch (break contact)) - “xV_Belt“ (V-belt monitoring) - “xContactor“ (contactor monitoring)

The frequency converter (FC) is controlled via the “xFC“ output. In order not to access all the fans at the same time, you have the option to delay the start of the fans via the “tOnDelay“ input. If necessary, this delay allows to trigger the fans one after the other.

If there is a malfunction in the safety chain, the fan is switched off and the “xErrorFan” output is activated. A detailed description of the malfunction is provided by the “enumStatus” output.

The V-belt monitoring is only activated after an adjustable startup time “tStartUpPeriod“ which is required by the motor to achieve the rated speed.

The “xContactor“ input monitors the correct functioning of the frequency converter contactor. For this purpose the “xFC“ output is compared with the feedback signal of the contactor. If the switch status of the contactor differs from the “xFC“ output for more than one second, there is a contactor malfunction. If you do not want to monitor the fan contactor, then the “xFC“ output must be linked with the “xContactor“ input in the program.

Every malfunction must be acknowledged at the “xQuit“ input in order to enable the function block for further operation.

In case that the FC fails, a bypass contactor is provided. If the “xErrorFC“ input reports an FC malfunction, the FC is switched off via the input and, if required, via the output by contactors. After the contactor has sent a feedback signal and after the adjustable “tBypassDelay“ delay time, the bypass contactor is switched on via the “xBypass“ output.

If the “xErrorFC“ input is reset, the bypass operation is changed back to FC operation in such a way that the bypass contactor is switched off first and, after the “tBypassDelay“ delay time, the FC contactor is switched on again.

Manual operation: If the “xManualOperation“ is activated, the “xFC“ output is set to TRUE and the “rManualSpeed“ input value is transferred to the “rY_Fan“ output. If the “rManualSpeed“ value = 0, the frequency converter is switched off.

The output value “wY_Fan“ has the same meaning as the “rY_Fan“ output, the output just has standardized values between 0 – 32767.

Page 41: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

PID Controller (Fb_Control_PID)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

41

Control Function Blocks

PID Controller (Fb_Control_PID)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_Control_PID Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: xEnable BOOL Activation of the PID controller

Default setting = TRUE rActualValue REAL Actual value rReferenceValue REAL Reference value rCycleTime REAL Cycle time of the controller [s]

Minimum value = 0.01 [s] Default setting = 0.1 s

rKp REAL Proportional multiplier (P part) Default setting = 10

rTi REAL Reset time (I part) [s] Default setting = 60 s

rTd REAL Rate time (D part) [s] rOutputMin REAL Minimum value of the manipulated variable

(rY) rOutputMax REAL Maximum value of the manipulated

variable (rY) Default setting = 100

Return value: Data type: Comments: rY REAL Manipulated variable of the controller rDifference REAL Deviation of the reference value from the

actual value xMaxLimitReached BOOL Maximum manipulated variable reached xMinLimitReached BOOL Minimum manipulated variable reached

Page 42: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

PID Controller (Fb_Control_PID)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 42

Graphical illustration:

Function description:

The Fb_Control_PID function block is a standard PID controller.

If the “xEnable“ input is activated, the input values “rActualValue“ (actual value) and “rReferenceValue“ (reference value) are used to calculate the manipulated variable “rY“. Signal FALSE at the “xEnable“ input causes the manipulated variable to be set to zero, until the controller is activated again.

The input parameter “rCycleTime“ predefines the cycle time of the controller. The shortest cycle time is 10 ms.

The range of the manipulated variable is limited by the “rOutputMin“ and “rOutputMax“ input parameters.

In the case of a residual error variable, the limitation of the output parameter prevents further integration of the integral action coefficient (anti-wind-up).

The “rDifference“ output notifies the difference between the actual value and the reference value.

The outputs “xMaxLimitReached“ and “xMinLimitReached“ signalize that the manipulated variable is equal to the limit value.

Page 43: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Advanced PID Controller (Fb_Control_PID_Adv)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

43

Advanced PID Controller (Fb_Control_PID_Adv)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_Control_PID_Adv Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: xEnable BOOL Activation of the PID controller

Default setting = TRUE rActualValue REAL Actual value rReferenceValue REAL Reference value rCycleTime REAL Cycle time of the controller [s]

Minimum value = 0.01 [s] Default setting = 0.1 s

rKp REAL Proportional multiplier (P part) Default setting = 10

rTi REAL Reset time (I part) [s] Default setting = 60 s

rTd REAL Rate time (D part) [s] rOutputMin REAL Minimum value of the manipulated

variable (rY) rOutputMax REAL Maximum value of the manipulated

variable (rY) Default setting = 100

xManualOperation BOOL Enable manual operation rManualValue REAL Setting value in manual mode xPresetON BOOL Release start value on activation of the

controller xPresetOFF BOOL Release stop value on deactivation of the

controller rPresetValueON REAL Setting value of the controller when

switched on rPresetValueOFF REAL Setting value of the controller when

switched off xChangeInDirection BOOL Operating direction of the controller

FALSE = heating; TRUE = cooling Return value: Data type: Comments: rY REAL Manipulated variable of the controller rDifference REAL Deviation of the reference value from the

actual value xMaxLimitReached BOOL Maximum manipulated variable reached xMinLimitReached BOOL Minimum manipulated variable reached

Page 44: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Advanced PID Controller (Fb_Control_PID_Adv)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 44

Graphical illustration:

Function description:

The function block Fb_Control_PID_Adv is an add-on to the standard PID controller, comprising of freely configurable start and stop values. Additionally, the function block offers the possibility to change the operating direction of the controller.

If the “xEnable“ input is activated, the input values “rActualValue“ (actual value) and “rReferenceValue“ (reference value) are used to calculate the manipulated variable “rY“.

If the inputs “xManualOperation“ and “xEnable“ are activated, the manipulated variable of the “rManualValue“ input is transferred to the “rY“ output.

The input parameter “rCycleTime“ predefines the cycle time of the controller. The shortest cycle time is 10 ms.

The range of the manipulated variable is limited by the “rOutputMin“ and “rOutputMax“ input parameters. In the case of a residual error variable, the limitation of the output parameter prevents further integration of the integral action coefficient (anti-wind-up).

If the “xPresetON“ input is TRUE, the controller starts with the manipulated variable specified at the “rPresetValueON“ input.

If “xPresetOFF“ is TRUE, the switched-off controller displays the manipulated variable specified at the “rPresetValueOFF“ input. Otherwise, the manipulated variable of the switched-off controller is set to zero.

The “xChangeInDirection“ input allows to change the operating direction of the controller.

The „rDifference“ output notifies the difference between the actual value and the reference value.

The outputs “xMaxLimitReached“ and “xMinLimitReached“ signalize that the manipulated variable is equal to the limit value.

Page 45: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Room Temperature Cascade Controller (Fb_RoomCascade)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

45

Room Temperature Cascade Controller (Fb_RoomCascade)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_RoomCascade Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: xEnableController BOOL Switch on controller

Default setting = TRUE rActualValueRoom REAL Actual value room temperature [°C] rReferenceValueRoom REAL Reference value room temperature [°C]

Default setting = 22 °C rKp REAL Proportional multiplier (P part)

Default setting = 2.5 rTn REAL Reset time of the controller [s]

Default setting = 300 s rOffsetMaxSupplyAir REAL Offset maximum supply air temperature

depending on room temperature [K] Default setting = 6 K

rOffsetMinSupplyAir REAL Offset minimum supply air temperature depending on room temperature [K] Default setting = 4 K

xControlSpeedLevel BOOL Fan speed control Default setting = TRUE

xManualOperation BOOL Enable manual operation rManualValueSupplyAir REAL Reference value in manual mode [°C]

Default setting = 22 °C Return value: Data type: Comments: rReferenceValueSupplyAir REAL Set value supply air temperature [°C] rMinSupplyAir REAL Minimum set value supply air rMaxSupplyAir REAL Maximum set value supply air xSpeedLevel1 BOOL Request fan level 1 xSpeedLevel2 BOOL Request fan level 2

Page 46: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Room Temperature Cascade Controller (Fb_RoomCascade)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 46

Graphical illustration:

Time Referenced Behavior:

Determination of the required fan level during heating:

Set value + Offset

Set value +

Set value

Level 2

Level 1

Enable

Set value supply air

5 min 5 min

0.5 K

t

rKp * 0.2

Page 47: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Room Temperature Cascade Controller (Fb_RoomCascade)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

47

Function description:

The room temperature controller Fb_RoomCascade provides the set value for the supply air temperature controller. Additionally, the controller can optionally determine the required fan level.

If the “xEnableController“ input is activated, the input values “rActualValueRoom“ (actual value) and “rReferenceValueRoom“ (reference value) are used to calculate the set value for the supply air temperature controller “rReferenceValueSupplyAir“. The required control parameters are specified by the inputs “rKp“ and “rTn“.

The range of the manipulated variable is specified by the inputs “rOffsetMinSupplyAir“ and “rOffsetMaxSupplyAir“. It is calculated as follows:

Minimum supply air temperature: “rMinSupplyAir“: = “rReferenceValueRoom“ – “rOffsetMinSupplyAir“

Maximum supply air temperature: “rMaxSupplyAir“ = “rReferenceValueRoom“ + “rOffsetMaxSupplyAir“

This range is also valid when the manual mode is selected.

If the “xManualOperation“ is activated, the current set value at the “rManualValueSupplyAir“ input is transferred to the “rReferenceValueSupplyAir“ output.

Only if the “xControlSpeedLevel“ input is activated, the controller determines the required fan level. The outputs “xSpeedLevel1“ and “xSpeedLevel2“ specify the fan level. At first, the fans run at level 1 as long until the set value of the supply air temperature has reached its maximum value when heating or its minimum value when cooling. Then, after a time delay of 5 minutes, the fan starts to run at the second level. In order to prevent the room temperature from rising due to the double volume flow rate, the set value of the supply air temperature is reduced (heating) or increased (cooling) at the particular switching point.

If, again, the set value falls below or exceeds (cooling) the value that started the second level, while taking into account a switching difference of 0.5 °C, the fans start to run again at level 1 after a time delay of 5 minutes. When switching back to level 1 the set value of the supply air temperature is again reduced or increased accordingly.

Page 48: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Supply Air Sequence Controller (Fb_2SequenceSupplyAir)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 48

Supply Air Sequence Controller (Fb_2SequenceSupplyAir)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_2SequenceSupplyAir Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: xEnableController BOOL Switch on supply air controller

Default setting = TRUE rReferenceValueSupplyAir REAL Reference value supply air [°C]

Default setting = 22 °C rActualValueSupplyAir REAL Actual value supply air [°C] rKp REAL Proportional multiplier (P part)

Default setting = 2 rTn REAL Reset time of the controller [s]

Default setting = 250 s typ2Sequence typ2

Sequence Sequence division of the controller output

rX1_Cooling REAL Min. manipulated variable cooling seq. [%] Default setting = 0 %

rX2_Cooling REAL Max. manipulated variable cooling seq. [%]Default setting = 30 %

rX1_Heating REAL Min. manipulated variable heating seq. [%]Default setting = 40 %

rX2_Heating REAL Max. manipulated variable heating seq.[%]Default setting = 100 %

Return value: Data type: Comments: rY_Cooling REAL Manipulated variable cooling element [%]

0 % – 100 % rY_Heating REAL Manipulated variable heating element [%]

0 % – 100 % wY_Cooling WORD Manipulated variable cooling element

0 – 32767 wY_Heating WORD Manipulated variable heating element

0 – 32767 Graphical illustration:

Page 49: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Supply Air Sequence Controller (Fb_2SequenceSupplyAir)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

49

Sequence division:

Function description:

The controller for the supply air temperature provides two different output sequences. One sequence controls the heating element, the other sequence controls the cooling element.

If the “xEnableController“ input is activated, the input values “rActualValueSupplyAir“ (actual value) and “rReferenceValueSupplyAir” (reference value) are used to determine the manipulated variable for the heating and the cooling element respectively. The required control parameters are specified by the inputs “rKp“ and “rTn“.

The division of the sequences can be configured via “typ2Sequence”. In order to avoid a complex interlock system, you should allow for a neutral zone of about 10 %, for example, between the cooling and the heating sequence.

Depending on the manipulated variable of the controller, either the “rY_Heating” or the “rY_Cooling” output is activated. If the controller is switched off, the outputs “rY_Heating“ and “rY_Cooling“ are set to zero.

The output values “wY_Heating“ and “wY_Cooling“ have the same meaning as the “rY_Heating“ and “rY_Cooling“ outputs, the output just has standardized values between 0 - 32767.

Heating

Cooling

rY_Heating

Y

rY_Cooling

rReferenceValueSupplyAir

rActualValue SupplyAir [°C]

30 %

100 %

40 %

0 %

HeatingCooling

rY(internal) [%]

rY_Cooling [%] rY_Heating [%]

100 %

0 %

P1

30 % 40 % 100 %

P1 = rX1_Cooling (0 %) P2 = rX2_Cooling (30 %) P3 = rX1_Heating (40 %)

P4 = rX2_Heating (100 %) P2 P3

P4

Page 50: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Mixed Air Sequence Controller (Fb_3SequenceMixedAir)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 50

Mixed Air Sequence Controller (Fb_3SequenceMixedAir)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_3SequenceMixedAir Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: xEnableController BOOL Switch on mixed air controller

Default setting = TRUE rReferenceValueSupplyAir REAL Reference value of supply air [°C]

Default setting = 22 °C rActualValueSupplyAir REAL Actual value of supply air [°C] rRecirculationAirTemperature

REAL Actual value of recirculated air [°C]

rOutsideTemperature REAL Actual value of outside temperature [°C] rKp REAL Proportional multiplier (P part)

Default setting = 2 rTn REAL Reset time of the controller [s]

Default setting = 300 s rY_MinFreshAir REAL Minimum manipulated variable mixed air

damper (minimum fresh air) typ3Sequence typ3

Sequence Sequence division of the controller output

rX1_Cooling REAL Min. manipulated variable cooling sequence [%] Default setting = 0 %

rX2_Cooling REAL Max. manipulated variable cooling sequence [%] Default setting = 25 %

rX1_HeatRecovery REAL Min. manipulated variable recirculated air sequence [%] Default setting = 30 %

rX2_HeatRecovery REAL Max. manipulated variable recirculated air sequence [%] Default setting = 55 %

rX1_Heating REAL Min. manipulated variable heating sequence [%] Default setting = 60 %

rX2_Heating REAL Max. manipulated variable heating sequence [%] Default setting = 100 %

Page 51: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Mixed Air Sequence Controller (Fb_3SequenceMixedAir)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

51

Return value: Data type: Comments: rY_Cooling REAL Manipulated variable cooling element [%]

0 % – 100 % rY_FreshAir REAL Manipulated variable mixed air damper [%]

0 % – 100 % (fresh air) rY_Heating REAL Manipulated variable heating element [%]

0 % – 100 % wY_Cooling WORD Manipulated variable cooling element

0 – 32767 wY_FreshAir WORD Manipulated variable mixed air damper

(fresh air) 0 – 32767

wY_Heating WORD Manipulated variable heating element 0 – 32767

Graphical illustration:

Sequence division:

Heating

Cooling

rY_Heating

Y

rY_Cooling

rReferenceValueSupplyAir

rActualValue SupplyAir [°C]

30 %

100 %

60 %

0 %

Recirculated 55 %

25 %

rY_FreshAir

Page 52: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Mixed Air Sequence Controller (Fb_3SequenceMixedAir)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 52

Function description:

The controller for the mixed air temperature provides three output sequences. One sequence controls the heating element, one sequence controls the mixed air damper and one sequence controls the cooling element.

The mixed air control is activated via the “xEnableController“ input. The supply air temperature “rActualValueSupplyAir” is then controlled to the set temperature “rReferenceValueSupplyAir” by a PI controller. The required control parameters are specified by the inputs “rKp“ and “rTn“.

The division of the sequences can be configured via “typ3Sequence”. In order to avoid a complex interlock system, you should allow for a neutral zone of about 5 %, for example, between the sequences.

Depending on the manipulated variable of the controller, either the “rY_Heating” output, the “rY_FreshAir“ output or the “rY_Cooling” output is activated. If the “xEnableController“ input is FALSE, the outputs “rY_Heating“, “rY_FreshAir“ and “rY_Cooling“ are set to zero.

If the controller is activated and the outside temperature “rOutsideTemperature“ is higher than the recirculated air temperature “rRecirculationAirTemperature“, the manipulated variable for the mixed air damper is set to “rY_MinFreshAir“.

The output values “wY_Cooling“, “wY_FreshAir“ and “wY_Heating“ have the same meaning as the “rY_Cooling“, “rY_FreshAir“ and “rY_Heating“ outputs, the output just has standardized values between 0 - 32767.

Heating Cooling

rY(internal)[%]

rY_Cooling [%]rY_FreshAir [%]rY_Heating [%]

100 %

0 %

P1

30 % 60 % 100 %

P1 = rX1_Cooling (0 %)

P2 = rX2_Cooling (25 %) P3 = rX1_HeatRecovery (30 %)

P4 = rX2_HeatRecovery (55 %)

P2

P3 P6

25 %

P4Recirculated

55 %

P5

P5 = rX1_Heating (60 %) P6 = rX2_Heating (100 %)

rOutsideTemperature > rRecirculationAirTemperature

rY_MinFreshAir

Page 53: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Heat Exchanger Sequence Controller (Fb_3SequenceHeatExchanger)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

53

Heat Exchanger Sequence Controller (Fb_3SequenceHeatExchanger)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_3SequenceHeatExchanger Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: xEnableController BOOL Switch on controller

Default setting = TRUE rReferenceValueSupplyAir REAL Reference value of supply air [°C]

Default setting = 22 rActualValueSupplyAir REAL Actual value supply air [°C] rRoomExitAirTemperature REAL Actual value room exhaust air [°C] rOutsideTemperature REAL Actual value outside temperature [°C] rKp REAL Proportional multiplier (P part)

Default setting = 2 rTn REAL Reset time of the controller [s]

Default setting = 300 s typ3Sequence typ3

Sequence Sequence division of the controller output

rX1_Cooling REAL Min. manipulated variable cooling seq. [%] Default setting = 0 %

rX2_Cooling REAL Max. manipulated variable cooling seq. [%]Default setting = 25 %

rX1_HeatRecovery REAL Min. manipulated variable heat exchanger seq. [%] Default setting = 30 %

rX2_HeatRecovery REAL Max. manipulated variable heat exchanger seq. [%] Default setting = 55 %

rX1_Heating REAL Min. manipulated variable heating seq. [%] Default setting = 60 %

rX2_Heating REAL Max. manipulated variable heating seq.[%] Default setting = 100 %

Return value: Data type: Comments: rY_Cooling REAL Manipulated variable cooling element [%]

0 % – 100 % rY_HeatExchanger REAL Manipulated variable mixed air damper [%]

0 % – 100 % (fresh air) rY_Heating REAL Manipulated variable heating element [%]

0 % – 100 % wY_Cooling WORD Manipulated variable cooling element

0 – 32767

Page 54: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Heat Exchanger Sequence Controller (Fb_3SequenceHeatExchanger)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 54

wY_HeatExchanger WORD Manipulated variable mixed air damper

(fresh air) 0 – 32767

wY_Heating WORD Manipulated variable heating element 0 – 32767

Graphical illustration:

Sequence division:

Heating

Cooling

rY_Heating

Y

rY_Cooling

rReferenceValueSupplyAir

rActualValue SupplyAir [°C]

30 %

100 %

60 %

0 %

Heat exchanger55 %

25 %

rY_HeatExchanger

Page 55: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Heat Exchanger Sequence Controller (Fb_3SequenceHeatExchanger)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

55

Function description:

The controller for the heat exchanger provides three different output sequences. One sequence controls the heating element, one sequence controls the heat recovery and one sequence controls the cooling element.

The heat recovery control is activated via the “xEnableController“ input. The supply air temperature “rActualValueSupplyAir” is then controlled to the set temperature “rReferenceValueSupplyAir” by a PI controller. The required control parameters are specified by the inputs “rKp“ and “rTn“.

The division of the sequences can be configured via “typ3Sequence”. In order to avoid a complex interlock system, you should allow for a neutral zone of about 5 %, for example, between the sequences.

Depending on the manipulated variable of the controller, either the “rY_Cooling” output, the “rY_HeatExchanger“ output or the “rY_Heating” output is activated. If the “xEnableController“ input is FALSE, the outputs “rY_Cooling“, “rY_HeatExchanger“ and “rY_Heating“ are set to zero.

If the controller is activated and the outside temperature “rOutsideTemperature“ is higher than the room exhaust air temperature “rRoomExitAirTemperature“, the manipulated variable for the heat recovery is set to 100 %.

The output values “wY_Cooling“, “wY_HeatExchanger“ and “wY_Heating“ have the same meaning as the “rY_Cooling“ , “rY_HeatExchanger“ and “rY_Heating“ outputs, the output just has standardized values between 0 - 32767.

Heating Cooling

rY(internal)[%]

rY_Cooling [%]rY_HeatExchanger [%]

rY_Heating [%]

100 %

0 %

P1

30 % 60 % 100 %

P1 = rX1_Cooling (0 %)

P2 = rX2_Cooling (25 %) P3 = rX1_HeatRecovery (30 %)

P4 = rX2_HeatRecovery (55 %)

P2 P3

P6

25 %

P4

Heat exchanger

55 %

P5

P5 = rX1_Heating (60 %) P6 = rX2_Heating (100 %)

rOutsideTemperature > rRoomExitAirTemperature

Page 56: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Return Temperature Limit Controller (FbReturnTemperatureLimiter)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 56

Return Temperature Limit Controller (FbReturnTemperatureLimiter)

WAGO-I/O-PRO CAA Library Elements Category: Building Automation Name: FbReturnTemperatureLimiter Type: Function Function block X Program Name of library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comment: xEnable BOOL Enable for limit controller

Default setting = TRUE rOutsideTemperature REAL Actual value outside temperature [°C] rReturnTemperature REAL Actual value for return temperature [°C] rMinOutsideTemperature REAL Minimum outside temperature for

maximum return temperature [°C] Default setting = -10

rMaxOutsideTemperature REAL Maximum outside temperature for minimum return temperature [°C] Default setting = 10

rMinReturnTemperature REAL Minimum return temperature at maximum outside temperature [°C] Default setting = 25

rMaxReturnTemperature REAL Maximum return temperature at minimum outside temperature [°C] Default setting = 45

rKp REAL Proportional multiplier (P part) Default setting = 5

rTn REAL Reset time of the controller [s] Default setting = 60

Return value: Data type: Comment: rY_ReturnTemperature REAL Return temperature limiter valve [%]

0 % – 100 % wY_ReturnTemperature REAL Return temperature limiter valve

0 – 32767 rReferenceReturn Temperature

REAL Setpoint value for return temperature limit controller [°C]

Page 57: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

57

Graphical illustration:

Diagram:

Function description:

The return temperature for the heating circuit is limited by the FbReturnTemperatureLimiter module to a defined maximum setpoint. The maximum setpoint is matched dynamically to the outside temperature. If the return temperature reaches an excessive level this module limits the maximum setting for the heating circuit.

The return temperature limiter controller is enabled via the input "xEnable".

The maximum setpoint for "rReferenceReturnTemperature" is determined as a function of the outside temperature "rOutsideTemperature" and indicated at the module output. A four-point characteristic that is defined using the inputs "rMinOutsideTemperature" , "rMaxOutsideTemperature", "rMinReturnTemperature" and "rMaxReturnTemperature" is used to determine the maximum setpoint.

The control parameters for the return temperature limiter controller are defined via the inputs "rKp" and "rTn". The controller calculates the maximum setting "rY_ReturnTemperature" for the heating circuit as a function of the return temperature "rReturnTemperature".

The output value "wY_ReturnTemperature" has the same meaning as the "rY_ReturnTemperature" output, with the output only having standardized values between 0 - 32767, however.

rMaxReturnTemperature

rMinReturnTemperature

rReferenceReturnTemperatur [°C]

rMinOutsideTemperature rMaxOutsideTemperature rOutsideTemperature [°C]

Page 58: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Two-step Controller for DHW Charging (FbTwoStepControlDHW)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 58

Two-step Controller for DHW Charging (FbTwoStepControlDHW)

WAGO-I/O-PRO CAA Library Elements Category: Building Automation Name: FbTwoStepControlDHW Type: Function Function block X Program Name of library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comment: xEnable BOOL Enable duty hot water conditioning

Default setting = TRUE rReferenceDHW Temperature

REAL Setpoint value for duty hot water (DHW) [°C]

rUpperStorageTank Temperature

REAL Upper storage tank temperature sensor [°C]

rLowerStorageTank Temperature

REAL Lower storage tank temperature sensor [°C]

rHysteresis REAL Hysteresis for two-step controller [K] Default setting = 5

xOverride BOOL Overheating protection for heating unit xEnableCoolDown Protection

BOOL Cool-down protection enable Default setting = FALSE

xSupplyTemperature Sensor

BOOL Supply temperature sensor present Default setting = FALSE

rSupplyTemperature REAL Actual value of supply temperature for hot water conditioning [°C]

rMinTemperature FrostProtection

REAL Min. supply temperature or storage tank temperature for frost protection [°C] Default setting = 5

rTempDropPriorityDHW Preparation

REAL Temperature drop for DHW priority Default setting = 15

rTempDiffPrimary SecondarySystem

REAL Temperature difference between supply temperature and setpoint value for DHW charging [K] Default setting = 10

tMaxStartUpSupply Temperature

TIME Maximum time until set supply temperature is reached Default setting = t#30m

xThreeWayValve BOOL 3-way valve present in supply line Default setting = FALSE

xQuitAutomatic BOOL Automatic acknowledgement of supply temperature alarm Default setting = FALSE

xQuit BOOL Acknowledge the supply temperature alarm

Return value: Data type: Comment: xChargingPump BOOL Switching signal for charging pump

Page 59: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Two-step Controller for DHW Charging (FbTwoStepControlDHW)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

59

rValvePosition REAL Valve position [%]

Values: 0 or 100% rReferenceSupply Temperature

REAL Supply temperature reference value for hot water conditioning [°C]

xSupplyTemperatureAlarm BOOL Supply temperature alarm for hot water conditioning

xPriorityDHWPreparation BOOL Hot water priority request active xCoolDownProtection BOOL Cool-down protection active xFrostProtection BOOL Frost protection function active Graphical illustration:

Diagram:

Function description:

The FbTwoStepControlDHW two-step controller regulates the duty hot water temperature in the storage tank using two storage tank temperature sensors - one at the top and one at the bottom of the tank. When a supply temperature is applied, this module also aids in protecting the hot water storage tank against forced cool-down.

Page 60: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Two-step Controller for DHW Charging (FbTwoStepControlDHW)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 60

Duty hot water preparation (DHW preparation) is enabled via the input "xEnable".

The reference supply temperature "rReferenceSupplyTemperature" is greater than the DHW setpoint "rReferenceDHWTemperature" by a factor of "rTempDiffPrimarySecondarySystem", thus ensuring adequate heat transfer.

Cool-down protection is enabled via the "xEnableCoolDownProtection" input. A supply temperature sensor "xSupplyTempertureSensor" is required to protected the hot water storage tank against forced cooling.

In this case, duty hot water conditioning is not enabled until the supply temperature "rSupplyTemperature" is greater than the upper storage tank temperature "rUpperStorageTankTemperature". Protection against forced cooling is indicated at the output "xCoolDownProtection" until the supply temperature reaches the defined reference value.

If the supply temperature "rSupplyTemperature" does not achieve the required temperature within the define time period "tMaxStartUpSupplyTemperature", an alarm is issued via the output "xSupplyTemperatureAlarm".

This alarm can be canceled using "xQuit". The alarm is also reset automatically when the supply temperature reaches its defined setpoint. The input "xQuitAutomatic" must be TRUE for this to occur.

The "rValvePosition" valve is opened and the "xChargingPump" pump enabled when DHW conditioning is enabled and the upper storage tank temperature "rUpperStorageTankTemperature" is below the reference value "rReferenceDHWTemperature", minus the "rHysteresis" hysteresis value.

The valve is closed and pump enable canceled when the upper storage tank temperature "rUpperStorageTankTemperature" and the lower storage tank temperature "rLowerStorageTankTemperature" is greater than the "rReferenceDHWTemperature" setpoint.

Forced charging of the storage tank takes place when the storage tank temperature "rUpperStorageTankTemperature" or the supply temperature "rSupplyTemperature" falls below the "rMinTemperatureFrostProtection" limit. Forced charging of the storage tank is indicated via the "rFrostProtection" output.

The charging pump is enabled regardless of the valve position when the input "xThreeWayValve" is TRUE.

If there is a risk of overheating of the heating units, the two-step controller can be enabled via the "xOverride" input, regardless of the setting at the "xEnable" input.

Note: • Supply to the sensor can be blocked off when the valve is closed and the

pump is shut down, depending on where the supply temperature sensor is installed. In this case the cool-down protection function must be deactivated.

• If a full-way valve is used in place of a 3-way valve, the charging pump will not be switched on as long as the full-way valve is closed.

• When a 3-way valve is installed, a shorter overtravel time should be selected for the charging pump, as the hot water is routed directly into the return line and this could, under some circumstances, result in the return temperature being increased excessively.

• If only the upper storage tank temperature sensor is present the measured value must be linked both to the input for the upper and for the lower storage tank temperature sensor.

Page 61: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Pump Heating Element (Fb_PumpHeatingRegister)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

61

Pump Control

Pump Heating Element (Fb_PumpHeatingRegister)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_PumpHeatingRegister Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: rY_Valve_H REAL Manipulated variable of Fb_AntifreezeAir rY_Min REAL Minimum manipulated variable to switch

on the pump [%] Value range: 3 % – 100 % Default setting = 3 %

tOffDelay TIME Turn-off delay of the pump Default setting = t#15m

xPumpWinter BOOL Enable freeze protection rOutsideTemperature REAL Actual value outside temperature [°C] rMinOutsideTemperature REAL Minimum outside temperature for freeze

protection [°C] Default setting = 2 °C

xFrostAlarmAir BOOL Frost alarm from Fb_AntifreezeAir xFrostAlarmWater BOOL Frost alarm from Fb_AntifreezeWater xRepairSwitch BOOL Repair switch pump

Default setting = TRUE xMotorProtection BOOL Motor protection switch pump

Default setting = TRUE xManualOperation BOOL Enable manual operation xManualSwitch BOOL Switch on pump manually xBlockingProtection BOOL Enable blocking protection

Default setting = TRUE tPumpMaxOFF TIME Maximum turn-off time of the pump when

blocking protection is enabled Default setting = t#48h

tPumpON TIME Turn-on time of the pump when blocking protection is enabled Default setting = t#60s

xQuit BOOL Error message acknowledgement Return value: Data type: Comments: xPump BOOL Switching signal for the pump xErrorPump BOOL Error message pump

Page 62: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Pump Heating Element (Fb_PumpHeatingRegister)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 62

Graphical illustration:

Function description:

This function block serves to switch on the pump depending on the demand.

The “xPump“ output is activated if “rY_Valve_H“ is greater than “rY_Min“. If the value falls below the limiting value “rY_Min“ the pump is switched off again after an adjustable off delay time “tOffDelay“.

The pump is started again independently if the system is switched off if the “xPumpWinter“ input is TRUE and if the outside temperature “rOutsideTemperature“ falls below a critical value “rMinOutsideTemperature“. At an outside temperature greater than “rMinOutsideTemperature“ the pump is switched off again.

At “xFrostAlarmAir“ or “xFrostAlarmWater“ the pump is switched on, even if the system is switched off. The preheater valve is opened 100 % by Fb_AntifreezeAir.

In order to avoid pump blocking during long downtime, the pump can be put into operation at least once within a certain period of time. For this purpose it is necessary to activate the blocking protection “xBlockingProtection“.

The activation of the blocking protection can also be done by a clock, so that during an activated blocking protection and a simultaneous pump malfunction the alarm is only activated during a certain period of time.

The blocking protection makes sure that the pump is not switched off longer than the specified monitoring time “tPumpMaxOFF“. After this time, the pump is switched on for the “tPumpON“ time.

If there is a pump error message at the input “xMotorProtection" or “xRepairSwitch“, the pump is switched off and the “xErrorPump“ output is set to TRUE. The error message must be acknowledged via a positive edge at the “xQuit“ input.

You can change the automatic mode of the pump to manual mode via the “xManualOperation“ input. In combination with the “xManualSwitch“ input, the pump can now be switched on or off.

Page 63: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Pump Cooling Element (Fb_PumpCoolingRegister)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

63

Pump Cooling Element (Fb_PumpCoolingRegister)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_PumpCoolingRegister Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: rY_Cooling REAL Manipulated variable cooling element [%] rY_Min REAL Minimum manipulated variable to switch

on the pump [%] Value range: 3 % – 100 % Default setting = 3 %

tOffDelay TIME Turn off delay of the pump Default setting = t#15m

xRepairSwitch BOOL Repair switch pump Default setting = TRUE

xMotorProtection BOOL Motor protection switch pump Default setting = TRUE

xManualOperation BOOL Enable manual operation xManualSwitch BOOL Switch on pump manually xBlockingProtection BOOL Enable blocking protection

Default setting = TRUE tPumpMaxOFF TIME Maximum turn-off time of the pump when

blocking protection is enabled Default setting = t#48h

tPumpON TIME Turn-on time of the pump when blocking protection is enabled Default setting = t#60s

xQuit BOOL Error message acknowledgement Return value: Data type: Comments: xPump BOOL Switching signal for the pump xErrorPump BOOL Error message pump

Page 64: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 64

Graphical illustration:

Function description:

This function block serves to switch on the pump depending on the demand.

The “xPump“ output is activated if “rY_Cooling“ is greater than “rY_Min“. If the value falls below the limiting value “rY_Min“ the pump is switched off again after an adjustable off delay time “tOffDelay“.

In order to avoid pump blocking during long downtime, the pump can be put into operation at least once within a certain period of time. For this purpose it is necessary to activate the blocking protection “xBlockingProtection“.

The activation of the blocking protection can also be done by a clock, so that during an activated blocking protection and a simultaneous pump malfunction the alarm is only activated during a certain period of time.

The blocking protection makes sure that the pump is not switched off longer than the specified monitoring time “tPumpMaxOFF“. After this time, the pump is switched on for the “tPumpON“ time.

If there is a pump error message at the input “xMotorProtection" or “xRepairSwitch“, the pump is switched off and the “xErrorPump“ output is set to TRUE. The error message must be acknowledged via a positive edge at the “xQuit“ input.

You can change the automatic mode of the pump to manual mode via the “xManualOperation“ input. In combination with the “xManualSwitch“ input, the pump can now be switched on or off.

Page 65: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Pump and Valve Activation (FbPumpAndValve)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

65

Pump and Valve Activation (FbPumpAndValve)

WAGO-I/O-PRO CAA Library Elements Category: Building Automation Name: FbPumpAndValve Type: Function Function block X Program Name of library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comment: xEnablePump BOOL Pump enable rValvePosition REAL Specified position of valve [%] tOffDelay TIME Turn-off delay of the pump

Default setting = t#15m xPumpWinter BOOL Enable freeze protection

Default setting = FALSE rOutsideTemperature REAL Actual value outside temperature [°C] rMinOutsideTemperature REAL Minimum outside temperature for freeze

protection [°C] Default setting = 5 °C

xChimneySweepFunction REAL Activate chimney sweep function rValveChimneySweep REAL Chimney sweep function valve position [%]

Default setting = 25 tMaxChimneySweep Function

REAL Maximum duration of chimney sweep function Default setting = t#30m

xMaximalThermostat BOOL Monitoring of maximum thermostat Default setting = TRUE

xRepairSwitch BOOL Repair switch pump Default setting = TRUE

xMotorProtection BOOL Motor protection switch pump Default setting = TRUE

xManualOperationPump BOOL Enable for manual operation of pump xManualSwitchPump BOOL Switch on pump manually xManualOperationValve BOOL Enable for manual operation of valve xManualSwitchValve BOOL Manually open the valve xBlockingProtection BOOL Activate blocking protection for pump and

valve Default setting = TRUE

tPumpValveMaxOFF TIME Maximum turn-off time of the pump and valve up to activation of blocking protectionDefault setting = t#48h

tPumpValveON TIME Maintenance run time for pump and valve Default setting = t#60s

Return value: Data type: Comment: xPump BOOL Switching signal for the pump xValve BOOL Switching signal for full-way valves

Page 66: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Pump and Valve Activation (FbPumpAndValve)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 66

rY_Valve REAL Setting for the three-way valve [%]

Value range = 0 – 100 % wY_Valve WORD Setting for the three-way valve

Value range = 0 – 32767 xChimneySweep BOOL Indication of Chimney Sweep function xErrorPump BOOL Error message pump Graphical illustration:

Function description:

FbPumpAndValve is used for activating pumps and valves.

The output for the "xPump" pump is set in normal operation when the "xEnablePump" is TRUE. When the "xEnablePump" input switches to FALSE, the pump continues running for a delayed off time "tOffDelay".

The pump is started again independently if the system is switched off if the „xPumpWinter“ input is TRUE and if the outside temperature „rOutsideTemperature“ falls below a critical value „rMinOutsideTemperature“. The pump is switched off again when the outside temperature becomes greater than "rMinOutsideTemperature".

When the "xChimneySweepFunction" is activated the pump is switched on via the "xPump" output and the "rY_Valve" output is set to the value defined for the "rValveChimneySweep" input. The "xChimneySweep" output is set to TRUE as a check-back signal indicating that the chimney sweep function has been activated.

The Chimney Sweep function is canceled when the "xChimneySweepFunction" input is deactivated, or when the maximum runtime "tMaxChimneySweepFunction" has expired.

Page 67: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Pump and Valve Activation (FbPumpAndValve)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

67

During normal operation the valve position value "rValvePosition" is passed on directly to the "rY_Valve" output. This signal is additionally converted into a Boolean signal "xValve" for full-way valves.

The output value "wY_Valve" has the same meaning as the "rY_Valve" output, except that the output has standardized values between 0 - 32767.

On initiation of the "xMaximalThermostat" maximum thermostat function = FALSE, the pump is switched on immediately and the valve closed.

If there is a pump error message at the input “xMotorProtection" or “xRepairSwitch“, the pump is switched off and the “xErrorPump“ output is set to TRUE.

You can switch the pump from Automatic to Manual via the "xManualOperationPump" input. In combination with the "xManualSwitchPump" input, the pump can then be switched on or off.

You can switch the valve from Automatic to Manual via the "xManualOperationValve" input. In combination with the "xManualSwitchValve" input, the valve can then be opened or closed.

The pump or valve can be put through a maintenance run to prevent them from blocking during extended outage periods. For this purpose it is necessary to activate the blocking protection "xBlockingProtection".

The blocking protection function ensures that the pump and the valve do not remain switched off/closed longer than the specified monitoring period "tPumpValveMaxOFF". On expiration of this time period, the pump and the valve are activated for the maintenance run for the defined time "tPumpValveON".

Page 68: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Heating Characteristic (Fb_HeatingCharacteristics)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 68

Set Value Adjustment

Heating Characteristic (Fb_HeatingCharacteristics)

WAGO-I/O-PRO CAA Library Elements Category: Building Automation Name: Fb_HeatingCharacteristics Type: Function Function block X Program Name of library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comment: rOutsideTemperature REAL Actual value outside temperature [°C] rReferenceValueRoom REAL Room temperature setpoint value [°C]

Default setting = 20 rExtSupplyTemperature REAL External reference value for supply

temperature [°C] rCurve REAL Heat curve gradient curvature (heating unit

exponent) Default setting = 1.33

rGradient REAL Heating curve gradient Default setting = 1.6

rMinSupplyTemperature REAL Minimum reference value for supply temperature [°C] Default setting = 30

rMaxSupplyTemperature REAL Maximum reference value for supply temperature [°C] Default setting = 90

Return value: Data type: Comment: rReferenceSupply Temperature

REAL Reference value for supply temperature [°C]

Graphical illustration:

Page 69: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Heating Characteristic (Fb_HeatingCharacteristics)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

69

Characteristic:

Function description:

The Fb_HeatingCharacteristics curve calculates the reference value for the supply temperature as a function of the outside temperature. The heating characteristic is defined by gradient and curvature.

The gradient "rGradient" denotes the relationship between the outside and supply temperature.

The "rCurve" input defines the curvature of the characteristic to take into account the non-linear thermal output of heating surfaces.

The heating characteristic can be shifted in parallel via the "rReferenceValueRoom" input.

The supply temperature reference value is calculated as a function of the outside temperature function "rOutsideTemperature".

If the calculated reference supply temperature is greater than the external reference supply temperature "rExtSupplyTemperature", the calculated reference supply temperature is signaled at the "rReferenceSupplyTemperature" output.

If the external reference supply temperature is greater than the calculated reference supply temperature, the external reference supply temperature is signaled at the "rReferenceSupplyTemperature" output.

The reference supply temperature is also limited by the inputs "rMinSupplyTemperature" and "rMaxSupplyTemperature".

Typical values for the heating curve gradient are:

Gradient Curvature Radiators 1.6 1.33 In-floor heating 0.8 1.1

Page 70: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Supply Temperature Calculation (FbSupplyTemperatureCalculation)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 70

Supply Temperature Calculation (FbSupplyTemperatureCalculation)

WAGO-I/O-PRO CAA Library Elements Category: Building Automation Name: FbSupplyTemperatureCalculation Type: Function Function block X Program Name of library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comment: xEnable BOOL With a rising edge, the ramp for the

reference supply temperature begins at the actual value for the supply temperature

xComfortMode BOOL Room setpoint for heating curve TRUE = Room setpoint value for Comfort mode FALSE = Room setpoint value for night-time economy mode

rOutsideTemperature REAL Actual value outside temperature [°C] rSupplyTemperature REAL Actual value supply temperature [°C] rRoomComfort Temperature

REAL Room setpoint value for Comfort mode [°C] Default setting = 20

rRoomEconomy Temperature

REAL Room setpoint value for night-time economy mode [°C] Default setting = 14

rCurve REAL Heat curve gradient curvature (heating unit exponent) Default setting = 1.33

rGradient REAL Heating curve gradient Default setting = 1.6

rMinSupplyTemperature REAL Minimum reference supply temperature [°C] Default setting = 30

rMaxSupplyTemperature REAL Maximum reference supply temperature [°C] Default setting = 90

rStepRangeRamp REAL Maximum value change rate per minute [K]Default setting = 1

Return value: Data type: Comment: rReferenceSupply Temperature

REAL Setpoint for supply temperature [°C]

rReferenceValueRoom REAL Current room setpoint for heating curve xRampActive BOOL The ramp is active

Page 71: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Supply Temperature Calculation (FbSupplyTemperatureCalculation)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

71

Graphical illustration:

Characteristic:

Page 72: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 72

Function description:

FbSupplyTemperatureCalculation uses the outside temperature to calculate the reference supply temperature. An additional ramp function has been integrated to prevent overly rapid heating of the piping and the noises associated with this.

The reference room temperature "rReferenceValueRoom" can be switched between the Comfort mode and the Night-time economy mode via the "xComfortMode" input.

In the Comfort mode ("xComfortMode" = TRUE) the reference value from the "rRoomComfortTemperature" input is used as the reference room temperature.

The reference value for the "rRoomEconomyTemperature" input is used as the reference room tempterature for the Night-time economy mode ("xComfortMode" = FALSE).

The heating characteristic is defined by slope and curvature.

The gradient "rGradient" denotes the relationship between the outside and supply temperature.

The "rCurve" input defines the curvature of the characteristic to take into account the non-linear thermal output of heating surfaces.

The heating characteristic can be shifted in parallel using the "rReferenceValueRoom" room reference value.

The reference supply temperature is calculated as a function of outside temperature "rOutsideTemperature" and reference room temperature "rReferenceValueRoom".

The output for the reference supply temperature "rReferenceSupplyTemperature" keeps pace with this as long as the calculated reference temperature, and the change rate, is less than the change rate defined by the "rStepRangeRamp" function.

If the calculated reference supply temperature changes more rapidly than the defined change rate, the "rReferenceSupplyTemperature" output will lag behind the calculated reference supply temperature.

The current supply temperature "rSupplyTemperature" is set as the starting value for the ramp function when there is a positive slope at the "xEnable" input.

The "xRampActive" output indicates whether the ramp function will have an effect on the "rReferenceSupplyTemperature" output.

The reference supply temperature is also limited by the inputs "rMinSupplyTemperature" and "rMaxSupplyTemperature".

Typical values for the heating curve are:

Gradient Curvature Radiators 1.6 1.33 In-floor heating 0.8 1.1

Page 73: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Anti-Legionnaires' Disease Function (FbLegionella)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

73

Anti-Legionnaires' Disease Function (FbLegionella)

WAGO-I/O-PRO CAA Library Elements Category: Building Automation Name: FbLegionella Type: Function Function block X Program Name of library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comment: xManualDHWPreparation BOOL Manual operation of duty hot water

conditioning (DHW) xScheduleDHW Preparation

BOOL Enable for DHW conditioning by timer program

rReferenceTemperature DHW

REAL DHW reference temperature value [°C]

rUpperStorageTank Temperature

REAL Upper storage tank temperature sensor [°C]

rLowerStorageTank Temperature

REAL Lower storage tank temperature sensor [°C]

xEnableAntiLegionella BOOL Enable for anti-Legionnaires' disease function

xScheduleAntiLegionella BOOL Activation of anti-Legionnaires' disease function by timer program

rReferenceTemperature Legionella

REAL Reference value for DHW while anti-Legionnaires' disease function is active [°C] Default setting = 70

tDurationAntiLegionella TIME Duration of anti-Legionnaires' disease function Default setting = t#10m

tMaxStartUpAntiLegionella TIME Maximum time until anti-Legionnaires' disease reference value is reached t#0s = Anti-Legionnaires' disease alarm is inhibited Default setting = t#30m

xQuit BOOL Acknowledgement of the anti-Legionnaires' disease alarm

Return value: Data type: Comment: rReferenceDHW Temperature

REAL DHW reference value for the DHW controller [°C]

xDHWPreparation BOOL Enable for DHW controller xAntiLegionella BOOL Anti-Legionnaires' disease function is

active xLegionellaAlarm BOOL Anti-Legionnaires' disease alarm

Page 74: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Anti-Legionnaires' Disease Function (FbLegionella)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 74

Graphical illustration:

Function description:

The FbLegionella function block protects the hot water conditioning system against Legionnaires' disease bacteria by regularly increasing the hot water temperature. The hot water is heated further for a set time period to a defined anti-Legionnaires's disease reference value to achieve this.

During normal operation, hot water conditioning is activated either via the "xManualDHWPreparation" input (Manual mode), or via the "xScheduleDHWPreparation" input (switching signal from the timer program).

When hot water conditioning is active, DHW conditioning is enabled via the "xDHWPreparation" output and the reference value for DHW conditioning "rReferenceDHWPreparation" accepted at the "rReferenceTemperatureDHW" input.

The anti-Legionnaires' disease function is enabled via the "xEnableAntiLegionella" input.

The anti-Legionnaires' disease function is started on a positive slope at the "xScheduleAntiLegionella" input (switching signal from the timer program). The status of this function is indicated at the "xAntiLegionella" output.

When the anti-Legionnaires' disease function is started, DHW conditioning is enabled via the "xDHWPreparation" output and the elevated reference value for DHW conditioning from the "rReferenceTemperatureLegionella" input is accepted at the "rReferenceDHWPreparation" output.

When the upper storage tank temperature "rUpperStorageTankTemperature" and the lower storage tank temperature "rLowerStorageTankTemperature" reaches a level of the anti-Legionnaires' disease reference value "rReferenceTemperatureLegionella" minus 2.5 K, the anti-Legionnaires' disease function is terminated after a set delay of "tDurationAntiLegionella".

If the upper or lower storage tank temperature does not reach this reference value within the set time period "tMaxStartUpAntiLegionella", an alarm is generated via the "xAntiLegionellaAlarm" output and the anti-Legionnaires' disease function discontinued.

Monitoring of the anti-Legionnaires' disease function can be deactivated by setting the "tMaxStartUpAntiLegionella" input to t#0s.

The alarm can be canceled either by a positive slope at the "xQuit" input, or by restarting the anti-Legionnaires' disease function via the "xScheduleAntiLegionella" input.

Page 75: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Overheating and Condensation Protection (FbHeatOverride)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

75

Overheating and Condensation Protection (FbHeatOverride)

WAGO-I/O-PRO CAA Library Elements Category: Building Automation Name: FbHeatOverride Type: Function Function block X Program Name of library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comment: xEnableOverride BOOL Enable for the heating override function rReferenceTemperature REAL Reference supply temperature [°C] xOverheatingProtection BOOL Enable for overheating protection rTemperatureOverheating REAL Reference supply temperature for

overheating protection [°C] Default setting = 95

xPriorityDHWPreparation BOOL Enables the duty hot water (DHW) priority function (condensation protection)

rMinSupplyTemperature REAL Minimum reference supply temperature [°C] Default setting = 30

tMaxDHWPreparation TIME Maximum time period for DHW priority Default setting = t#60m

xRampPriorityDHW BOOL Optional ramp for reducing the reference supply temperature during the DHW priority function.

rStepRangeRamp REAL Maximum value change rate per minute [K]Default setting = 3

Return value: Data type: Comment: rOverrideTemperature REAL Override reference supply temperature

[°C] xOverride BOOL Override status xRamp BOOL Override ramp is active Graphical illustration:

Page 76: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Overheating and Condensation Protection (FbHeatOverride)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 76

Time Referenced Behavior:

Function description:

The FbHeatOverride function block allows heat to be removed to the downcircuit heating circuits in the event of excessive temperatures at the heating unit. If the duty hot water temperature drops below a set limit, the FbHeatOverride function block permits the reference supply temperature of the heating circuits to be reduced so as to provide the maximum thermal output required for DHW conditioning.

The heat override function is enabled via the "xEnableOverride" input.

The reference temperature is signaled directly at the "rOverrideTemperature" by the "rReferenceTemperature" input as long as the heat override function remains active.

Overheating protection is activated via the "xOverheatingProtection" input. The reference temperature for overheating protection "rTemperatureOverheating" is signaled at the output "rOverrideTemperature" when the overheating protection function is activated.

The DHW priority function is activated via the "xPriorityDHWPreparation" input. The minimum supply temperature "rMinSupplyTemperature" is signaled as the reference temperature for condensation protection at the "rOverrideTemperature" output when the DHW priority function is activated.

The "xOverride" output remains set to TRUE as long as the overheating protection or DHW priority function is active.

At the conclusion of the overheating protection or DHW priority function the reference supply temperature "rOverrideTemperature" is re-adjusted to the normal value via a ramp function at the "rStepRangeRamp" increment per minute.

When the "xRampPriorityDHW" input is set to TRUE, a ramp function is also activated for the DHW priority function to help reduce the supply temperature reference value.

The maximum duration of the DHW priority function can be restricted using the "MaxDHWPreparation" input so that the room conditions are not affected by this function.

The "xRamp" output indicates whether the ramp is active for limiting the reference value change rate.

t

[°C]

rReference Temperature

xOverheating Protection = TRUE

xPriorityDHW Preparation

= TRUE

xPriorityDHW Preparation = FALSE

xOverheating Protection = FALSE

xRampPriorityDHW

Ramp rOverrideTemperature

rMinSupply Temperature

rTemperature Overheating

rOverrideTemperature

Ramp

Page 77: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Summer Compensation (Fu_SummerCompensation)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

77

Summer Compensation (Fu_SummerCompensation)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fu_SummerCompensation Type: Function X Function block Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: rOutsideTemperature REAL Actual value outside temperature [°C] rMinOutsideTemperature REAL Lower limiting temperature [°C]

Default setting = 22 rMaxOutsideTemperature REAL Upper limiting temperature [°C]

Default setting = 32 rMinReferenceValue REAL Minimum reference value for the room

temperature [°C] Default setting = 22

rMaxReferenceValue REAL Maximum reference value for the room temperature [°C] Default setting = 26

Return value: Data type: Comments: Fu_SummerCompensation REAL Reference value room temperature [°C] Graphical illustration:

Page 78: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Summer Compensation (Fu_SummerCompensation)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 78

Characteristic:

Function description:

The summer compensation characteristic describes a linear equation with lower and upper delimitation, which depends on the outside temperature.

It is described by the two inflection pairs “rMinOutsideTemperature“ / “rMinReferenceValue“ “rMaxOutsideTemperature“ / “rMaxReferenceValue“

Depending on the outside temperature “rOutsideTemperature“, the reference value for the room temperature „Fu_SummerCompensation“ is changed.

Between “rMinOutsideTemperature“ and “rMaxOutsideTemperature“ the reference value for the room temperature is changed according to the linear equation.

If the input value “rOutsideTemperature“ is less than the “rMinOutsideTemperature“ value, the reference value for the room temperature is limited to “rMinReferenceValue“.

If the input value “rOutsideTemperature“ is greater than the “rMaxOutsideTemperature“ value, the reference value for the room temperature is limited to “rMaxReferenceValue“.

Note: The default values of the temperature comply with the summer compensation in accordance with VDI 1946.

rMinOutsideTemperature rMaxOutsideTemperature

rMinReferenceValue

rMaxReferenceValue

rOutsideTemperature [°C]

Fu_SummerCompensation [°C]

Page 79: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Winter Fresh Air Adjustment (Fb_MinFreshAirAdjustment)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

79

Winter Fresh Air Adjustment (Fb_MinFreshAirAdjustment)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_MinFreshAirAdjustment Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: rOutsideTemperature REAL Actual value of outside temperature [°C] rMinOutsideTemperature REAL Minimum outside temperature [°C]

Default setting = 0 °C rMaxOutsideTemperature REAL Maximum outside temperature [°C]

Default setting = 26 °C rMinFreshAir REAL Manipulated variable for minimum fresh air

rate [%] Value range: 0 % - 100 % Default setting = 30 %

rReducedMinFreshAir REAL Manipulated variable for winter fresh air rate [%] Value range: 0 % - 100 % Default setting = 15 %

Return value: Data type: Comments: rY_MinFreshAir REAL Manipulated variable minimum fresh air

rate [%] Value range: 0 % - 100 %

Graphical illustration:

Time Referenced Behavior:

rMinOutsideTemperature 0 °C

rMaxOutsideTemperature 26 °C

rY_MinFreshAir

rMinFreshAir

rReducedMinFreshAir

Outside

Page 80: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Winter Fresh Air Adjustment (Fb_MinFreshAirAdjustment)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 80

Function description:

This function block allows to reduce the minimum fresh air rate to 50 % at temperatures under 0 °C or over 26 °C according to DIN 1946 Part 2.

For this the input value “rOutsideTemperature“ is compared to the limiting values “rMinOutsideTemperature“ and “rMaxOutsideTemperature“.

The set value “rMinFreshAir“ is connected through to the output ”rY_MinFreshAir“ if the value “rOutsideTemperature“ is between these two values. If the value is outside of this interval, then the value “rReducedMinFreshAir“ is switched to the output.

Note:

The set values that correspond to the values “rMinFreshAir“ and “rReducedMinFreshAir“ must be determined from the damper characteristic.

Page 81: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

PID Controller Heating/Cooling (Fb_PidHeatingCooling)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

81

Single Room Control

PID Controller Heating/Cooling (Fb_PidHeatingCooling)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_PidHeatingCooling Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: rRoomTemperature REAL Actual value room temperature [°C] rSetpointCorrection REAL Set value correction room temperature [K] xComfortStandby BOOL Operating mode comfort / standby (1 / 0) xNightMode BOOL Polling of operating mode „night“ xFrostHeat BOOL Polling of operating mode „frost / heat

protection“ xDewpoint BOOL Polling of operating mode „dew point

alarm“ rReferenceComfort REAL Basic reference value comfort mode [°C]

Default setting = 21 °C rOffsetStandbyHeating REAL Temperature decrease standby [K]

Default setting = 2 K rOffsetStandbyCooling REAL Temperature increase standby [K]

Default setting = 2 K rOffsetNightHeating REAL Temperature decrease night [K]

Default setting = 4 K rOffsetNightCooling REAL Temperature increase night [K]

Default setting = 4 K rDeadZone REAL Dead zone between heating and cooling[K]

Default setting = 2 K rOffset REAL Measured value compensation for room

temperature input [K] Default setting = 0 K

rKpHeating REAL Proportional multiplier heating Default setting = 10

rTnHeating REAL Reset time Tn heating [s] Default setting = 120 s

rTdHeating REAL Derivative time Td heating [s] Default setting = 0 s

Page 82: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

PID Controller Heating/Cooling (Fb_PidHeatingCooling)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 82

rKpCooling REAL Proportional multiplier cooling

Default setting = 10 rTnCooling REAL Reset time Tn cooling [s]

Default setting = 120 s rTdCooling REAL Derivative time Td cooling [s]

Default setting = 0 s Return value: Data type: Comments: rActualTemperature REAL Output of room temperature [°C] rY_Heating REAL Manipulated variable heating valve

Value range: 0 % – 100 % rY_Cooling REAL Manipulated variable cooling valve

Value range: 0 % – 100 % wY_Heating WORD Manipulated variable heating valve

Value range: 0 – 32767 wY_Cooling WORD Manipulated variable cooling valve

Value range: 0 – 32767 xHeating BOOL Mode heating activated xCooling BOOL Mode cooling activated rSetpointHeating REAL Current set value for heating [°C] rSetpointCooling REAL Current set value for cooling [°C] rComfortHeating REAL Current set value for „comfort heating“ [°C] rComfortCooling REAL Current set value for „comfort cooling“ [°C] rStandbyHeating REAL Current set value for „standby heating“ [°C]rStandbyCooling REAL Current set value for „standby cooling“ [°C]rNightHeating REAL Current set value for „night heating“ [°C] rNightCooling REAL Current set value for „night cooling“ [°C] rSetpointFrost REAL Output of set value for frost protection [°C] rSetpointHeat REAL Output of set value for heat protection [°C] xComfort BOOL Display of operating mode „comfort“ xStandby BOOL Display of operating mode „standby“ xNight BOOL Display of operating mode „night“ xFrost_Heat BOOL Display of operating mode „frost“

Page 83: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

PID Controller Heating/Cooling (Fb_PidHeatingCooling)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

83

Graphical illustration:

Function description:

The function block PID heating / cooling allows an individual room temperature control while taking local influences into account. The function block can be used for heating and cooling.

It compares the measured temperature value “rRoomTemperature“ (actual value) with the desired heating and cooling set values.

As an output quantity, the controller provides two setting signals for heating (“wY_Heating“ / “rY_Heating“) and cooling (“wY_Cooling“ / “rY_Cooling“) respectively of type WORD / REAL.

The two outputs are only distinguishable by their value ranges. The manipulated variable for the outputs of data type WORD is output in the value range 0 – 32767 and the manipulated variable is represented in the value range 0 % - 100 % for data type REAL.

The controller detects four operating modes to each of which is assigned its own set value. The “rReferenceComfort“ set value is used as a basic set value. All other set values refer to the basic set value and provoke each a set value increase or set value decrease by a parameterized value.

The basic set value can be infinitely shifted via the “rSetpointCorrection“ input. The active operating mode (comfort, standby, night, frost protection) is determined via the inputs “xComfortStandby“, “xNightMode“ and “xFrostHeat“.

The currently selected operating mode is visualized via “xComfort“, “xStandby“, “xNight“ and “xFrost_Heat“.

Page 84: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

PID Controller Heating/Cooling (Fb_PidHeatingCooling)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 84

A dead zone “rDeadZone“ has to be parameterized between the operating modes heating and cooling. The selected size of this dead zone must not be too small in order to avoid a permanent change over between heating and cooling.

The room temperature measured and, if applicable, compensated with the “rOffset“ parameter can be displayed via the output object “rActualTemperature“.

If the function module is used for cooling purposes, another “xDewpoint“ input is required. If a dew point alarm is signaled on this input, the cooling / heating system switches off immediately.

The controller is set for heating via the parameters "rKpHeating", "rTnHeating" and "rTdHeating".

The controller is set for cooling via the parameters "rKpCooling", "rTnCooling" and "rTdCooling".

The individual parameters have the following meaning:

• rKp = Proportional multiplier. The proportional multiplier marks the P- part of the controller and indicates how “hard” the controller reacts towards changes in temperature.

• rTn = Reset time. The reset time marks the I-part of the controller.

• rTd = Derivative time. The derivative time marks the D-part of the controller.

The function block has ten monitor outputs for the temperature set values: “rSetpointHeating“, “rSetpointCooling“, “rComfortHeating“, “rComfortCooling“, “rStandbyHeating“, “rStandbyCooling“, “rNightHeating“, “rNightCooling“, “rSetpointFrost“ and “rSetpointHeat“. The current set values of the individual operating modes are put out via these outputs.

The outputs “xHeating“ and “xCooling“ show which mode (heating or cooling) is active. If the manipulated variable for heating and cooling is 0%, then the two outputs “xHeating” and “xCooling” have the signal FALSE.

The switching between heating and cooling takes place automatically (see diagram below). The controller is either in the heating mode or in the cooling mode. The mode that is currently not active is switched to 0%.

Note: The D part is set to zero with most of the room heating controllers because a PI controller has sufficient precision and is easier to set.

Actual

Set value comfort cooling

Set value comfort heating

Controller heating

Controller cooling

Page 85: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

PID Controller Heating/Cooling (Fb_PidHeatingCooling)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

85

Operating mode Set value heating Set value cooling Comfort mode Basic set value 21 °C Basic set value

+dead zone 2 K Standby mode Basic set value

-temperature decrease standby mode

Basic set value + dead zone + temperature increase standby mode

Night mode Basic set value - temperature decrease night mode

Basic set value + dead zone + temperature increase night mode

Frost/heat protection Set value frost protection 7 °C

Set value heat protection 35 °C

Dew point alarm Setting value 0 (heating off) Setting value 0 (cooling off)

Temperature

35 °C

Set valueCooling

Set pointHeating

21 °C 23 °C

25 °C 19 °C

27 °C 17 °C

7 °C Heat Frost

Standby mode

Comfort mode

Night mode

Frost/Heat protection

Dead zone

Operating mode

Page 86: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Two-Step Controller Heating/Cooling (Fb_TwoStepControl)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 86

Two-Step Controller Heating/Cooling (Fb_TwoStepControl)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_TwoStepControl Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: rRoomTemperature REAL Actual value room temperature [°C] rSetpointCorrection REAL Set value correction room temperature [K] xComfortStandby BOOL Operating mode comfort / standby (1 / 0) xNightMode BOOL Polling of operating mode „night“ xFrostHeat BOOL Polling of operating mode „frost / heat

protection“ xDewpoint BOOL Polling of operating mode „dew point

alarm“ rReferenceComfort REAL Basic set value comfort mode [°C]

Default setting = 21 °C rOffsetStandbyHeating REAL Temperature decrease standby [K]

Default setting = 2 K rOffsetStandbyCooling REAL Temperature increase standby [K]

Default setting = 2 K rOffsetNightHeating REAL Temperature decrease night [K]

Default setting = 4 K rOffsetNightCooling REAL Temperature increase night [K]

Default setting = 4 K rHysteresis REAL Deviation from set value [K]

Default setting = 0.3 K rDeadZone REAL Dead zone between heating and cooling[K]

Default setting = 2 K rOffset REAL Measured value compensation for room

temperature input [K] Default setting = 0 K

Return value: Data type: Comments: rActualTemperature REAL Current room temperature [°C] xHeating BOOL Switching signal heating xCooling BOOL Switching signal cooling rComfortHeating REAL Current set value for „comfort heating“ rComfortCooling REAL Current set value for „comfort cooling" rStandbyHeating REAL Current set value for „standby heating“ rStandbyCooling REAL Current set value for „standby cooling“ rNightHeating REAL Current set value for „night heating“ rNightCooling REAL Current set value for „night cooling“ rSetpointFrost REAL Output of set value for frost protection rSetpointHeat REAL Output of set value for heat protection

Page 87: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Two-Step Controller Heating/Cooling (Fb_TwoStepControl)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

87

xComfort BOOL Display of operating mode „comfort“ xStandby BOOL Display of operating mode „standby“ xNight BOOL Display of operating mode „night“ xFrost_Heat BOOL Display of operating mode „frost / heat“ Graphical illustration:

Time Referenced Behavior:

Room temperature

Manipulated variable

Temperature set value

Hysteresis

Page 88: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Two-Step Controller Heating/Cooling (Fb_TwoStepControl)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 88

Function description:

The function block two-step heating / cooling allows an individual room temperature control while taking local influences into account. The function block can be used for heating and cooling.

It compares the measured room temperature “rRoomTemperature“ (actual value) with the desired heating and cooling set values and sends the corresponding switching telegrams for heating “xHeating“ and cooling “xCooling“.

The controller detects four operating modes to each of which is assigned its own set value. The “rReferenceComfort“ set value is used as a basic set value. All other set values refer to the basic set value and provoke each a set value increase or set value decrease by a parameterized value.

The basic set value can be infinitely shifted via the “rSetpointCorrection“ input. The active operating mode (comfort, standby, night, frost protection) is determined via the inputs “xComfortStandby“, “xNightMode“ and “xFrostHeat“.

The currently selected operating mode is visualized via “xComfort“, “xStandby“, “xNight“ and “xFrost_Heat“.

A dead zone “rDeadZone“ has to be parameterized between the operating modes heating and cooling. The selected size of this dead zone must not be too small in order to avoid a permanent change over between heating and cooling.

The room temperature measured and, if applicable, compensated with the “rOffset“ parameter can be displayed via the output object “rActualTemperature“.

The max. deviation in relation to the temperature set value is entered as a default value via parameter “rHysteresis“. A small hysteresis provokes a frequent switching of the valve voltage, but small set value differences. A large hysteresis causes large deviations from the set value, but only leads to occasional switching.

If the function module is used for cooling purposes, another input object is required. The name of this object is “xDewpoint“. If a dew point alarm is signaled on this object, the cooling / heating system switches off immediately.

The function module has eight monitor outputs “rComfortHeating“, “rComfortCooling“, “rStandbyHeating“, “rStandbyCooling“, “rNightHeating“, “rNightCooling“, “rSetpointFrost“ and “rSetpointHeat“. The current set values of the individual operating modes are put out via these outputs.

Page 89: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Two-Step Controller Heating/Cooling (Fb_TwoStepControl)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

89

Operating mode Set value heating Set value cooling

Comfort mode Basic set value 21 °C Basic set value +dead zone (2 K)

Standby mode Basic set value - temperature decrease standby mode

Basic set value + dead zone + temperature increase standby mode

Night mode Basic set value - temperature decrease night mode

Basic set value + dead zone + temperature increase night mode

Frost/heat protection Set value frost protection 7 °C

Set value heat protection 35 °C

Dew point alarm Setting value 0 (heating off) Setting value 0 (cooling off)

Temperature

35 °C

Set valueCooling

Set valueHeating

21 °C 23 °C

25 °C 19 °C

27 °C 17 °C

7 °C Heat Frost

Standby mode

Comfort mode

Night mode

Frost/Heat protection

Dead zone

Operating mode

Page 90: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Enthalpy (Fb_Enthalpy)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 90

Temperature evaluation

Enthalpy (Fb_Enthalpy)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_Enthalpy Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: rTemperature REAL Current temperature [°C]

Value range: -50 °C – 50 °C rRelativeHumidity REAL Relative humidity [%]

Value range: 0 % – 100 % wAthmosphericPressure WORD Atmospheric pressure [hPa]

Value range 0 hPa – 1050 hPa Default value = 1013 hPa

Return value: Data type: Comments: rWaterContent REAL Water content [g/kg]

Value range: 0 g/kg – 100 g/kg rSaturationWater REAL Saturated water content [g/kg]

Value range 0 g/kg – 100 g/kg rDewpointTemperature REAL Dew point temperature [°C]

Value range: -50 °C – 50 °C rEnthalpy REAL Enthalpy [kJ/kg]

Value range: -500 – 500 kJ/kg Graphical illustration:

Page 91: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

91

Function description:

The function block calculates the water content “rWaterContent“, the saturated water content “rSaturationWater“, the dew point temperature “rDewpointTemperature“ and the enthalpy “rEnthalpy“ of air.

In order to calculate these values it is necessary to know the temperature “rTemperature“ and the relative humidity “rRelativeHumidity“.

Another input value is the relative pressure “wAthmosphericPressure“. If the atmospheric pressure is not measured, a constant value can be chosen from the table below.

With temperatures below -15 °C the saturated water content is set to 1g/kg, with temperatures above 45 °C, the value is set to 65.4 g/kg.

With a water content of less than 1 g/kg the dew point temperature is set to -15 °C, with a water content of more than 55.6 g/kg, the value is set to 42 °C.

This function block can be used for example for the damper control outside air and recirculated air depending on enthalpies of the outside and exit air.

Altitude (above sea level) Atmospheric pressure 0 m 1013 hPa 300 m 980 hPa 400 m 966 hPa 600 m 943 hPa 800 m 921 hPa 1000 m 899 hPa 1500 m 842 hPa 2000 m 795 hPa

Page 92: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Averaged Outside Temperature (Fb_AveragedOutsideTemperature)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 92

Averaged Outside Temperature (Fb_AveragedOutsideTemperature)

WAGO-I/O-PRO CAA Library Elements Category: Building Automation Name: Fb_AveragedOutsideTemperature Type: Function Function block X Program Name of library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comment: rOutsideTemperature REAL Actual value outside temperature [°C] dtActualTime DT Actual time xReset BOOL Deleting of all measured values bNumberOfDays BYTE Number of days over which the average is

to be taken Default setting = 3

Input/output parameter: Data type: Comment: rAveragedOutside Temperature

REAL Averaged outside temperature [°C]

Return value: Data type: Comment: rDailyAveragedOutside Temperature

REAL Outside tempeature averaged over one day

xValid BOOL The value for the averaged outside temperature is valid

Graphical illustration:

Page 93: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Averaged Outside Temperature (Fb_AveragedOutsideTemperature)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

93

Function description:

The Fb_AveragedOutsideTemperature function block measures the outside temperature at 7:00 AM, 2:00 PM and 7:00 PM. The average outside temperature is then yielded applying different weighting to the measured values.

The current time is detected via the "dtActualTime" input. The measured outside temperature is accepted by the "rOutsideTemperature" input for calculation of the average outside temperature when the defined time of day is reached.

The number of days over which the outside temperature is to be averaged can be defined at the "bNumberOfDays" input. The input/output variable "rAveragedOutsideTemperature" indicates the outside temperature averaged over the set number of days. The "rDailyAveragedOutside Temperature" output indicates the average outside temperature for the previous day only.

The "xValid" output is TRUE when measured values for at least one day are available.

The measured values can be deleted via the "xReset" input.

Note:

The "rAveragedOutsideTemperature" variable should be declared as RETAIN PERSISTENT.

Page 94: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Damped Outside Temperature (Fb_DampedOutsideTemperature)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 94

Damped Outside Temperature (Fb_DampedOutsideTemperature)

WAGO-I/O-PRO CAA Library Elements Category: Building Automation Name: Fb_DampedOutsideTemperature Type: Function Function block X Program Name of library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comment: xEnable BOOL Activation of averaging rOutsideTemperature REAL Actual value outside temperature [°C] bBuffersize BYTE Number of values to be used for averaging

Default setting = 60 tTimeSlot TIME Time frame for averaging

Default setting = t#60m Return value: Data type: Comment: rDampedOutside Temperature

REAL Damped outside temperature [°C]

Graphical illustration:

Function description:

The Fb_DampedOutsideTemperature function block calculates the damped outside temperature applying an averaging function for the previously measured outside temperatures.

This module is activated via the "xEnable" input.

The measured values used for yielding the damped outside temperature are accepted by the "rOutsideTemperature" input.

The number of measured values and the time frame in which the damped outside temperature is to be yielded are defined via the "bBuffersize" and "tTimeSlot" inputs.

The scanning interval for the damped outside temperature is calculated as follows:

Scanning interval ="tTimeSlot" / "bBuffersize" = 60 min / 60 = 1min

The damped outside temperature is indicated at the "rDampedOutside Temperature" output.

Page 95: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

PWM Output (Fb_PWM)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

95

Additional Functions

PWM Output (Fb_PWM)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_PWM Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: xEnable BOOL Activates the evaluation of the PWM signal rY REAL (Valve) set value from the controller [%]

Value range: 0 % - 100 % tCycleDuration TIME Cycle duration of the pulse width modulation

Default setting = 10 min tMinTurnOnTime TIME Minimum power-on time of the pulsed digital

output Default setting = 60 s

Return value: Data type: Comments: xPWM BOOL Pulse width modulated output signal rY_PWM REAL Display set value

Value range: 0 % – 100 % Graphical illustration:

Time Referenced Behavior:

xPWM

Cycle duration

rY= 70% rY= 60% rY= 50% rY= 30% rY= 40%

1

0

Page 96: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

PWM Output (Fb_PWM)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 96

Function description:

The function block PWM generates a pulse-width modulated output signal from an analog input signal.

After the Fb_PWM is enabled by the signal TRUE at the input "xEnable", a pulse-width modulated signal is calculated from the signal at the input "rY" and output at the output “xPWM“.

The calculated duration of the switching for the output is also dependent on the value at the input “tCycleDuration“. This value determines by which period duration the manipulated variable is to be calculated.

The parameter “tMinTurnOnTime“ determines the shortest activation period for the output “xPWM”. The shortest time should be between 1 % and 50 % of the period duration. If the calculated activation period is less than the minimum activation time, then the signal “xPWM” remains deactivated (FALSE).

If the enabling at the input “xEnable” is interrupted, then the output “xPWM” switches to signal FALSE. After another activation, a new cycle duration starts.

The Fb_PWM works "dynamically“ to achieve quicker response times. The activation period for the digital output signal is calculated continuously. Thus, the switching times are also adjusted during the active periods.

Page 97: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Analog Three Point (Fb_AnalogousThreePoint)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

97

Analog Three Point (Fb_AnalogousThreePoint)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_AnalogousThreePoint Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: rInput REAL Input value [%]

Value range: 0 % - 100 % rHysteresis REAL Hysteresis [%]

Value range: 1 % - 100 % Default setting = 1 %

tMaxRunningTime TIME Max. running time, which the actuator needs for the max. stroke Default setting = t#120s

wCounterMax WORD A reset is executed after this number of setting procedures Default setting = 0

Return value: Data type: Comments: xOpen BOOL Engine coil OPEN xClose BOOL Engine coil CLOSED rY REAL Calculated manipulated variable Graphical illustration:

Page 98: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Analog Three Point (Fb_AnalogousThreePoint)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 98

Function description:

An analog manipulated variable is converted into a three point signal. The actuating drive has the status OFF, ON and CLOSED.

The input value "rInput" is converted into a running time for the control valve.

The engine position is stored within the module and is displayed at the output “rY“.

The variable "rHysteresis" ensures, that the motor does not trigger in the case of small changes of the manipulated input variable.

Depending on the prefix, the drive “xOpen“ or “xClose“ is activated, if the input value differs from the momentary position by the amount “rHysteresis".

The engine position is determined by reading out the timer and is therefore as accurate as the timer value. This is why the function block synchronizes with the actuating drive if the manipulated variable is 0 % or 100 %.

There is also the option to monitor the number of actuations. If the number of actuations exceeds the value at the “wCounterMax“ input, a synchronization is started. This function can be disabled by setting the “wCounterMax“ input to ZERO.

During the synchronization the actuating drive is closed for the time “tMaxRunningTime" and the internal control is restarted. The position is therefore referenced again. A reset (e.g. voltage failure) of the controller also causes the position to be re-referenced.

Important!

The control valve is addressed with signal "CLOSED" resp. “OPEN” under certain conditions, even if the attached control valve is fully closed resp. fully opened. It should be clarified beforehand with the valve manufacturer, whether this status has no negative effect on the valve. We recommend control valves with built-in limit switches.

Page 99: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Impulse Counter (Fb_ImpulseCounter)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

99

Impulse Counter (Fb_ImpulseCounter)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_ImpulseCounter Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comment: xImpulse BOOL Impulse input dwImpulsesPerValue DWORD Counter constant

Value range 1 – 100000 Default setting = 1000

rSmallestPerformance REAL Minimum value for the display of the power at the output "rPower" Value range: 0.001 W – 1 W Default setting = 0.001 W

dwInitCounterValue DWORD Initial value for the output “dwCounterValue“

rInitPostComma REAL Initial value for the output “rPostComma“ Value range: 0.0 – 1.0

xInit BOOL Initialization of the counter (positive edge)

Return value: Data type: Comments: dwCounterValue DWORD Calculated consumption rPostComma REAL Value of the calculated consumption after

the comma rPower REAL Currently needed power Graphical illustration:

Page 100: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 100

Function description:

This function block is used in order to merge consumer meters with impulse interfaces (e.g. electricity, heat or water meters).

It counts the number of impulses at the input "xImpulse" and calculates with the help of the counter constants "dwImpulsesPerValue" the consumption.

A positive edge at the input "xInit" causes the counter base values "dwCounterValue" and "rPostComma" to be initialized with the values "dwInitCounterValue" and "rInitPostComma".

A reset is achieved by setting the start-up values to 0 and giving the input “xInit” a rising edge.

The output values "dwCounterValue" and "rPostComma" are defined as RETAIN variables and are present even after a voltage failure.

Power measurement:

The time between two impulses is measured in order to determine the current power. The power is calculated with the measured time and the counter constant "dwImpulsesPerValue". The parameter "rSmallestPerformance" refers to the physical value to be measured.

Example: You want to determine the power in Watts of a counter with the unit KWh => "Smallest performance" = 0.001 KW. The output of the calculated power at the output "rPower" has the unit W (Watt).

The function block should detect the status, if all consumers attached to the counter are switched off. The max. period between two counting pulses must be known for this. The time is internally calculated in the module and is dependent on the parameters "rSmallestPerformance" and "dwImpulsesPerValue". The performance cannot be calculated and is set to 0 if this period is exceeded.

Example:

A KWh meter has a counter constant of 2000 impulses/KWh

=> 0.5 Wh/impulse => 1800Ws/impulse => max. time amounts to 1800 s, if the power is measured in Watts (parameter "rSmallestPerformance" = 0.001)

Notes: • The calculation of the performance is not exact and regular. The output value for

the performance therefore only gives an approximate overview of the currently needed performance.

• The program cycle time must be smaller than the time between two impulses. A too high pulse frequency leads to false results.

• The function block uses some retain variables internally with the declaration VAR_RETAIN.

Page 101: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Ramp (Fb_Ramp)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

101

Ramp (Fb_Ramp)

WAGO-I/O-PRO CAA Library Elements Category: Building Automation Name: Fb_Ramp Type: Function Function block X Program Name of library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comment: xEnable BOOL Activation of the ramp function rInput REAL Input value for the ramp rStepRangeUp REAL Maximum value change rate (upwards) per

unit of time Default setting = 1

rStepRangeDown REAL Maximum value change rate (downwards) per unit of time Default setting = 1

tTimeBase TIME Unit of time for change rate Default setting = t#1m

Return value: Data type: Comment: rOutput REAL Output value for ramp xActive BOOL The ramp is active Graphical illustration:

Function description:

The Fb_Ramp function block ensures a defined rising or falling rate for a particular setting.

When the "xEnable" input is TRUE, the output signal "rOutput" follows the input signal "rInput" only as long as the rising or falling rate of the input signal is less than the maximum rising or falling rate as defined by "rStepRangeUp" or "rStepRangeDown" and "tTimeBase". If the input signal changes more rapidly than this, the output will lag behind the input signal by the step rate "rStepRangeUp" or "rStepRangeDown" per time base unit "tTimeBase".

When the "xEnable" input is FALSE, the output signal "rOutput" comes directly after the "rInput" input signal.

The "xActive" output indicates whether the ramp is active for a rising or falling rate.

Page 102: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Hysteresis (Fb_Hysteresis)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 102

Hysteresis (Fb_Hysteresis)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fb_Hysteresis Type: Function Function block X Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: rInput REAL Input value rActivate REAL Threshold value at which the output signal

is set to TRUE rDeactivate REAL Threshold value at which the output signal

is set to FALSE Return value: Data type: Comments: xOutput BOOL Output signal Graphical illustration:

Function description:

This function block permits a switching function with adjustable hysteresis.

Two variations are to be considered during the analysis of the input values:

1) rActivate > rDeactivate The output signal “xOutput” is set to TRUE, if the condition “rInput“ ≥ “rActivate“ is fulfilled.

The output signal “xOutput” is set to FALSE, if the condition “rInput“ ≤ “rDeactivate“ is fulfilled.

The output signal does not change as long as the input value moves between the values “rActivate” and “rDeactivate“.

rActivate

xOutput

rDeactivate rInput

Page 103: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Hysteresis (Fb_Hysteresis)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

103

2) rActivate ≤ rDeactivate

The output signal “xOutput” is set to TRUE, if the condition “rInput“ ≤ “rActivate“ is fulfilled.

The output signal “xOutput” is set to FALSE, if the condition “rInput“ ≥ “rDeactivate“ is fulfilled.

The output signal does not change as long as the input value moves between the values “rActivate“ and “rDeactivate“.

rInput rActivate rDeactivate

xOutput

Page 104: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Average Value (Fu_AverageValue)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 104

Average Value (Fu_AverageValue)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fu_AverageValue Type: Function X Function block Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: bNumber BYTE Number of values

Value range: 1 – 6 Default setting = 6

rValue_1 REAL Input value 1 rValue_2 REAL Input value 2 rValue_3 REAL Input value 3 rValue_4 REAL Input value 4 rValue_5 REAL Input value 5 rValue_6 REAL Input value 6 Return value: Data type: Comments: Fu_AverageValue REAL Average value Graphical illustration:

Function description:

The average value is determined from several input values “rValue_1“ – “rValue_6“ and connected through the output of the function.

The value “bNumber“ indicates, how many inputs are analyzed for the calculation of the average value.

Page 105: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Minimum Value (Fu_MinValue)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

105

Minimum Value (Fu_MinValue)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fu_MinValue Type: Function X Function block Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: bNumber BYTE Number of values

Value range: 1 – 6 Default setting = 6

rValue_1 REAL Input value 1 rValue_2 REAL Input value 2 rValue_3 REAL Input value 3 rValue_4 REAL Input value 4 rValue_5 REAL Input value 5 rValue_6 REAL Input value 6 Return value: Data type: Comments: Fu_MinValue REAL Minimum value Graphical illustration:

Function description:

The input values “rValue_1“ – “rValue_6“ are checked and the smallest input value is sent to the output of the function.

The value “bNumber“ indicates, how many inputs are analyzed for the calculation of the minimum value.

Page 106: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Maximum Value (Fu_MaxValue)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 106

Maximum Value (Fu_MaxValue)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fu_MaxValue Type: Function X Function block Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: bNumber BYTE Number of values

Value range: 1 – 6 Default setting = 6

rValue_1 REAL Input value 1 rValue_2 REAL Input value 2 rValue_3 REAL Input value 3 rValue_4 REAL Input value 4 rValue_5 REAL Input value 5 rValue_6 REAL Input value 6 Return value: Data type: Comments: Fu_MaxValue REAL Maximum value Graphical illustration:

Function description:

The input values “rValue_1“ – “rValue_6“ are checked and the largest input value is sent to the output of the function.

The value “bNumber“ indicates, how many inputs are analyzed for the calculation of the maximum value.

Page 107: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

KTY Characteristic (Fu_KTY)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

107

Characteristics

KTY Characteristic (Fu_KTY)

WAGO-I/O-PRO CAA Library Elements Category: Building Automation Name: Fu_KTY Type: Function X Function block Program Name of library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comment: rKTY REAL Resistance level at the KTY sensor [Ω] rKTY25 REAL Resistance level at the KTY sensor at 25

°C [Ω] Default setting = 2000

Return value: Data type: Comment: Fu_KTY REAL Temperature measured by the KTY sensor

[°C] Graphical illustration:

Function description:

The Fu_KTY function calculates the measured temperature based on the resistance value for the KTY sensor.

The measured resistance of the KTY sensor is linked to the "rKTY" input.

On account of the different KTY characteristic curves, the resistance value for 25°C should be determined from the associated characteristic and this defined at the "rKTY25" input.

The measured temperature is signaled at the output of the Fu_KTY function.

Page 108: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Two Point Characteristic (Fu_TwoPoint)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 108

Two Point Characteristic (Fu_TwoPoint)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fu_TwoPoint Type: Function X Function block Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: rInput REAL Input value rX1 REAL x-coordinate of the first value rY1 REAL y-coordinate of the first value rX2 REAL x-coordinate of the second value rY2 REAL y-coordinate of the second value Return value: Data type: Comments: Fu_TwoPoint REAL Output value Graphical illustration:

Characteristic:

Function description:

The function Fu_TwoPoint describes a linear equation which is described by the points (“rX1”, “rY1”) and (“rX2”, “rY2”).

The input value “rInput“ is converted in accordance with the linear equation and output at the Fu_TwoPoint function output.

If “rX1“ and “rY1“ are identical (vertical characteristic), the output is set to zero. If “rY1“ and “rY2“ are identical, the output is set to “rY1“.

Note: The reference points X must always be entered in an ascending order ( rX1 < rX2).

X1 X2

Y2

Y1

Input

Output

Page 109: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Four Point Characteristic (Fu_FourPoint)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

109

Four Point Characteristic (Fu_FourPoint)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Fu_FourPoint Type: Function X Function block Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: rInput REAL Input value rX1 REAL x-coordinate of the first value rY1 REAL y-coordinate of the first value rX2 REAL x-coordinate of the second value rY2 REAL y-coordinate of the second value Return value: Data type: Comments: Fu_FourPoint REAL Output value Graphical illustration:

Characteristic:

Function description:

The function Fu_FourPoint describes a linear equation with lower and upper delimitation. It is described by the two inflection pairs (“rX1”, “rY1”) and (”rX2”, “rY2”).

The output value is limited to the minimum value Y1 or to the maximum value Y2 in the case of input values "rInput" smaller than X1 and larger than X2.. The output value changes according to a the linear equation between these two values.

Note: The reference points X must always be entered in an ascending order ( rX1 < rX2).

X1 X2

Y2

Y1

Input

Output

Page 110: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Scaling the input values 0 to 32767 (AI)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 110

Scaling

Scaling the input values 0 to 32767 (AI)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: AI Type: Function X Function block Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: wAI WORD Measured value of the analog input

module Value range = 0 – 32767

rMin REAL Minimum output value for scaling rMax REAL Maximum output value for scaling Return value: Data type: Comments: AI REAL Scaled output value Graphical illustration:

Function description:

The function AI scales the measured value of the analog input modules (0 – 32767) and converts it into REAL.

The scale value range is defined via the inputs “rMin“ and “rMax“.

Example: Active temperature sensor 0 – 10 V, measuring range –20 °C to 60 °C Measured temperature = 10 °C Measured value of the input module: 16384 (5 V) ,rMin = -20; rMax = 60 Scaled measured value (REAL) = 10

Page 111: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Scaling Of The Temperature Values In C (AI_Temp)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

111

Scaling Of The Temperature Values In °C (AI_Temp)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: AI_Temp Type: Function X Function block Program Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Input parameter: Data type: Comments: iTemp INT Temperature value in tenths of a degree C Return value: Data type: Comments: AI_Temp REAL Scaled temperature [°C] Graphical illustration:

Function description:

The function AI_Temp scales the measured value of the resistance modules (tenth of °C) in degree Celsius (°C) and converts it into REAL.

Example: Measured temperature: 25.5 °C Input value of the resistance module: 255 Scaled measured value (REAL) = 25.5

Page 112: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Button

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 112

Visual Display Elements

Button

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Buttons Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Placeholder: Data type: Comments: Button BOOL Switching signal of the button Text Text Marking of the button Graphical illustration:

Switch

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Switches Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Placeholder: Data type: Comments: Switch BOOL Switching signal of the switch Texts Text Marking of the switch Graphical illustration:

Page 113: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Temperature Sensor

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

113

Temperature Sensor

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: TemperatureSensor Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Placeholder: Data type: Comments: Temperature REAL Temperature value to be displayed Graphical illustration:

Outside Temperature Sensor

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: OutsideTemperature Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Placeholder: Data type: Comments: Temperature REAL Outside temperature to be displayed Graphical illustration:

Page 114: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Frost Monitor

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 114

Frost Monitor

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: FrostMonitor Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Placeholder: Data type: Comments: FrostMonitor BOOL Status indication of the frost monitor Graphical illustration:

Pressure Sensor

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: PressureSensor Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Placeholder: Data type: Comments: Pressure REAL Indication of measured value of

pressure sensor [Pa] Graphical illustration:

Page 115: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Pressure Monitor

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

115

Pressure Monitor

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: PressureMonitor Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Placeholder: Data type: Comments: PressureMonitor BOOL Status indication pressure monitor Graphical illustration:

Signal Lamp

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: SignalLamp Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Placeholder: Data type: Comments: Text Text Marking of the signal lamp SignalLamp BOOL Status indication signal lamp Graphical illustration:

Page 116: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Filter

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 116

Filter

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Filter Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Placeholder: Data type: Comments: Fb_FilterMonitoring Instance from

Fb_FilterMonitoringStatus indication of function block filter monitoring

FilterNumber Number Default filter number Graphical illustration:

Mixed Air Dampers

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: MixedAirDamper or MixedAirDamper1 Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Placeholder: Data type: Comments: Fb_MixedAirDamper Instance from Fb_

MixedAirDamper Position indication of the mixed air dampers

Graphical illustration:

Page 117: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Plate Heat Exchanger

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

117

Plate Heat Exchanger

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: PlateHeatExchanger Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Placeholder: Data type: Comments: Fb_PlateHeatExchanger Instance from Fb_

PlateHeatExchangerPosition indication of the plate heat exchanger dampers

Graphical illustration:

Supply Air / Exhaust Air Damper

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Damper Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Placeholder: Data type: Comments: LimitSwitch BOOL Status indication of the damper

limit switch Fb_Damper Instance from

Fb_Damper Position indication of the damper

Graphical illustration:

Page 118: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Heating element

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 118

Heating element

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: HeatingRegister Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Placeholder: Data type: Comments: Fb_PumpHeatingRegister Instance from

Fb_PumpHeating register

Status indication of the heating element

Fb_AntifreezeWater Instance from Fb_ AntifreezeWater

Indication of the return temperature

Graphical illustration:

Page 119: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Cooling element

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2007 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web: http://www.wago.com

119

Cooling element

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: CoolingRegister Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Placeholder: Data type: Comments: Fb_PumpCoolingRegister Instance from

Fb_PumpCooling register

Status indication of the cooling element

Graphical illustration:

Room

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: Room Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Placeholder: Data type: Comments: Room Text Marking of the room Graphical illustration:

Page 120: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

Supply Air / Exhaust Air Fans (1 – 3 levels)

Subject to design changes WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Phone: +49 (0) 571/887 – 0 E-Mail: [email protected] Copyright © 2009 Hansastr. 27 • D-32423 Minden Fax.: +49 (0) 571/887 – 169 Web:http://www.wago.com 120

Supply Air / Exhaust Air Fans (1 – 3 levels)

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: FanSupplyAir or FanExitAir Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Placeholder: Data type: Comments: Fb_Fan_xLevel Instance from

Fb_Fan_xLevel Status indication of the supply air or exhaust air fan

Graphical illustration:

Supply Air / Exhaust Air Fans Controlled Via Frequency Converter

WAGO-I/O-PRO CAA Library Elements Category: Building technology Name: FanSupplyAirFC or FanExitAirFC Name of the library: Building_HVAC_01.lib Applicable to: All programmable fieldbus controllers Placeholder: Data type: Comments: Fb_Fan_FC Instance from

Fb_Fan_FC Status indication of the supply air or exhaust air fan controlled via frequency converter

Graphical illustration:

Page 121: Library for building automation - WAGO Onlinecatalog · Library for Building Automation Function Block Descriptions for HVAC Functions ... The input signals "xAuto" and "xManual"

WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden Hansastraße 27 • D-32423 Minden Phone: +49 (0) 571/8 87 – 0 Fax: +49 (0) 571/8 87 – 1 69 E-Mail: [email protected] Internet: http://www.wago.com