> 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

Download and changelog page for the project template "Macro"

### Documentation

<a href="https://support.powerio.com/hub/codesys-hvac/en/codesys-projects/template-macro.md" class="button secondary" data-icon="books">To the documentation</a>

### Current version

<details>

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

Release Date 21.08.2026

**New features and changes**

* Template optimized and adapted for CODESYS version 3.5.21.2\_C
* Swipe function without preview enabled

</details>

***

### Older versions

<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">Download</a></summary>

Release Date 19.01.2026

**New features and changes**

* Template optimized and adapted for CODESYS version ≥ 3.5.21.2

</details>

<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 updated to 3.2.1.14
* Lib HVACV updated to 3.2.0.18
* Lib HVACModbus updated to 1.1.0.38
* Lib HVACModbusIO2 updated 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 connected again for sending the NVL\_GLT
* Clock sending: variable Weekclock\_1CHx\_Mode added
* Clock sending: variable ActivClocksVisu added
* Program and task Alarmmessage deleted. No longer needed due to newer version of Alarmemailversand
* Cross-flow 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 by ControlPIext
* for master station GLT
  * Main: page Clock sending inserted
  * Send list NVL\_GLT inserted
* for all FB's with day/night operation, additional operating mode Off added, with note 'no frost monitoring'
* Heating circuit designation/allocation added in the zones
* RLT03: messages added in 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 added for writing YMin and YMax
* TypB\_RLT and TypC\_RLT: minimum offset inserted between heating setpoint temperature and cooling setpoint temperature
* KaeltemaschineT: FB Burner replaced by FB DeviceSimple2 and DeviceSimpleA
* FB ClockSlave32 renewed in all FB's 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 by 'New station' (sStationsname)
* Text list 'TL\_eTAU\_Durchschnitt' updated
* \- TypA\_HZK - TypA\_Frame\_Einstellungen\_HZK: combobox updated - input xValveAlarm added (also in alarm list - heat meter removed
* \- TypB\_HZK: TypB\_Frame\_Einstellungen\_HZK: combobox updated

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