# ROSENBERG\_FAN\_EC\_MOTOR\_BG5\_6\_GEN3

## `ROSENBERG_FAN_EC_MOTOR_BG5_6_GEN3` (FB)

`FUNCTION_BLOCK` ROSENBERG\_FAN\_EC\_MOTOR\_BG5\_6\_GEN3

### Representation

<figure><img src="/files/2371492c37275133475919b7653266be6e37dc9b" 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       | `xResError`         | `BOOL`                                       | FALSE                                                            | <p>Reinitialization of the outputs <code>eErrorCodeCom</code>,<br><code>stErrorCodeDev</code> and <code>stWarningCodeDev</code> in the error-free<br>state (on every rising edge)</p> |
| Input       | `xResAlarm`         | `BOOL`                                       | FALSE                                                            | Resetting faults in the fan (TRUE = reset)                                                                                                                                            |
| Input       | `xEnFan`            | `BOOL`                                       | FALSE                                                            | Enable / disable the fan (TRUE = enable)                                                                                                                                              |
| Input       | `rSetp`             | `REAL`                                       | 0.0                                                              | Setpoint - fan (control: 0.0% - 100.0%)                                                                                                                                               |
| Inout       | `ModbusClient`      | `ModbusClientBase`                           |                                                                  | Client of the device                                                                                                                                                                  |
| Output      | `wFirmware`         | `WORD`                                       |                                                                  | Firmware of the fan                                                                                                                                                                   |
| Output      | `rSpeed`            | `REAL`                                       |                                                                  | Number of revolutions per minute                                                                                                                                                      |
| Output      | `rTemp_Internal`    | `REAL`                                       |                                                                  | Internal temperature in °C                                                                                                                                                            |
| Output      | `rPower_In`         | `REAL`                                       |                                                                  | Electrical power consumed in W                                                                                                                                                        |
| Output      | `xOperationFan`     | `BOOL`                                       |                                                                  | Fan operation message (FALSE = Off)                                                                                                                                                   |
| Output      | `eRotation_Fb`      | FAN\_EC\_MOTOR\_BG5\_6\_GEN3\_ROTATION\_MODE | FAN\_EC\_MOTOR\_BG5\_6\_GEN3\_ROTATION\_MODE.CLOCKWISE           | Direction of rotation                                                                                                                                                                 |
| Output      | `eControlMode_Fb`   | FAN\_EC\_MOTOR\_BG5\_6\_GEN3\_CONTROL\_MODE  | FAN\_EC\_MOTOR\_BG5\_6\_GEN3\_CONTROL\_MODE.MODBUS               | Operating mode (0 = Modbus // 1 = AE1 (0-10V))                                                                                                                                        |
| 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      | `stErrorCodeDev`    | `STRING`                                     |                                                                  | String with the numbers of the active device errors                                                                                                                                   |
| Output      | `stWarningCodeDev`  | `STRING`                                     |                                                                  | String with the numbers of the active device warnings                                                                                                                                 |
| Output      | `xBusy`             | `BOOL`                                       |                                                                  | Communication indicator (TRUE = communication)                                                                                                                                        |
| Input Const | `rLowSpeedLimit`    | `REAL`                                       | 0.0                                                              | <p>Speed for triggering a fault 'Speed < Minimum' in<br>RPM (0 = fault disabled, >0 = monitoring active)</p>                                                                          |
| Input Const | `rAE1_Voltage_Max`  | `REAL`                                       | 9.5                                                              | <p>Analog input 1 - setpoint: voltage for the setpoint<br><code>rAE1\_Speed\_Max</code> in X.Y V (0.0 - 10.0 V)</p>                                                                   |
| Input Const | `rAE1_Voltage_Min`  | `REAL`                                       | 1.0                                                              | <p>Analog input 1 - setpoint: voltage for the setpoint<br><code>rAE1\_Speed\_Min</code> in X.Y V (0.0 - 10.0 V)</p>                                                                   |
| Input Const | `rAE1_Speed_Max`    | `REAL`                                       | 1000.0                                                           | <p>Analog input 1 - setpoint: speed for the voltage<br><code>rAE1\_Voltage\_2</code> in RPM</p>                                                                                       |
| Input Const | `rAE1_Speed_Min`    | `REAL`                                       | 200.0                                                            | <p>Analog input 1 - setpoint: speed for the voltage<br><code>rAE1\_Voltage\_1</code> in RPM</p>                                                                                       |
| Input Const | `rAE1_Speed_Low`    | `REAL`                                       | 0.0                                                              | <p>Analog input 1 - setpoint: speed for voltages <<br><code>rAE1\_Voltage\_1</code> in RPM</p>                                                                                        |
| Input Const | `eSetpMode`         | FAN\_EC\_MOTOR\_BG5\_6\_GEN3\_SETP\_MODE     | FAN\_EC\_MOTOR\_BG5\_6\_GEN3\_SETP\_MODE.SETPOINT\_NOT\_VOLATILE | <p>Volatility of the setpoint (0 = volatile // 1 = non-<br>volatile))</p>                                                                                                             |
| Input Const | `eControlMode`      | FAN\_EC\_MOTOR\_BG5\_6\_GEN3\_CONTROL\_MODE  | FAN\_EC\_MOTOR\_BG5\_6\_GEN3\_CONTROL\_MODE.MODBUS               | Operating mode (0 = Modbus // 1 = AE1 (0-10V))                                                                                                                                        |
| Input Const | `eRotation`         | FAN\_EC\_MOTOR\_BG5\_6\_GEN3\_ROTATION\_MODE | FAN\_EC\_MOTOR\_BG5\_6\_GEN3\_ROTATION\_MODE.CLOCKWISE           | Direction of rotation                                                                                                                                                                 |
| 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/rosenberg/rosenberg_fan_ec_motor_bg5_6_gen3.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.
