> 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/downloads/en/codesys-hvac-templates/template-macro.md).

# Project template - Macro

### Documentation

<a href="/spaces/6G4WDUYxjH3a0to8hJov/pages/6606a6133245a188c862dee2422dd868569c4dde" class="button secondary" data-icon="books">To the documentation</a>

### Current version

<details>

<summary>2.2.0.1 - CODESYS 3.5.21.2 - <a href="https://dl.powerio.com/downloads/HVAC-Macroproject-powerIO-(CDS3.5.21.2_A)-2.2.0.1.projectarchive" class="button primary" data-icon="arrow-down-to-line">Download</a></summary>

Release date 19.01.2026

**New features and changes**

* Template optimized and adapted for CODESYS version ≥ 3.5.21.2

</details>

***

### Older versions

<details>

<summary>2.1.1.6 - CODESYS 3.5.17.2 - <a href="https://dl.powerio.com/downloads/HVAC-Macroproject-powerIO-(CDS3.5.17.2_A)-2.1.1.1.projectarchive">Download</a></summary>

**New features and changes**

* Lib HVAC to 3.2.1.14
* Lib HVACV to 3.2.0.18
* Lib HVACModbus to 1.1.0.38
* Lib HVACModbusIO2 to 1.0.2.6
* master Clock send and receive: missing variable ActivClocksVisu added
* FB CPU\_Station: pulse added when communication is OK again
* GLT\_Programm: send pulse added after a station is reconnected for sending the NVL\_GLT
* Clocks send: variable Weekclock\_1CHx\_Mode added
* Clocks send: variable ActivClocksVisu added
* Program and task Alarmmessage deleted. No longer needed due to newer version of alarm email sending
* Crossflow heat exchanger: minimum pressure and linkage with xOpTCon for xFrost added
* Heat wheel: minimum pressure and linkage with xOpTCon for xFrost added
* FanExtensionA: ControlPI replaced with ControlPIext
* for master station GLT
  * Main: Clocks send page added
  * Send list NVL\_GLT added
* for all FBs with day/night operation, additional operating mode Off added, with note 'no frost monitoring'
* Heating circuit designation/assignment added in the zones
* RLT03: messages added to alarm list FanSUPx.xAlarmMSS and FanETAx.xAlarmMSS
* TypA\_HZK: Pump: xForceOption changed to false
* TypA\_HZK\_MOD: Pump: xForceOption changed to false
* TypC\_RLT: ControlPI\_Dehum added for dehumidification
* FreieNachtkuehlung and FNK\_mit\_Zonen: TOF added after xClockchannel. If two clocks are used and at 23:59 rMaxOsTemp is not reset immediately.
* Rename AT average dropdown
* Outside Temperature: Man added for average temperatures
* TypB\_RLT: Edit\_TempCoolOut: values adjusted
* FanExtensionA: Hysteresis for writing YMin and YMax added
* TypB\_RLT and TypC\_RLT: minimum offset between setpoint temperature heating mode and cooling mode added
* KaeltemaschineT: FB Burner replaced by FB DeviceSimple2 and DeviceSimpleA
* FB ClockSlave32 renewed in all FBs and clocks assigned
* PI controller edit buttons added in the macros

</details>

<details>

<summary>2.1.1.1 - CODESYS 3.5.17.2 - <a href="https://dl.powerio.com/downloads/HVAC-Macroproject-powerIO-(CDS3.5.17.2_A)-2.1.1.1.projectarchive">Download</a></summary>

**New features and changes**

* Text 'Station XY' replaced with 'Station new' (sStationsname)
* Text list 'TL\_eTAU\_Durchschnitt' renewed
* \- TypA\_HZK - TypA\_Frame\_Einstellungen\_HZK: combobox renewed - input xValveAlarm added (also in alarm list - heat meter removed
* \- TypB\_HZK: TypB\_Frame\_Einstellungen\_HZK: combobox renewed

</details>

<details>

<summary>2.1.0.0 - CODESYS 3.5.14.0 - <a href="https://dl.powerio.com/downloads/HVAC-Macroproject-powerIO-(CDS3.5.14.0)-2.1.0.0.projectarchive">Download</a></summary>

**New features and changes**

* Updated to CODESYS version 3.5.17.2
* The Modbus IO Visu page was added under menu item "SERVICE".

</details>


---

# 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/downloads/en/codesys-hvac-templates/template-macro.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.
