Introduction

The Tc3_BA2_Common library provides basic data types, constants, and reusable function blocks for building automation applications. It contains global parameters for data type ranges, I/O conversions, time, and ADS functions, as well as enumerations and structures for events, trends, schedules, and calendar functionality. With function blocks for triggers, filters, ramps, arrays, and logging, it provides essential basic functions for developing building automation solutions. The library is used by Tc3_BA2, Tc3_XBA, and Tc3_BACnetRev14 (part of TF8020 TwinCAT 3 BACnet). Tc3_BA2 and Tc3_XBA are part of TF8040 TwinCAT 3 Building Automation.

CAUTION

Be careful with multitasking applications

Any instantiated elements from the PLC library may be used by only one task context. Thus, an instance of a function block must not be used by two programs from different task contexts. The assignment of inputs and outputs is also affected. The user must choose a task context. Exceptions are permitted only if this is explicitly stated in the description of the function block.

Failure to comply may result in serious, undesirable effects on program execution.
For more information, refer to the chapter Multi-task data access synchronization in the PLC.