# OPPERMANN\_KRM\_X\_2\_MOD

## `OPPERMANN_KRM_X_2_MOD` (FB)

`FUNCTION_BLOCK` OPPERMANN\_KRM\_X\_2\_MOD

### Darstellung

<figure><img src="/files/eOpqOrAofidHJTm4iM78" 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                                                                                                                                               |
| Input       | `xUpdateActual`       | `BOOL`                 | FALSE      | <p>Aktualisierung der Istwerte (bei jeder ansteigenden Flanke<br>)</p>                                                                                           |
| Input       | `xResError`           | `BOOL`                 | FALSE      | <p>Reinitialisierung der Ausgänge <code>eErrorCodeCom</code> und<br><code>xSmokeAlarm</code> auf dem fehlerfreien Zustand (bei jeder<br>ansteigenden Flanke)</p> |
| Inout       | `ModbusClient`        | `ModbusClientBase`     |            | Client des Geräts                                                                                                                                                |
| Output      | `eState`              | OPPERMANN\_STATE\_CODE |            | <p>Aktueller Zustand des Kanalrauchmelders (1 = Normaler<br>Betrieb)</p>                                                                                         |
| Output      | `wSensor`             | `WORD`                 |            | Interner Messwert des Rauchmelders (<255 = kein Alarm)                                                                                                           |
| Output      | `wPollution`          | `WORD`                 |            | Aktueller Verschmutzungsgrad des Sensors in XXX Prozent                                                                                                          |
| Output      | `xAirflow`            | `BOOL`                 |            | Aktuelle Anzeige der Luftströmung (0 = keine Luftströmung)                                                                                                       |
| Output      | `xSmokeAlarm`         | `BOOL`                 | FALSE      | Rauchalarm - Gerät (TRUE = Alarm)                                                                                                                                |
| Output      | `xPollutionAlarm`     | `BOOL`                 | FALSE      | Alarm - Verschmutzung > wSetpPollutionAlarm (TRUE = Alarm)                                                                                                       |
| 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      | `wErrorCodeDev`       | `WORD`                 | 0          | Fehlercode - Gerät (0 = kein Fehler)                                                                                                                             |
| Output      | `xBusy`               | `BOOL`                 |            | Kommunikationsanzeige (TRUE = Kommunikation)                                                                                                                     |
| Input Const | `wSetpPollutionAlarm` | `WORD`                 | 50         | Schwellwert - Verschmutzungsgrad in Prozent                                                                                                                      |
| 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/oppermann/oppermann_krm_x_2_mod.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.
