# SOLVIMUS\_GE20\_MBUS\_VALUE

## `SOLVIMUS_GE20_MBUS_VALUE` (FB)

`FUNCTION_BLOCK` SOLVIMUS\_GE20\_MBUS\_VALUE

### Representation

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

InOut:

| Scope       | Name                          | Type                             | Initial      | Comment                                                                                                                                      |
| ----------- | ----------------------------- | -------------------------------- | ------------ | -------------------------------------------------------------------------------------------------------------------------------------------- |
| Input       | `xEn`                         | `BOOL`                           | TRUE         | Enable / disable communication (TRUE = enable)                                                                                               |
| Input       | `byUnitId`                    | `BYTE`                           | 255          | <p>Device address (determined by IP address) (<br>Default: 255)</p>                                                                          |
| Input       | `xUpdateActual`               | `BOOL`                           | FALSE        | <p>Update of actual values (on every rising edge<br>)</p>                                                                                    |
| Input       | `wBaseAdressMbusDevice`       | `WORD`                           | 10           | Modbus - base register for the information of the MBus device                                                                                |
| Input       | `wBaseAdressMbusValue`        | `WORD`                           | 20           | Modbus - base register for the information of the MBus value                                                                                 |
| Input       | `xResError`                   | `BOOL`                           | FALSE        | <p>Reinitialization of the outputs <code>eErrorCodeCom</code> in the<br>fault-free state (on each rising edge)</p>                           |
| Inout       | `ModbusClient`                | `ModbusClientBase`               |              | Client of the device                                                                                                                         |
| Output      | `liVal_Raw`                   | `LINT`                           |              | <p>Meter value in the format 64-bit integer - signed -<br>unscaled</p>                                                                       |
| Output      | `rVal_Raw_SF`                 | `REAL`                           |              | Scaling factor for `liVal_Raw`                                                                                                               |
| Output      | `liVal`                       | `LINT`                           |              | <p>Meter value in the format 64-bit integer - signed -<br>scaled (= <code>liVal\_Raw</code> x scaling factor <code>rVal\_Raw\_SF</code>)</p> |
| Output      | `rVal`                        | `REAL`                           |              | <p>Meter value in the format 32-bit floating-point IEEE 754 -<br>signed - scaled to <code>byValueUnit</code> (= final value<br>)</p>         |
| Output      | `rVal_kWh`                    | `REAL`                           |              | (`rVal` in kWh) x scaling factor `rVal_kWh_SF`                                                                                               |
| Output      | `eValUnit`                    | SOLVIMUS\_GE20\_MBUS\_UNIT\_TYPE |              | Unit of the meter value                                                                                                                      |
| Output      | `dtSysTime`                   | `DT`                             |              | <p>Timestamp of the MBus device (UTC, in Germany UTC +1 /<br>+2 h depending on summer / winter time)</p>                                     |
| Output      | `xAlarm`                      | `BOOL`                           | FALSE        | Collective fault (TRUE = fault)                                                                                                              |
| Output      | `xAlarmCom`                   | `BOOL`                           | FALSE        | Collective fault - communication (TRUE = fault)                                                                                              |
| Output      | `eErrorCodeCom`               | ModbusErrorCode                  |              | Error code - communication (0 = no error)                                                                                                    |
| Output      | `xBusy`                       | `BOOL`                           |              | Communication indicator (TRUE = communication)                                                                                               |
| Input Const | `wBaseAdressMbusDeviceOffset` | `WORD`                           | 10           | <p>Offset for calculating the base address (prerequisite:<br>xBaseAdressMode = TRUE)</p>                                                     |
| Input Const | `xBaseAdressMode`             | `BOOL`                           | FALSE        | Type of determination of the base address:                                                                                                   |
| Input Const | `diAdrOffset`                 | `DINT`                           | 0            | <p>Offset for calculating the Modbus addresses (from the Modbus<br>registers) (permitted range: -1, 0, +1)</p>                               |
| Input Const | `rVal_kWh_SF`                 | `REAL`                           | 1.0          | Scaling factor for the output `rVal_kWh`                                                                                                     |
| Input Const | `rVal_SF`                     | `REAL`                           | 1.0          | Scaling factor for the output `rVal`                                                                                                         |
| Input Const | `tTimeUpdateActual`           | `TIME`                           | TIME#1m0s0ms | <p>Update interval for the processes influenced by the input<br><code>xUpdateActual</code> influenced</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/en/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.
