> 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/rosenberg/rosenberg_fan_ec_motor_bg5_6_gen3.md).

# 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="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2Fo8NKG9BdvM1gysztqmG8%2FHVACModbus.ROSENBERG_FAN_EC_MOTOR_BG5_6_GEN3.png?alt=media&amp;token=3183b0c8-75dc-45eb-b9cd-fa7c331f2914" alt=""><figcaption></figcaption></figure>

InOut:

| Scope       | Name                | Type                                         | Initial                                                          | Comment                                                                                                                                                                               |
| ----------- | ------------------- | -------------------------------------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Input       | `xEn`               | `BOOL`                                       | TRUE                                                             | Enable / disable communication (TRUE = enable)                                                                                                                                        |
| Input       | `byUnitId`          | `BYTE`                                       | 0                                                                | Address of the device                                                                                                                                                                 |
| 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 fault-free<br>state (at every rising edge)</p> |
| Input       | `xResAlarm`         | `BOOL`                                       | FALSE                                                            | Reset of 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`                                       |                                                                  | Consumed electrical power in W                                                                                                                                                        |
| Output      | `xOperationFan`     | `BOOL`                                       |                                                                  | Operating message of the fan (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 an error ‘Speed < Minimum’ in<br>RPM (0 = error 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 | Volatility of the setpoint (0 = volatile // 1 = non-volatile))                                                                                                                        |
| 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 operations that are influenced by the input<br><code>xUpdateSetp</code> influenced</p>                                                                     |
| Input Const | `tTimeUpdateActual` | `TIME`                                       | TIME#3s0ms                                                       | <p>Update interval for the operations that are 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
