# GUENTNER\_GMMNEXT

## `GUENTNER_GMMNEXT` (FB)

`FUNCTION_BLOCK` GUENTNER\_GMMNEXT

### Representation

<figure><img src="/files/4cfac7c68c1a80c394969502535373aef6818460" alt=""><figcaption></figcaption></figure>

InOut:

| Scope       | Name                | Type                                        | Initial                                                    | Comment                                                                                                                                                               |
| ----------- | ------------------- | ------------------------------------------- | ---------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Input       | `xEn`               | `BOOL`                                      | TRUE                                                       | Enable / disable communication (TRUE = enable)                                                                                                                        |
| Input       | `byUnitId`          | `BYTE`                                      | 0                                                          | Device address                                                                                                                                                        |
| Input       | `xUpdateActual`     | `BOOL`                                      | FALSE                                                      | <p>Update of actual values (on every rising edge<br>)</p>                                                                                                             |
| Input       | `xUpdateSetp`       | `BOOL`                                      | FALSE                                                      | <p>Update of setpoints (on every rising edge<br>)</p>                                                                                                                 |
| Input       | `xUpdateConfig`     | `BOOL`                                      | FALSE                                                      | <p>Update of the configuration (on every rising<br>edge) (read access)</p>                                                                                            |
| Input       | `xUpdateInfo`       | `BOOL`                                      | FALSE                                                      | Update of the information (on every rising edge)                                                                                                                      |
| Input       | `eOpControlMode`    | GUENTNER\_GMMNEXT\_OPERATION\_CONTROL\_MODE | GUENTNER\_GMMNEXT\_OPERATION\_CONTROL\_MODE.AUTO\_INTERNAL | <p>Operating mode of the control system — setpoint (Holding Register 305<br>)</p>                                                                                     |
| Input       | `xManualMode_Man`   | `BOOL`                                      | FALSE                                                      | <p>Enable manual operation in manual mode (TRUE =<br>manual operation is active) (Coil 265)</p>                                                                       |
| Input       | `xManualMode_Inv`   | `BOOL`                                      | FALSE                                                      | <p>Enable reverse operation in manual mode (TRUE =<br>reverse operation is active) (Coil 266)</p>                                                                     |
| Input       | `xNightLimit`       | `BOOL`                                      | FALSE                                                      | <p>Enable night limit via the internal timer<br>(TRUE = night limit enabled) (Coil 268)</p>                                                                           |
| Input       | `rManualModeSetp`   | `REAL`                                      | 0.0                                                        | <p>Control signal for the fans in manual mode (0.0 -<br>100.0 percent) (Holding Register 4099)</p>                                                                    |
| Input       | `rNightLimitSetp`   | `REAL`                                      | 0.0                                                        | <p>Control signal for the fans in night mode (0.0 -<br>100.0 percent) (Holding Register 4100)</p>                                                                     |
| Input       | `rSlaveExtBusSetp`  | `REAL`                                      | 0.0                                                        | <p>Control signal for the fans in the operating mode of<br>the control system <code>SLAVE\_EXTERNAL\_BUS</code> (0.0 - 100.0 percent) (<br>Holding Register 7762)</p> |
| 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      | `eOpControlModeFb`  | GUENTNER\_GMMNEXT\_OPERATION\_CONTROL\_MODE |                                                            | <p>Operating mode of the control system — feedback (Holding Register<br>305)</p>                                                                                      |
| Output      | `xManualMode_ManFb` | `BOOL`                                      | FALSE                                                      | <p>Status of enable for manual operation in manual mode (TRUE =<br>manual operation is active) — feedback (Coil 265)</p>                                              |
| Output      | `xManualMode_InvFb` | `BOOL`                                      | FALSE                                                      | <p>Status of enable for reverse operation in manual mode (TRUE<br>= reverse operation is active) — feedback (Coil 266)</p>                                            |
| Output      | `xNightLimitFb`     | `BOOL`                                      | FALSE                                                      | <p>Status of the night limit (TRUE = night limit is<br>active) — feedback (Discrete Input 267)</p>                                                                    |
| Output      | `rExtHumidity`      | `REAL`                                      |                                                            | <p>Relative humidity outdoors (percent) (Input<br>Register 4096)</p>                                                                                                  |
| Output      | `rExtTemp`          | `REAL`                                      |                                                            | <p>Temperature outdoors (in the selected unit) (<br>Input Register 4097)</p>                                                                                          |
| Output      | `rVolFlowFanPerc`   | `REAL`                                      |                                                            | <p>Volume flow of a fan (percent) (Input Register<br>4098)</p>                                                                                                        |
| Output      | `rTotalPowerFans`   | `REAL`                                      |                                                            | <p>Current energy consumption of all fans (watts) (<br>Input Register 4099)</p>                                                                                       |
| Output      | `rExtWetBulbTemp`   | `REAL`                                      |                                                            | <p>Wet-bulb temperature outdoors (in the selected<br>unit) (Input Register 4100)</p>                                                                                  |
| Output      | `xConLoop1Fb`       | `BOOL`                                      | FALSE                                                      | <p>Status of enable for control loop 1 (TRUE = control loop 1<br>is enabled) — feedback (Discrete Input 7171)</p>                                                     |
| Output      | `eConLoop1Medium`   | GUENTNER\_GMMNEXT\_CONTROL\_LOOP\_MEDIUM    |                                                            | Medium of control loop 1 (Input Register 4001)                                                                                                                        |
| Output      | `rConLoop1Temp`     | `REAL`                                      |                                                            | <p>Actual temperature value of control loop 1 (in the selected<br>unit) (= controlled variable) (Input Register 7488)</p>                                             |
| Output      | `rConLoop1SetpTemp` | `REAL`                                      |                                                            | <p>Setpoint temperature value of control loop 1 (in the<br>selected unit) (= reference variable) (Input Register<br>7498)</p>                                         |
| Output      | `rConLoop1Signal`   | `REAL`                                      |                                                            | <p>Control value for the fans of control loop 1 (percent<br>) (= manipulated variable) (Input Register 7508)</p>                                                      |
| Output      | `rConLoop1ExitTemp` | `REAL`                                      |                                                            | <p>Actual outlet temperature value of control loop 1 (in the<br>selected unit) (Input Register 8158)</p>                                                              |
| Output      | `xAlarmFans`        | `BOOL`                                      | FALSE                                                      | <p>Collective alarm of all fans (TRUE = at least one<br>fan has a malfunction) (Discrete Input 257<br>)</p>                                                           |
| Output      | `xAlarmSensors`     | `BOOL`                                      | FALSE                                                      | <p>Collective alarm of all sensors (TRUE = at least one sensor<br>has a malfunction) (Discrete Input 259)</p>                                                         |
| Output      | `xAlarmControl`     | `BOOL`                                      | FALSE                                                      | <p>Collective alarm of the control system - signal level - priority 1 (TRUE<br>= at least one error of this category is present) (<br>Discrete Input 260)</p>         |
| Output      | `xWarnControl`      | `BOOL`                                      | FALSE                                                      | <p>Collective alarm of the control system - signal level - priority 2 (TRUE<br>= at least one error of this category is present) (<br>Discrete Input 262)</p>         |
| Output      | `wModbusVersion`    | `WORD`                                      |                                                            | <p>Version of the Modbus interface (0 - 65535) (Input<br>Register 0)</p>                                                                                              |
| Output      | `eDeviceType`       | GUENTNER\_GMMNEXT\_DEVICE\_TYPE             |                                                            | Device variant (Input Register 1)                                                                                                                                     |
| Output      | `sSerialNum`        | `STRING`                                    |                                                            | Serial number of the device (Input Register 256 - 271)                                                                                                                |
| Output      | `sSoftwareVer`      | `STRING`                                    |                                                            | Software version of the device (Input Register 272 - 303)                                                                                                             |
| 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 | `eUnitSystem`       | GUENTNER\_GMMNEXT\_UNIT\_SYSTEM             | GUENTNER\_GMMNEXT\_UNIT\_SYSTEM.SI\_DEGREE\_CELSIUS\_BAR   | Definition of the unit system (Holding Register 1)                                                                                                                    |
| 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 | `tTimeUpdateInfo`   | `TIME`                                      | TIME#0ms                                                   | <p>Update interval for the processes influenced by the input<br><code>xUpdateInfo</code> influenced</p>                                                               |
| Input Const | `tTimeUpdateConfig` | `TIME`                                      | TIME#0ms                                                   | <p>Update interval for the processes influenced by the input<br><code>xUpdateConfig</code> influenced</p>                                                             |
| Input Const | `tTimeUpdateSetp`   | `TIME`                                      | TIME#45s0ms                                                | <p>Update interval for the processes influenced by the input<br><code>xUpdateSetp</code> influenced</p>                                                               |
| Input Const | `tTimeUpdateActual` | `TIME`                                      | TIME#3s0ms                                                 | <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/guentner/guentner_gmmnext.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.
