# SOLVIMUS\_GE20M\_GATEWAY

## `SOLVIMUS_GE20M_GATEWAY` (FB)

`FUNCTION_BLOCK` SOLVIMUS\_GE20M\_GATEWAY

### Representation

<figure><img src="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2F3xX4vWVPOI7ZfFynSB7y%2FHVACModbus.SOLVIMUS_GE20M_GATEWAY.png?alt=media&#x26;token=0aea72b0-7dea-4fce-adcc-eb8daa2d29d1" alt=""><figcaption></figcaption></figure>

InOut:

| Scope       | Name                 | Type               | Initial      | Comment                                                                                                            |
| ----------- | -------------------- | ------------------ | ------------ | ------------------------------------------------------------------------------------------------------------------ |
| Input       | `xEn`                | `BOOL`             | TRUE         | Enable / disable communication (TRUE = enable)                                                                     |
| Input       | `byUnitId`           | `BYTE`             | 255          | Device address (specified by IP address)                                                                           |
| Input       | `xUpdateActual`      | `BOOL`             | FALSE        | <p>Update of actual values (on every rising edge<br>)</p>                                                          |
| Input       | `wBaseAdressGateway` | `WORD`             | 0            | Modbus - base register for the gateway information                                                                 |
| 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      | `dwSerialNum`        | `DWORD`            |              | Serial number of the gateway                                                                                       |
| Output      | `wMBUSProtocolVer`   | `WORD`             |              | Protocol version of the Modbus data                                                                                |
| Output      | `wSoftwareVer`       | `WORD`             |              | Software version of the gateway                                                                                    |
| Output      | `dtSysTime`          | `DT`               |              | <p>Timestamp of the gateway (UTC, in Germany UTC +1 / +2 h<br>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 | `diAdrOffset`        | `DINT`             | 0            | <p>Offset for calculating the Modbus addresses (from the Modbus<br>registers) (permitted range: -1, 0, +1)</p>     |
| Input Const | `tTimeUpdateActual`  | `TIME`             | TIME#1m0s0ms | <p>Update interval for the processes influenced by the input<br><code>xUpdateActual</code> influenced</p>          |
