TwinCAT BA PLC Templates

Introduction

The TwinCAT BA PLC templates consist of ready-to-use TwinCAT program blocks for sensors and actuators, for complete modules and for system parts or complete systems for heating, ventilation and air conditioning and room automation. As opposed to a regular PLC library, TwinCAT BA PLC templates are imported as program blocks into the PLC programs. The system integrator can carry out any necessary adaptations himself. In addition, it is possible to create user-defined TwinCAT BA PLC templates. No special tools are required.

General

Name

Description

BAC_Gen_01

Call template providing the basic function of a BACnet controller.

BAC_GenAlm_01

Collection of all alarms of a controller

BAC_GenComnMsg_01

Collection of all event messages of a controller

BAC_GenDvc_01

Template that instantiates the BACnet device. For a BACnet plant this template is imperative; it only has to be positioned once.

BAC_GenNC_01

The template provides eight BACnet message classes (notification class) for transferring object-integrated messages (intrinsic reporting) .

BAC_GenSys_01

Template system functions, e.g. flash sequence for fault indications or provision of the system time.

BAC_GenWthT_01

Outside temperature and averaged outside temperature

Plant call templates

Name

Description

BAC_AC_Identification_System_Plant_Key

Identification system for HVAC plant templates

BAC_AC_SE_3_4_1_1_1_0

Call template ventilation systems with supply air fan and exhaust air fan and thermal air treatment: exhaust/supply cascade single - fan pressure - preheater - cooler - ERG plate

BAC_AC_SE_4_4_1_1_0_1

Call template ventilation systems with supply air fan and exhaust air fan and thermal air treatment: exhaust/supply air cascade - fan pressure - preheater - cooler - mixed air

BAC_AC_SE_4_4_1_1_3_0

Call template ventilation systems with supply air fan and exhaust air fan and thermal air treatment: exhaust/supply cascade - fan pressure - preheater - cooler - ERG rotation

BAC_AC_Sx_001

Basic system program for ventilation systems with thermal air treatment

Basic system programs

Name

Description

BAC_PltAlm_01

Collection and acknowledgement of all alarms of a plant

BAC_PltComnMsg_01

Collection of all event messages of a plant

Heating

Unit

Name

Description

Heating circuit

BAC_H_HtgCir_01

Call template of an atmospheric temperature controlled heating circuit

BAC_H_HtgCirSp_01

The template is an atmospheric temperature controlled heating circuit control. It is comprised of a heating curve, a heating limit switch and the operating modes Frost / Night / Day / Auto with the associated setpoint.

Hot water

BAC_DHW_01

Call template control and charging of a hot water tank

BAC_DHW_Ctrl_01

The template controls the charging of a hot water tank.

BAC_HW_LglPrev_01

The template provides a protective function for preventing the formation of legionella in the hot water.

Air conditioning system

Unit

Name

Description

Humidification

BAC_AC_Humf_01

Call template for controlling a steam humidifier

BAC_AC_Humf_PID_01

Sequence controller humidification

BAC_AC_SteamGenerator_01_xx

Steam generator

Fire dampers

BAC_AC_FireDmp_01_xx

Call template control and monitoring of a motorized fire damper with binary switching output

Energy recovery

BAC_AC_ErcPl_01

Call template for controlling a plate heat exchanger

BAC_AC_ErcPl_02

Call template for controlling a plate heat exchanger with bypass damper

BAC_AC_ErcRecup_01

Call template for controlling a run-around-coil system

BAC_AC_ErcRot_01

Call template for controlling a rotary heat exchanger with bypass damper

BAC_AC_ErcRot_02

Call template for controlling a rotary heat exchanger

BAC_AC_ErcT_PID_01

Sequence controller energy recovery temperature

BAC_ErcIcPrt_01

The template is used to protect the energy recovery units from icing up via a differential pressure switch

BAC_ErcIcPrt_02

The template is used to protect the energy recovery units from icing up via a differential pressure sensor

Filter

BAC_AC_Filter_01

The template realizes filter monitoring within an air conditioning plant via a differential pressure switch.

Dampers

BAC_AC_ExhADmp2P_01_xx

Call template for control and monitoring of an exhaust air damper with spring return actuator and end position monitor

BAC_AC_OuADmp2P_01_xx

Call template for control and monitoring of an outside air damper with spring return actuator and end position monitor

Cooler

BAC_AC_ColT_01

Call template of a temperature controlled cold-water air cooler (valve, pump)

