> 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/kieback_und_peter/kp_md15_mod_n_he_full.md).

# KP\_MD15\_MOD\_N\_HE\_FULL

## `KP_MD15_MOD_N_HE_FULL` (FB)

`FUNCTION_BLOCK` KP\_MD15\_MOD\_N\_HE\_FULL

### Darstellung

<figure><img src="https://879424349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2Fg33d9iokb2U30K1omSMa%2FKP_MD15_MOD_N_HE_FULL.png?alt=media&amp;token=9c0379ae-928c-4dd0-bc44-d2d77dd016f1" alt=""><figcaption></figcaption></figure>

InOut:

| Scope       | Name                | Type                                  | Initial                                             | Comment                                                                                                                                                                                                                                                                                                                                                                                  |
| ----------- | ------------------- | ------------------------------------- | --------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Input       | `xEn`               | `BOOL`                                | TRUE                                                | Freigabe / Sperrung der Kommunikation (TRUE = Freigabe)                                                                                                                                                                                                                                                                                                                                  |
| Input       | `byUnitId`          | `BYTE`                                | 0                                                   | <p>Adresse des Geräts (1… 247, Voreinstellung =<br>Werkseinstellung)</p>                                                                                                                                                                                                                                                                                                                 |
| Input       | `xUpdateActual`     | `BOOL`                                | FALSE                                               | <p>Aktualisierung der Istwerte (bei jeder ansteigenden Flanke<br>)</p>                                                                                                                                                                                                                                                                                                                   |
| Input       | `xUpdateInfo`       | `BOOL`                                | FALSE                                               | <p>Aktualisierung der Informationen (bei jeder ansteigenden<br>Flanke)</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>sErrorCodeDev</code> auf dem fehlerfreien Zustand (bei jeder<br>ansteigenden Flanke)</p>                                                                                                                                                                                                                      |
| Input       | `rSetpPos`          | `REAL`                                | 0.0                                                 | <p>Sollwert - Position in % (0.0 - 100.0 %) (0.0% = Spindel<br>ausgefahren)</p>                                                                                                                                                                                                                                                                                                          |
| Inout       | `ModbusClient`      | `ModbusClientBase`                    |                                                     | Client des Geräts                                                                                                                                                                                                                                                                                                                                                                        |
| Output      | `sSerialNumber`     | `STRING`                              |                                                     | Seriennummer des Geräts                                                                                                                                                                                                                                                                                                                                                                  |
| Output      | `wFirmwareVer`      | `WORD`                                |                                                     | Firmware-Version des Geräts                                                                                                                                                                                                                                                                                                                                                              |
| Output      | `wHardwareVer`      | `WORD`                                |                                                     | Hardware-Version des Geräts                                                                                                                                                                                                                                                                                                                                                              |
| Output      | `rSetpPositionFb`   | `REAL`                                |                                                     | <p>Sollwert - Position in % (0.0 - 100.0 %) (0.0% = Spindel<br>ausgefahren) — Rückmeldung</p>                                                                                                                                                                                                                                                                                            |
| Output      | `rPosition`         | `REAL`                                |                                                     | <p>Aktuelle Position in % (0.0 - 100.0 %) (0.0% = Spindel<br>ausgefahren)</p>                                                                                                                                                                                                                                                                                                            |
| Output      | `eCommandFb`        | KP\_MD15\_MOD\_N\_HE\_COMMAND\_MODE   |                                                     | Aktueller Status des Antriebs — Rückmeldung                                                                                                                                                                                                                                                                                                                                              |
| Output      | `eOpModeFb`         | KP\_MD15\_MOD\_N\_HE\_OP\_MODE        |                                                     | Aktuelle Betriebsart des Antriebs — Rückmeldung                                                                                                                                                                                                                                                                                                                                          |
| 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      | `sErrorCodeDev`     | `STRING`                              |                                                     | <p>String mir den Nummern der aktiven Gerätefehler (Bit 0 =<br>Nummer 1, Bit 1 = Nummer 2, usw.)</p>                                                                                                                                                                                                                                                                                     |
| Output      | `xBusy`             | `BOOL`                                |                                                     | Kommunikationsanzeige (TRUE = Kommunikation)                                                                                                                                                                                                                                                                                                                                             |
| Input Const | `rMaxPos`           | `REAL`                                | 100.0                                               | <p>Aktuelle absolute Maximal-Position in % (0.0 - 100.0 %) (<br>0.0% = Spindel ausgefahren)</p>                                                                                                                                                                                                                                                                                          |
| Input Const | `rMinPos`           | `REAL`                                | 0.0                                                 | <p>Aktuelle absolute Minimal-Position in % (0.0 - 100.0 %) (<br>0.0% = Spindel ausgefahren)</p>                                                                                                                                                                                                                                                                                          |
| Input Const | `eOpMode`           | KP\_MD15\_MOD\_N\_HE\_OP\_MODE        | KP\_MD15\_MOD\_N\_HE\_OP\_MODE.SETPOINT             | <p>Aktuelle Betriebsart<br>0 = Steuerung über Sollwert<br>1 = Auf<br>2 = Zu<br>3 = Parameter <code>rMinPos</code><br>5 = Parameter <code>rMaxPos</code><br>6 = Raumtemperatur-Regelkreis</p>                                                                                                                                                                                             |
| Input Const | `rBusFailPos`       | `REAL`                                | 100.0                                               | <p>Aktuelle Position in % (0.0 - 100.0 %) (0.0% = Spindel<br>ausgefahren) im Falle eines Bus-Fehlers (120 s)</p>                                                                                                                                                                                                                                                                         |
| Input Const | `eBusFailMode`      | KP\_MD15\_MOD\_N\_HE\_BUS\_FAIL\_MODE | KP\_MD15\_MOD\_N\_HE\_BUS\_FAIL\_MODE.NO\_DETECTION | <p>Aktuelle Betriebsart im Falle eines Busfehlers<br>0 = keine Überwachung<br>1 = Zu nach 120s ohne Kommunikation<br>2 = Auf nach 120s ohne Kommunikation<br>3 = Parameter <code>rBusFailPos</code> nach 120s ohne Kommunikation</p>                                                                                                                                                     |
| Input Const | `eCommand`          | KP\_MD15\_MOD\_N\_HE\_COMMAND\_MODE   | KP\_MD15\_MOD\_N\_HE\_COMMAND\_MODE.NORMAL\_MODE    | <p>Aktueller Status des Antriebs<br>0 = Normalbetrieb<br>1 = Adaption / Initialisierung<br>2 = Testlauf = Manuelle Spülfunktion (einmalige vollständige Öffnung)<br>3 = Synchronisation = Manuelle Synchronisation der Endlage<br>4 = Rücksetzung der Fehler = Rücksetzung aller Fehler in Register 318<br>5 = Baudratenwechsel = Übernahme der Parameter in den Registern 105 - 107</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 | `tTimeUpdateInfo`   | `TIME`                                | TIME#0ms                                            | <p>Updateintervall für die Vorgänge, die durch den Eingang<br><code>xUpdateInfo</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/kieback_und_peter/kp_md15_mod_n_he_full.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.
