# HELIOS\_KWL\_MODBUS\_GATEWAY

## `HELIOS_KWL_MODBUS_GATEWAY` (FB)

`FUNCTION_BLOCK` HELIOS\_KWL\_MODBUS\_GATEWAY

### Darstellung

<figure><img src="/files/Nitx0QbMzqimV2Au5cK1" 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: 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:

```
GET https://support.powerio.com/hub/codesys-hvac/hvac-modbus-library/functionblocks/helios/helios_kwl_modbus_gateway.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
