> 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/hvac-modbus-library/functionblocks/helios/helios_kwl_modbus_gateway.md). Agents can also search and read this documentation through its [MCP server](https://support.powerio.com/hub/~gitbook/mcp).

# HELIOS\_KWL\_MODBUS\_GATEWAY

## `HELIOS_KWL_MODBUS_GATEWAY` (FB)

`FUNCTION_BLOCK` HELIOS\_KWL\_MODBUS\_GATEWAY

### Darstellung

<figure><img src="https://879424349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2FoRnucx3386udK2Qt6kMh%2FHELIOS_KWL_MODBUS_GATEWAY.png?alt=media&amp;token=86fe14a1-b0f2-4b5c-9f3c-1b52d9778718" alt=""><figcaption></figcaption></figure>

InOut:

| Scope       | Name                | Type                                      | Initial                                             | Comment                                                                                                                          |
| ----------- | ------------------- | ----------------------------------------- | --------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| Input       | `xEn`               | `BOOL`                                    | TRUE                                                | Freigabe / Sperrung der Kommunikation (TRUE = Freigabe)                                                                          |
| Input       | `byUnitId`          | `BYTE`                                    | 180                                                 | Adresse des Geräts                                                                                                               |
| Input       | `rSetpFanStage`     | `REAL`                                    | 0.0                                                 | Sollwert - Lüfterstufe (0 - 4, 0 = Aus)                                                                                          |
| Input       | `rSetpTemp`         | `REAL`                                    | 21.0                                                | Sollwert - Komforttemperatur                                                                                                     |
| Input       | `xResError`         | `BOOL`                                    | FALSE                                               | <p>Reinitialisierung des Ausgangs <code>eErrorCodeCom</code> auf dem<br>fehlerfreien Zustand (bei jeder ansteigenden Flanke)</p> |
| Input       | `xUpdateActual`     | `BOOL`                                    | FALSE                                               | <p>Aktualisierung der Istwerte (bei jeder ansteigenden Flanke<br>)</p>                                                           |
| Input       | `xUpdateSetp`       | `BOOL`                                    | FALSE                                               | <p>Aktualisierung der Sollwerte (bei jeder ansteigenden Flanke<br>)</p>                                                          |
| Inout       | `ModbusClient`      | `ModbusClientBase`                        |                                                     | Client des Geräts                                                                                                                |
| Output      | `rErrorCount`       | `REAL`                                    |                                                     | Anzahl der aktiven Fehler (0 - 32)                                                                                               |
| Output      | `rWarnCount`        | `REAL`                                    |                                                     | Anzahl der aktiven Warnungen (0 - 8)                                                                                             |
| Output      | `rSetpFanStage_Fb`  | `REAL`                                    |                                                     | Aktuell aktive Lüfterstufe (0 - 4, 0 = Aus)                                                                                      |
| Output      | `xChangeFilter`     | `BOOL`                                    |                                                     | 1 = Filterwartung erforderlich                                                                                                   |
| Output      | `xOP`               | `BOOL`                                    |                                                     | 1 = Betrieb der Lüftung                                                                                                          |
| Output      | `rSetpTemp_Fb`      | `REAL`                                    |                                                     | Rückmeldung - Sollwert - Komforttemperatur                                                                                       |
| Output      | `xAlarm`            | `BOOL`                                    | FALSE                                               | Sammelstörung (TRUE = Störung)                                                                                                   |
| Output      | `xAlarmCom`         | `BOOL`                                    | FALSE                                               | Sammelstörung - Kommunikation (TRUE = Störung)                                                                                   |
| Output      | `eErrorCodeCom`     | ModbusErrorCode                           |                                                     | Fehlercode - Kommunikation (0 = kein Fehler)                                                                                     |
| Output      | `xAlarmDevice`      | `BOOL`                                    | FALSE                                               | Sammelstörung - Gerät (TRUE = Störung)                                                                                           |
| Output      | `eErrorCodeDev`     | HELIOS\_KWL\_MODBUS\_GATEWAY\_ERROR\_CODE | HELIOS\_KWL\_MODBUS\_GATEWAY\_ERROR\_CODE.NO\_ERROR | Fehlercode - Gerät (0 = kein Fehler)                                                                                             |
| Output      | `xBusy`             | `BOOL`                                    |                                                     | Kommunikationsanzeige (TRUE = Kommunikation)                                                                                     |
| Input Const | `rSetpFanStageMin`  | `REAL`                                    | 0.0                                                 | <p>Aktuell aktive minimale Lüfterstufe (0 - 1, 0 = Ausschalten<br>über Lüfterstufe möglich)</p>                                  |
| Input Const | `tTimeUpdateSetp`   | `TIME`                                    | TIME#45s0ms                                         | <p>Updateintervall für die Vorgänge, die durch den Eingang<br><code>xUpdateSetp</code> beeinflusst werden</p>                    |
| Input Const | `tTimeUpdateActual` | `TIME`                                    | TIME#3s0ms                                          | <p>Updateintervall für die Vorgänge, die durch den Eingang<br><code>xUpdateActual</code> beeinflusst werden</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/hvac-modbus-library/functionblocks/helios/helios_kwl_modbus_gateway.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.
