> 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="/files/06d0992cce1a56fc307ee6a0e6352ad395cfd7c2" 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 an extensive library to make CODESYS BACnet2 practical for many data points.
{% endcolumn %}
{% endcolumns %}

***

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

<a href="/spaces/ltcbXgy6Y2teLoU01eGk/pages/7fc551f5bc1cc362830d98b86d7a01290094495b" 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 purchase of a license (only *Download*) the library runs for **30 minutes as an unrestricted trial 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](/hub/codesys-hvac/en/overview/licensing.md).
{% endhint %}

{% hint style="warning" %}
**Note on CODESYS licensing:**\
\
To be able 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="/files/3de93d6d5f6fbd352579cae60b819f6b2ebfea04" alt=""><figcaption></figcaption></figure>

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

{% column width="8.333333333333343%" %}

{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}

<figure><img src="/files/6ca54c7d6477d7067cbd129c7b83dba08284243a" 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="/files/df0d0f2dd9b0c903cf2b2bc2b0a09c8cc09b4b28" alt=""><figcaption></figcaption></figure>

<p align="center"><em>Furthermore, the CODESYS BACnet2 stack is 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 via the device tree and standard objects is time-consuming and error-prone. This 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 that allow read and write access to BACnet/IP to be implemented efficiently.

{% hint style="info" %}
**Info:**\
\
HVACBACnet2 uses the existing CODESYS BACnet2 stack and extends it with practical function blocks for diagnostics, client and server functionality.\
\
This preserves 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">CODESYS 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