BAC_AC_ColT_02

Call template of a temperature controlled cold-water air cooler (valve)

BAC_AC_ColT_PID_01

Sequence controller for cooler, temperature

BAC_AC_ColTH_01

Call template of a temperature and humidity controlled cold-water air cooler with valve and pump

BAC_AC_ColTH_02

Call template for a temperature and humidity-controlled cold-water air cooler with valve

BAC_AC_ColH_PID_01

Sequence controller for a cooler, dehumidification

Mixed air

BAC_AC_MixAT_01

Call template mixed air dampers temperature-controlled for controlling three analog dampers

BAC_AC_MixAT_PID_01

Sequence controller for mixed-air damper control

Reheater

BAC_AC_ReHtr_01

Call template for a reheater

BAC_AC_ReHtr_PID_01

Sequence controller reheater

Fans

BAC_AC_ExtAFan_FC_01

Call template with integrated pressure regulator for a speed-controlled exhaust air fan

BAC_AC_ExtAFan1st_01

Call template for a single-stage exhaust air fan

BAC_AC_SuAFan_FC_01

Call template with integrated pressure regulator for a speed-controlled supply air fan

BAC_AC_SuAFan1st_01

Call template for a single-stage supply air fan

BAC_DiffPrssMonit_01

Differential pressure monitoring via a differential pressure monitor

BAC_DiffPrssMonit_02

Differential pressure monitoring via a differential pressure sensor

Preheater

BAC_AC_PreHtr_01

Call template for a hot water air heater

BAC_AC_PreHtr_PID_01

Sequence controller preheater

BAC_AC_RetWtrCtrl_01

Call template for return temperature control of a preheater

BAC_FrstPrt_01

Frost protection monitoring of preheater

Volume flow controller

BAC_AC_VAV_01_xx

Call template control of a volume flow controller via analog output

Setpoint

Description

BAC_AC_CasCtrlH_01

Cascade controller for supply air humidity, consisting of a master controller for calculating the setpoints for humidification and dehumidification

BAC_AC_CasCtrlH_02

Cascade controller for supply air humidity, consisting of two master controllers for room or exhaust air/supply air cascade humidity control.

BAC_AC_CasCtrlT_01

Cascade controller for supply air temperature, consisting of a master controller for setpoint calculation for heating, cooling and recovery

BAC_AC_CasCtrlT_02

Cascade controller for supply air temperature, consisting of two master controllers for setpoint calculation for heating, cooling and recovery

BAC_AC_SpRmTH_01

Setpoint program for an exhaust air/supply air cascade, each with a setpoint for relative and absolute humidity and a room temperature setpoint, including summer and winter compensation

BAC_AC_SpRmTH_02

Setpoint program for an exhaust air/supply air cascade with two setpoints for relative and absolute humidity and a room temperature setpoint, including summer and winter compensation

BAC_AC_SpRmTH_03

Setpoint program for an exhaust air/supply air cascade, each with a setpoint for relative and absolute humidity and two room temperature setpoints, including summer and winter compensation

BAC_AC_SpRmTH_04

Setpoint program for an exhaust air/supply air cascade, each with two setpoints for relative and absolute humidity and two room temperature setpoints, including summer and winter compensation

BAC_AC_SpRmT_01

Setpoint program for an exhaust air/supply air cascade with only one room temperature setpoint, including summer and winter compensation

BAC_AC_SpRmT_02

Setpoint program for an exhaust air/supply air cascade with a separate room temperature setpoint for heating and cooling mode, including summer and winter compensation

BAC_AC_SpSuAT_01

Setpoint program for supply air temperature control with a supply air temperature setpoint, including summer/winter compensation via a characteristic curve.

BAC_AC_SpSuAT_02

Setpoint program for supply air temperature control with separate supply air setpoints for heating, cooling and energy recovery, including two separate characteristic setpoint curves with summer and winter compensation

General

Description

BAC_AC_OpMod_01

Operation mode of a ventilation system

BAC_AC_SeqH_01

Starting and controlling the supply air sequence control humidity of an air-conditioning plant

BAC_AC_SeqT_01

Starting and controlling the supply air sequence control temperature of an air-conditioning plant

BAC_AC_StartT_01

Step-by-step startup of an air-conditioning plant without humidification/dehumidification.

BAC_AC_StartTH_01

Step-by-step startup of an air-conditioning plant with humidification/dehumidification.

BAC_AC_SumNgtCol_01

Summer night cooling

