> 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_easy.md).

# KP\_MD15\_MOD\_N\_HE\_EASY

## `KP_MD15_MOD_N_HE_EASY` (FB)

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

### Darstellung

<figure><img src="https://879424349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2FdXYPoo9VxYIHwrRi8PxZ%2FKP_MD15_MOD_N_HE_EASY.png?alt=media&amp;token=e5accb09-85e4-49ca-959d-fc2864f58e7b" 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       | `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      | `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      | `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 | `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 | `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 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_easy.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.
