> 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/en/hvac-modbus-library/functionblocks/solvimus/solvimus_ge20_mbus_value.md).

# SOLVIMUS\_GE20\_MBUS\_VALUE

## `SOLVIMUS_GE20_MBUS_VALUE` (FB)

`FUNCTION_BLOCK` SOLVIMUS\_GE20\_MBUS\_VALUE

### Representation

<figure><img src="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2FQgsWkUgRHAKELWVokVL0%2FHVACModbus.SOLVIMUS_GE20_MBUS_VALUE.png?alt=media&amp;token=c0f3569f-2344-49e7-a6de-087cb87bb755" 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
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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://support.powerio.com/hub/codesys-hvac/en/hvac-modbus-library/functionblocks/solvimus/solvimus_ge20_mbus_value.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