Universal

 

Name

Description

Frequency converter

BAC_Uni_FC_01_xx

Control of a frequency converter

Damper

BAC_Uni_Dmp_01_xx

Control of an analog damper drive

BAC_Uni_Dmp2P_01_xx

Control of a two-point damper

Motor

BAC_Uni_Mot1st_01_xx

Control of a single-stage motor

Pump

BAC_Uni_Pu1st_01_xx

Control of a single-stage pump

Smoke detector

BAC_Uni_SmokeDetc_001

Control and monitoring of a duct smoke detector

Control

BAC_Cont4Stp_01

Step switch with 4 stages for controlling multi-stage units

BAC_HX_01

Calculation of dew point temperature, enthalpy, wet bulb temperature and absolute humidity

BAC_Hys_01

Hysteresis function with fixed switching points

BAC_Hys_02

Hysteresis function with dynamic switching points

BAC_PID_01

Universal PID controller

BAC_PID_02

Universal PID controller

BAC_PID_03

Universal PID controller without referencing objects

BAC_Ramp_01

Falling ramp limitation

BAC_Ramp_02

Rising ramp limitation

BAC_Scale_02

Linear interpolation with 2 interpolation points

BAC_Scale_04

Linear interpolation with 4 interpolation points

BAC_Scale_07

Linear interpolation with 7 interpolation points

Valve

BAC_Uni_Vlv_01_xx

Control of an analog control valve

BAC_Uni_Vlv3P_01_xx

Control of a three-point valve

BACnet objects

Name

Description

BAC_AI_01

Analog input object with alarm logging

BAC_AI_02

Analog input object

BAC_AI_Enthalpy_01

The template logs the two analog input values temperature and relative humidity. The function block HX is used to calculate the dew point temperature, the specific enthalpy, the wet bulb temperature and the absolute humidity.

BAC_AO_01

Analog output object with manual intervention via a digital input LocSwi and a trend object

BAC_AO_02

Analog output object

BAC_AO_03

Analog output object with manual intervention via a digital input LocSwi

BAC_AV_01

Analog value object with prioritization of a REAL process value

BAC_AV_02

Analog value object for input of a setpoint or parameter

BAC_AV_03

Analog value object with prioritization of a REAL process value with trend object

BAC_AV_04

Analog value object for input of a setpoint or parameter with trend object

BAC_BI_01

Binary input object with alarm logging

BAC_BI_02

Binary input object

BAC_BI_CMD_01

Binary input object with alarm recording and group order object for writing to specified properties of other objects

BAC_BO_01

Binary output object with prioritization of the switch value and manual intervention via a digital input LocSwi

BAC_BO_02

Binary output object with prioritization of the switching value

BAC_BV_01

Binary value object with prioritization of the process value

BAC_BV_02

Binary value object for input of a setpoint or parameter

BAC_CMD_01

Group order object

BAC_MV_01

Multistate value object with simple prioritization

BAC_MV_02

Multistate value object for operating and monitoring of a process value

BAC_SchedBinPV_01

The template includes a BACnet scheduler of type binary present value. In addition, the template contains the function "Pre-calculating switch-on/switch-off time"

BAC_SchedB_01

The template contains a BACnet scheduler of output type BOOL

BAC_SchedR_01

The template contains a BACnet scheduler of output type REAL

BAC_SchedUdi_01

The template contains a BACnet scheduler of output type UDINT

BAC_TL_01

Trendlog memory object

IO templates

Name

Description

P_KL1501

I/O template for parameterization of a KL1501: 1-channel up-down counter.

P_KL27x1

I/O template for parameterization of a KL2751 / KL2761: 1-channel dimmer terminal.

P_KL320x

I/O template for parameterization of a KL3201 or KL3202: input terminal for resistance sensors.

P_KL3204

I/O template for parameterization of a KL3204: 4-channel input terminal for resistance sensors.

P_KL3208

I/O template for parameterization of a KL3208-0010: 8-channel input terminal for resistance sensors.

P_KL3228

I/O template for parameterization of a KL3228: 8-channel input terminal for resistance sensors.

P_KL8519

I/O template for parameterization of a KL8519: 16-channel digital input signal module.

P_KL8524

I/O template for parameterization of a KL8524: 4 x 2-channel digital output module.

P_KL8528

I/O template for parameterization of a KL8528: 8-channel digital output module.

P_KL8548

I/O template for parameterization of a KL8548: 8-channel analog output module 0...10 V.