# 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="/files/1D6va3KDj00ZW1dZOjpv" 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: 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/kieback_und_peter/kp_md15_mod_n_he_easy.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.
