# 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&#x26;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>                  |
