# SOLVIMUS\_GE20\_MBUS\_VALUE

## `SOLVIMUS_GE20_MBUS_VALUE` (FB)

`FUNCTION_BLOCK` SOLVIMUS\_GE20\_MBUS\_VALUE

### Darstellung

<figure><img src="/files/F02BAI91BYvzfBtB5Gmj" alt=""><figcaption></figcaption></figure>

InOut:

| Scope       | Name                          | Type                             | Initial      | Comment                                                                                                                                                   |
| ----------- | ----------------------------- | -------------------------------- | ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Input       | `xEn`                         | `BOOL`                           | TRUE         | Freigabe / Sperrung der Kommunikation (TRUE = Freigabe)                                                                                                   |
| Input       | `byUnitId`                    | `BYTE`                           | 255          | <p>Adresse des Geräts (durch IP-Adresse festgelegt) (<br>Default: 255)</p>                                                                                |
| Input       | `xUpdateActual`               | `BOOL`                           | FALSE        | <p>Aktualisierung der Istwerte (bei jeder ansteigenden Flanke<br>)</p>                                                                                    |
| Input       | `wBaseAdressMbusDevice`       | `WORD`                           | 10           | <p>Modbus - Basis-Register für die Informationen des MBus -<br>Geräts</p>                                                                                 |
| Input       | `wBaseAdressMbusValue`        | `WORD`                           | 20           | <p>Modbus - Basis-Register für die Informationen des MBus -<br>Werts</p>                                                                                  |
| Input       | `xResError`                   | `BOOL`                           | FALSE        | <p>Reinitialisierung der Ausgänge <code>eErrorCodeCom</code> auf dem<br>fehlerfreien Zustand (bei jeder ansteigenden Flanke)</p>                          |
| Inout       | `ModbusClient`                | `ModbusClientBase`               |              | Client des Geräts                                                                                                                                         |
| Output      | `liVal_Raw`                   | `LINT`                           |              | <p>Zählerwert im Format 64-Bit-Ganzzahl - vorzeichenbehaftet -<br>unskaliert</p>                                                                          |
| Output      | `rVal_Raw_SF`                 | `REAL`                           |              | Skalierungsfaktor für `liVal_Raw`                                                                                                                         |
| Output      | `liVal`                       | `LINT`                           |              | <p>Zählerwert im Format 64-Bit-Ganzzahl - vorzeichenbehaftet -<br>skaliert (= <code>liVal\_Raw</code> x Skalierungsfaktor <code>rVal\_Raw\_SF</code>)</p> |
| Output      | `rVal`                        | `REAL`                           |              | <p>Zählerwert im Format 32-Bit-Gleitkomma IEEE 754 -<br>vorzeichenbehaftet - skaliert auf <code>byValueUnit</code> (= Endwert<br>)</p>                    |
| Output      | `rVal_kWh`                    | `REAL`                           |              | (`rVal` in kWh) x Skalierungsfaktor `rVal_kWh_SF`                                                                                                         |
| Output      | `eValUnit`                    | SOLVIMUS\_GE20\_MBUS\_UNIT\_TYPE |              | Einheit des Zählerwerts                                                                                                                                   |
| Output      | `dtSysTime`                   | `DT`                             |              | <p>Zeitstempel des MBus - Geräts (UTC, in Deutschland UTC +1 /<br>+2 h je nach Sommer- / Winterzeit)</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      | `xBusy`                       | `BOOL`                           |              | Kommunikationsanzeige (TRUE = Kommunikation)                                                                                                              |
| Input Const | `wBaseAdressMbusDeviceOffset` | `WORD`                           | 10           | <p>Offset zur Berechnung der Basisadresse (Voraussetzung:<br>xBaseAdressMode = TRUE)</p>                                                                  |
| Input Const | `xBaseAdressMode`             | `BOOL`                           | FALSE        | Art der Festlegung der Basisadresse:                                                                                                                      |
| Input Const | `diAdrOffset`                 | `DINT`                           | 0            | <p>Offset zur Berechnung der Modbus-Adressen (aus den Modbus-<br>Registern) (Zulässiger Bereich: -1, 0, +1)</p>                                           |
| Input Const | `rVal_kWh_SF`                 | `REAL`                           | 1.0          | Skalierungsfaktor für den Ausgang `rVal_kWh`                                                                                                              |
| Input Const | `rVal_SF`                     | `REAL`                           | 1.0          | Skalierungsfaktor für den Ausgang `rVal`                                                                                                                  |
| Input Const | `tTimeUpdateActual`           | `TIME`                           | TIME#1m0s0ms | <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/solvimus/solvimus_ge20_mbus_value.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.
