> 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="/hub/codesys-hvac/en/codesys-projects/template-macro.md" class="button secondary" data-icon="books">To 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 functions and changes**

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

</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 functions 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 functions 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: added send pulse after a station is connected again for sending the NVL\_GLT
* Send clocks: variable Weekclock\_1CHx\_Mode added
* Send clocks: variable ActivClocksVisu added
* Program and task Alarmmessage deleted. No longer needed due to newer version of alarm email sending
* Cross-flow heat exchanger: minimum pressure and link with xOpTCon for xFrost added
* Heat wheel: minimum pressure and link with xOpTCon for xFrost added
* FanExtensionA: ControlPI replaced by ControlPIext
* for master station GLT
  * Main: page Send clocks 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/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
* FreeNightCooling and FNK\_mit\_Zonen: TOF added after xClockchannel. When two clocks are used and at 23:59 rMaxOsTemp is not reset immediately.
* Rename AT average dropdown
* Outside Temperature: manual 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 set temperature heating mode and cooling mode inserted
* 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 functions and changes**

* Text 'Station XY' replaced with 'Station new' (sStationsname)
* Text list 'TL\_eTAU\_Durchschnitt' renewed
* \- TypA\_HZK - TypA\_Frame\_Einstellungen\_HZK: combo box updated - input xValveAlarm added (also in alarm list - heat meter removed
* \- TypB\_HZK: TypB\_Frame\_Einstellungen\_HZK: combo box 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 functions and changes**

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

</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.
