# DANFOSS\_VLT\_HVAC\_DRIVE

## `DANFOSS_VLT_HVAC_DRIVE` (FB)

`FUNCTION_BLOCK` DANFOSS\_VLT\_HVAC\_DRIVE

### Darstellung

<figure><img src="/files/mESeiAISW8G63U4hicEt" alt=""><figcaption></figcaption></figure>

InOut:

| Scope       | Name                | Type                                           | Initial                                            | Comment                                                                                                                      |
| ----------- | ------------------- | ---------------------------------------------- | -------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| Input       | `xEn`               | `BOOL`                                         | TRUE                                               | Freigabe / Sperrung der Kommunikation (TRUE = Freigabe)                                                                      |
| Input       | `byUnitId`          | `BYTE`                                         | 0                                                  | Adresse des Geräts (1 .. 247)                                                                                                |
| 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>                                                      |
| Input       | `xUpdateConfig`     | `BOOL`                                         | FALSE                                              | <p>Aktualisierung der Konfiguration (bei jeder ansteigenden<br>Flanke)</p>                                                   |
| Input       | `xEnDevice`         | `BOOL`                                         | FALSE                                              | Freigabe / Sperrung des Frequenzumrichters (FALSE = Aus)                                                                     |
| Input       | `rSetp`             | `REAL`                                         | 0.0                                                | <p>Sollwert des Frequenzumrichters (Drehzahl, Sollwert) (<br>-100.0 - +100.0%)</p>                                           |
| Input       | `xResetShutdown`    | `BOOL`                                         | FALSE                                              | <p>Reset des Geräts nach einer Abschaltung (bei jeder<br>ansteigenden Flanke)</p>                                            |
| Inout       | `ModbusClient`      | `ModbusClientBase`                             |                                                    | Client des Geräts                                                                                                            |
| Output      | `xFb`               | `BOOL`                                         |                                                    | Betriebsmeldung (FALSE = Aus, TRUE = Ein)                                                                                    |
| Output      | `rSetpPercFb`       | `REAL`                                         |                                                    | Rückmeldung - Aktueller Sollwert in Prozent                                                                                  |
| Output      | `rOutputFreq`       | `REAL`                                         |                                                    | Aktuelle Ausgangsfrequenz in Hz                                                                                              |
| Output      | `wControlWordFb`    | `WORD`                                         |                                                    | Rückmeldung - Aktuelles Steuerwort                                                                                           |
| Output      | `wStatusWord`       | `WORD`                                         |                                                    | Aktuelles Zustandswort                                                                                                       |
| Output      | `dwOperatingHours`  | `DWORD`                                        |                                                    | Motorlaufstunden                                                                                                             |
| Output      | `dwElecEnergyTota`  | `DWORD`                                        |                                                    | Gesamte elektrische Arbeit in kWh                                                                                            |
| Output      | `dwCountSwitchOn`   | `DWORD`                                        |                                                    | Anzahl der Einschaltungen                                                                                                    |
| Output      | `rElecVoltage`      | `REAL`                                         |                                                    | Ausgangsspannung in Volt                                                                                                     |
| Output      | `rElecCurrent`      | `REAL`                                         |                                                    | Ausgangsstrom in Ampere                                                                                                      |
| Output      | `rThermalProtect`   | `REAL`                                         |                                                    | Thermischer Motorschutz in Prozent                                                                                           |
| Output      | `xBit0_Control`     | `BOOL`                                         |                                                    | <p>Zustand der Steuerung (FALSE = nicht bereit, TRUE = bereit<br>)</p>                                                       |
| Output      | `xBit1_FreqConv`    | `BOOL`                                         |                                                    | <p>Zustand des Frequenzumrichters (FALSE = nicht bereit, TRUE<br>= bereit)</p>                                               |
| Output      | `xBit2_FreeRun`     | `BOOL`                                         |                                                    | <p>Zustand des Freilaufs (FALSE = aktiv, TRUE = Motor in<br>Betrieb)</p>                                                     |
| Output      | `xBit3_AlarmOff`    | `BOOL`                                         |                                                    | <p>Zustand des Fehlers mit Abschaltung (FALSE = nicht aktiv,<br>TRUE = aktiv)</p>                                            |
| Output      | `xBit4_Alarm`       | `BOOL`                                         |                                                    | <p>Zustand des Fehlers ohne Abschaltung (FALSE = nicht aktiv,<br>TRUE = aktiv)</p>                                           |
| Output      | `xBit6_AlarmOffBl`  | `BOOL`                                         |                                                    | <p>Zustand des Fehlers mit Abschaltung und Blockierung (FALSE<br>= nicht aktiv, TRUE = aktiv)</p>                            |
| Output      | `xBit7_Warn`        | `BOOL`                                         |                                                    | Zustand der Warnung (FALSE = nicht aktiv, TRUE = aktiv)                                                                      |
| Output      | `xBit8_SetpActual`  | `BOOL`                                         |                                                    | <p>Zustand Drehzahlsollwert/-istwert (FALSE = ungleich, TRUE =<br>gleich)</p>                                                |
| Output      | `xBit9_LocalBus`    | `BOOL`                                         |                                                    | <p>Zustand Vor-Ort-Betrieb/Bussteuerung (FALSE = Vor-Ort-<br>Betrieb, TRUE = Bussteuerung)</p>                               |
| Output      | `xBit10_FreqLimit`  | `BOOL`                                         |                                                    | <p>Zustand der Frequenzgrenzen (FALSE = Frequenz ist<br>ausserhalb, TRUE = Frequenz ist innerhalb)</p>                       |
| Output      | `xBit12_OverTInv`   | `BOOL`                                         |                                                    | <p>Zustand der Übertemperaturmeldung des Wechselrichters (<br>FALSE = Aus, TRUE = Ein)</p>                                   |
| Output      | `xBit13_OverVolt`   | `BOOL`                                         |                                                    | Zustand der Überspannungsmeldung (FALSE = Aus, TRUE = Ein)                                                                   |
| Output      | `xBit14_OverMomen`  | `BOOL`                                         |                                                    | <p>Zustand der Überdrehmomentmeldung (FALSE = Aus, TRUE = Ein<br>)</p>                                                       |
| Output      | `xBit15_OverTherm`  | `BOOL`                                         |                                                    | <p>Zustand der thermischen Schutzvorrichtungen (FALSE = keine<br>Überschreitung, TRUE = Überschreitung eines Grenzwerts)</p> |
| 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      | `dwErrorCode1Dev`   | `DWORD`                                        | 0                                                  | Alarmwort 1 - Gerät                                                                                                          |
| Output      | `dwErrorCode2Dev`   | `DWORD`                                        | 0                                                  | Alarmwort 2 - Gerät                                                                                                          |
| Output      | `dwWarnCode1Dev`    | `DWORD`                                        | 0                                                  | Warnwort 1 - Gerät                                                                                                           |
| Output      | `dwWarnCode2Dev`    | `DWORD`                                        | 0                                                  | Warnwort 2 - Gerät                                                                                                           |
| Output      | `dwStateCode1Dev`   | `DWORD`                                        | 0                                                  | Erweitertes Zustandswort 1 - Gerät                                                                                           |
| Output      | `dwStateCode2Dev`   | `DWORD`                                        | 0                                                  | Erweitertes Zustandswort 2 - Gerät                                                                                           |
| Output      | `xBusy`             | `BOOL`                                         |                                                    | Kommunikationsanzeige (TRUE = Kommunikation)                                                                                 |
| Input Const | `wControlMode`      | `WORD`                                         | 0                                                  | 0 = Drehzahlsteuerung, 3 = PID-Regler                                                                                        |
| Input Const | `xCW_Bit15`         | `BOOL`                                         | FALSE                                              | FALSE = Keine Reversierung, TRUE = Reversierung                                                                              |
| Input Const | `xCW_Bit14`         | `BOOL`                                         | FALSE                                              | <p>Most Significant Bit - Auswahl Parametersatz (00 =<br>Parametersatz 1)</p>                                                |
| Input Const | `xCW_Bit13`         | `BOOL`                                         | FALSE                                              | <p>Least Significant Bit - Auswahl Parametersatz (00 =<br>Parametersatz 1)</p>                                               |
| Input Const | `xCW_Bit12`         | `BOOL`                                         | FALSE                                              | <p>FALSE = Relais 02 nicht aktiviert, TRUE = Relais 02<br>aktiviert</p>                                                      |
| Input Const | `xCW_Bit11`         | `BOOL`                                         | FALSE                                              | <p>FALSE = Relais 01 nicht aktiviert, TRUE = Relais 01<br>aktiviert</p>                                                      |
| Input Const | `xCW_Bit10`         | `BOOL`                                         | TRUE                                               | FALSE = Daten ungültig 1, TRUE = Daten gültig                                                                                |
| Input Const | `xCW_Bit9`          | `BOOL`                                         | FALSE                                              | FALSE = Rampe 1, TRUE = Rampe 2                                                                                              |
| Input Const | `xCW_Bit8`          | `BOOL`                                         | FALSE                                              | FALSE = Ohne Funktion, TRUE = Festdrehzahl JOG                                                                               |
| Input Const | `xCW_Bit5`          | `BOOL`                                         | TRUE                                               | FALSE = Frequenzausgang halten, TRUE = Rampe verwenden                                                                       |
| Input Const | `xCW_Bit1`          | `BOOL`                                         | FALSE                                              | <p>Most Significant Bit - Auswahl Festsollwert (00 = Sollwert<br>0)</p>                                                      |
| Input Const | `xCW_Bit0`          | `BOOL`                                         | FALSE                                              | <p>Least Significant Bit - Auswahl Festsollwert (00 = Sollwert<br>0)</p>                                                     |
| Input Const | `eDisableMode`      | VLT\_HVAC\_DRIVE\_DISABLE\_MODE                | VLT\_HVAC\_DRIVE\_DISABLE\_MODE.FREE\_RUN\_STOP    | Art der Abschaltung des Frequenzumrichters                                                                                   |
| Input Const | `eCWTimeoutMode`    | VLT\_HVAC\_DRIVE\_CONTROL\_WORD\_TIMEOUT\_MODE | VLT\_HVAC\_DRIVE\_CONTROL\_WORD\_TIMEOUT\_MODE.OFF | Funktion nach einem Timeout des Steuerworts                                                                                  |
| Input Const | `tTimeUpdateCW`     | `TIME`                                         | TIME#30s0ms                                        | <p>Updateintervall für die Übertragung des Steuerworts (CW =<br>Control word)</p>                                            |
| Input Const | `tTimeUpdateConfig` | `TIME`                                         | TIME#0ms                                           | <p>Updateintervall für die Vorgänge, die durch den Eingang<br><code>xUpdateConfig</code> beeinflusst werden</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/danfoss/danfoss_vlt_hvac_drive.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.
