> 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/kampmann/kampmann_fan_coil.md).

# KAMPMANN\_FAN\_COIL

## `KAMPMANN_FAN_COIL` (FB)

`FUNCTION_BLOCK` KAMPMANN\_FAN\_COIL

### Darstellung

<figure><img src="/files/XOuFeqeHjNeOydNZmocV" 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       | `xResError`             | `BOOL`             | FALSE                | <p>Reinitialisierung der Ausgänge <code>eErrorCodeCom</code> bzw.<br><code>xErrorCodeDev</code> auf dem fehlerfreien Zustand (bei jeder<br>ansteigenden Flanke)</p> |
| Input       | `xEnDevice`             | `BOOL`             | FALSE                | Freigabe / Sperrung des Geräts (FALSE = Aus)                                                                                                                        |
| Input       | `wOperationMode`        | OPERATION\_MODE    | OPERATION\_MODE.AUTO |                                                                                                                                                                     |
| Input       | `wFanSpeed`             | FAN\_MODE          | FAN\_MODE.OFF        | Auswahl der Lüfterstufe (0 = Aus)                                                                                                                                   |
| Input       | `rSetpTemp`             | `REAL`             | 22.0                 | <p>Sollwert - Temperatur in Grad Celsius (nur ganzzahlige<br>Werte)</p>                                                                                             |
| Input       | `rTemp`                 | `REAL`             | 22.0                 | Istwert - Temperatur in Grad Celsius (virtueller Fühler)                                                                                                            |
| Input       | `xEcoDay`               | `BOOL`             | FALSE                | Umschaltung Eco- / Tagbetrieb (0 = Tagbetrieb)                                                                                                                      |
| Inout       | `ModbusClient`          | `ModbusClientBase` |                      | Client des Geräts                                                                                                                                                   |
| Output      | `rTempAI1`              | `REAL`             |                      | Temperatur - Fühler am Eingang AI1                                                                                                                                  |
| Output      | `rTempRBG`              | `REAL`             |                      | Temperatur - Fühler am Raumbediengerät                                                                                                                              |
| Output      | `rTempAI2`              | `REAL`             |                      | Temperatur - Fühler am Eingang AI2                                                                                                                                  |
| Output      | `rTempAI3`              | `REAL`             |                      | Temperatur - Fühler am Eingang AI3                                                                                                                                  |
| Output      | `xSensorOffsetInDevice` | `BOOL`             |                      | <p>Anzeige, ob der Abgleich der Sensoren im Gerät erfolgen muss<br>(TRUE = Abgleich im Gerät erforderlich, FALSE = Abgleich im<br>FB erforderlich)</p>              |
| Output      | `rTempControl`          | `REAL`             |                      | Temperatur - Regelfühler in XXX Grad Celsius                                                                                                                        |
| Output      | `rTempFb`               | `REAL`             |                      | Rückmeldung - Temperatur am Eingang `rTemp`                                                                                                                         |
| Output      | `rFanSpeed`             | `REAL`             |                      | Drehzahl des Ventilators in XXX Prozent                                                                                                                             |
| Output      | `wOperationModeFb`      | OPERATION\_MODE    |                      | Rückmeldung - Betriebsart des Geräts (0 = Automatik)                                                                                                                |
| Output      | `wFanSpeedFb`           | FAN\_MODE          |                      | Rückmeldung - Auswahl der Lüfterstufe (0 = Aus)                                                                                                                     |
| Output      | `wDeviceFb`             | DEVICE\_MODE       |                      | Rückmeldung - Betriebszustand des Geräts (0 = Aus)                                                                                                                  |
| Output      | `wDeviceState`          | `WORD`             |                      | Digitale Geätemeldungen                                                                                                                                             |
| Output      | `xHeatRequest`          | `BOOL`             | FALSE                | Anforderung - Heizenergie (1 = Anforderung)                                                                                                                         |
| Output      | `xCoolingRequest`       | `BOOL`             | FALSE                | Anforderung - Kühlenergie (1 = Anforderung)                                                                                                                         |
| 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      | `stErrorCodeDev`        | `STRING`           |                      | String mir den Nummern der aktiven Gerätefehler                                                                                                                     |
| Output      | `wErrorCodeDev`         | `WORD`             | 0                    | Fehlercode - Gerät (0 = kein Fehler)                                                                                                                                |
| Output      | `xBusy`                 | `BOOL`             |                      | Kommunikationsanzeige (TRUE = Kommunikation)                                                                                                                        |
| Input Const | `rTempAI3Offset`        | `REAL`             | 0.0                  | <p>Konstanter Messwert-Versatz für den übertragenen Temperatur<br>- Istwert am Eingang AI3</p>                                                                      |
| Input Const | `rTempAI2Offset`        | `REAL`             | 0.0                  | <p>Konstanter Messwert-Versatz für den übertragenen Temperatur<br>- Istwert am Eingang AI2</p>                                                                      |
| Input Const | `rTempRBGOffset`        | `REAL`             | 0.0                  | <p>Konstanter Messwert-Versatz für den übertragenen Temperatur<br>- Istwert am Raumbediengerät</p>                                                                  |
| Input Const | `rTempAI1Offset`        | `REAL`             | 0.0                  | <p>Konstanter Messwert-Versatz für den übertragenen Temperatur<br>- Istwert am Eingang AI1</p>                                                                      |
| Input Const | `tTimeVirtualSensor`    | `TIME`             | TIME#10m0s0ms        | <p>Updateintervall für den Timer für die Aktivierung des<br>virtuellen Sensors</p>                                                                                  |
| Input Const | `xActVirtSensor`        | `BOOL`             | TRUE                 | Freigabe / Sperrung des virtuellen Sensor (0 = gesperrt)                                                                                                            |
| Input Const | `rFanSpeedMin`          | `REAL`             | 0.0                  | Minimalwert - Drehzahl - Ventilator in Prozent                                                                                                                      |
| Input Const | `rFanSpeedMax`          | `REAL`             | 100.0                | Maximalwert - Drehzahl - Ventilator in Prozent                                                                                                                      |
| 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 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/codesys-hvac/hvac-modbus-library/functionblocks/kampmann/kampmann_fan_coil.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.
