> For the complete documentation index, see [llms.txt](https://support.powerio.com/hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.powerio.com/hub/codesys-hvac/en/hvac-bacnet2-library/beschreibung.md).

# Description

{% columns %}
{% column width="25%" %}

<figure><img src="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2Fgit-blob-4136a2c4d18e07eb44e7b376a5517f76fdc17a23%2FpowerIO%20Icon%20HVACBACnet2.png?alt=media" alt="" width="100"><figcaption></figcaption></figure>
{% endcolumn %}

{% column width="75%" %}
Simple reading and writing of BACnet data points. Optimized for rapid engineering and use in the CFC editor.

This is a comprehensive library for being able to use CODESYS BACnet2 in a practical way for many data points.
{% endcolumn %}
{% endcolumns %}

***

So that you can get started right away, we offer the library as a download. A license can be purchased via the CODESYS Store. If you need further support, please do not hesitate to contact us.

<a href="https://support.powerio.com/hub/downloads/en/codesys-hvac-downloads/hvac-bacnet-library.md" class="button primary" data-icon="up-right-from-square">Download</a> <a href="https://store.codesys.com/en/hvac-building-process-automation-sl.html" class="button secondary" data-icon="seal">Purchase license</a> <a href="https://www.powerio.com/de/kontakt" class="button secondary" data-icon="question">Get support</a>

{% hint style="info" %}
**Licensing:**

Without purchasing a license (only *Download*) the library runs for **30 minutes as an unrestricted demo version**. For productive use, a Single License (SL) / single-device license is required per controller.\
For instructions on installing licenses, please visit the page [Product Licensing](https://support.powerio.com/hub/codesys-hvac/en/overview/licensing.md).
{% endhint %}

{% hint style="warning" %}
**Note on CODESYS licensing:**\
\
To use the library, you need **in addition** the [CODESYS BACnet SL license](https://store.codesys.com/en/codesys-bacnet-sl.html).
{% endhint %}

### Overview

{% columns %}
{% column width="91.66666666666666%" %}

<figure><img src="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2Fgit-blob-95c082f47d65671af4d6ed578d6b1137bd52fa65%2FClientWriteProperty_ManyInputs_Beispiel_Parameter.png?alt=media" alt=""><figcaption></figcaption></figure>

<p align="center"><em>Parameterize instead of programming. Preconfigured parameter settings for the simple and fast connection of BACnet objects.</em></p>
{% endcolumn %}

{% column width="8.333333333333343%" %}

{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}

<figure><img src="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2Fgit-blob-04c65402571431e1ae3ca629ac9b797c1959f557%2FClientWriteProperty_ManyInputs_Beispiel_CFC.png?alt=media" alt=""><figcaption></figcaption></figure>

<p align="center"><em>Clear and simple structure of the function blocks, for optimized engineering of many data points.</em></p>
{% endcolumn %}

{% column %}

<figure><img src="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2Fgit-blob-a6d5a94257aaabc17ec1a256f42ae0683afb8e95%2FScreenshot%202025-11-18%20at%2015.15.58.png?alt=media" alt=""><figcaption></figcaption></figure>

<p align="center"><em>The BACnet2 stack from CODESYS is also used</em></p>
{% endcolumn %}
{% endcolumns %}

***

### Description

This library makes working with many up to several thousand BACnet objects in CODESYS practical and clear. In large BACnet projects, the device tree quickly becomes confusing, and working solely through the device tree and standard objects is time-consuming and error-prone. That is exactly where HVACBACnet2 comes in.

Instead of configuring each object in the device tree, BACnet data points can be mapped in a structured way in the CFC editor. The library provides clearly structured function blocks for this purpose, with which read and write access to BACnet/IP can be implemented efficiently.

{% hint style="info" %}
**Info:**\
\
HVACBACnet2 uses the existing CODESYS BACnet2 stack and supplements it with practical function blocks for diagnostics, client, and server functionality.\
\
This retains the standard BACnet configuration via Ethernet, BACnet IP Datalink, and BACnet Server, while the actual object logic is implemented in the CFC editor.
{% endhint %}

### Details

| **Documentation Version**      | <code class="expression">space.vars.HVACKNX\_Library\_latest</code>                                                                                                                                                          |
| ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Placeholder**                | `HVACBACnet2`                                                                                                                                                                                                                |
| **Available in CODESYS Store** | *Yes*                                                                                                                                                                                                                        |
| **Programming system**         | *CODESYS V3.5.17.2 or higher*                                                                                                                                                                                                |
| **Runtime system**             | *CODESYS Control V4.10.0.0 or higher*                                                                                                                                                                                        |
| **Licensing**                  | <p><em>Single License (single-device license)</em><br><em>+</em><br><em>CODESYS BACnet License</em></p>                                                                                                                      |
| **License**                    | <p><a href="https://store.codesys.com/de/hvac-building-process-automation-sl.html">HVAC Building Automation Package SL</a></p><p>+<br><a href="https://store.codesys.com/de/codesys-bacnet-sl.html">CODSYS BACnet SL</a></p> |

***


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://support.powerio.com/hub/codesys-hvac/en/hvac-bacnet2-library/beschreibung.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
