> 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/ziehl-abegg/ziehl_abegg_ecblue_basic_modbus.md).

# ZIEHL\_ABEGG\_ECBLUE\_BASIC\_MODBUS

## `ZIEHL_ABEGG_ECBLUE_BASIC_MODBUS` (FB)

`FUNCTION_BLOCK` ZIEHL\_ABEGGCBLUE\_BASIC\_MODBUS

### Representation

<figure><img src="/files/30379db4025b5bb41a3f7dd86bf0bd08407666ba" 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                                                                    | Update of the configuration (on each rising edge)                                                                                                                                     |
| 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       | `rSetp`             | `REAL`                                             | 0.0                                                                      | <p>Setpoint - fan (0.0 - 100.0% or absolute speed<br>)</p>                                                                                                                            |
| Input       | `wPinCode`          | `WORD`                                             | 0                                                                        | <p>PIN code for triggering different functions (2143 =<br>Reset, 9095 = factory configuration)</p>                                                                                    |
| Input       | `xK1`               | `BOOL`                                             | FALSE                                                                    | <p>Change of state of K1 (prerequisite: wK1Function =<br>17)</p>                                                                                                                      |
| Input       | `xMinSpeedOff`      | `BOOL`                                             | FALSE                                                                    | <p>Enable / disable minimum speed (FALSE = no<br>disabling of minimum speed)</p>                                                                                                      |
| Input       | `xBypassTemp2`      | `BOOL`                                             | FALSE                                                                    | <p>Enable / disable bypassing temperature management 2<br>(FALSE = no bypass)</p>                                                                                                     |
| Input       | `xBypassTemp1`      | `BOOL`                                             | FALSE                                                                    | <p>Enable / disable bypassing temperature management 1<br>(FALSE = no bypass)</p>                                                                                                     |
| Input       | `xChangeRotation`   | `BOOL`                                             | FALSE                                                                    | <p>Enable / disable reversal of direction of rotation 1 (FALSE =<br>no reversal)</p>                                                                                                  |
| Input       | `xSpeedLimitMode`   | `BOOL`                                             | FALSE                                                                    | <p>Enable / disable limiting the speed to<br>rSpeedLimit (FALSE = no limitation)</p>                                                                                                  |
| Input       | `xFixedSpeed3`      | `BOOL`                                             | FALSE                                                                    | Enable / disable fixed speed 3 (FALSE = disabled)                                                                                                                                     |
| Input       | `xFixedSpeed2`      | `BOOL`                                             | FALSE                                                                    | Enable / disable fixed speed 2 (FALSE = disabled)                                                                                                                                     |
| Input       | `xEnFan`            | `BOOL`                                             | FALSE                                                                    | Enable / lockout of the fan (FALSE = lockout)                                                                                                                                         |
| Inout       | `ModbusClient`      | `ModbusClientBase`                                 |                                                                          | Client of the device                                                                                                                                                                  |
| Output      | `rSetpFb`           | `REAL`                                             |                                                                          | Feedback - Current setpoint                                                                                                                                                           |
| Output      | `rRatedSpeed`       | `REAL`                                             |                                                                          | Rated speed of the fan                                                                                                                                                                |
| Output      | `rFirmwareVers`     | `REAL`                                             |                                                                          | Firmware version of the fan                                                                                                                                                           |
| Output      | `rProductCode`      | `REAL`                                             |                                                                          | Product identifier of the fan                                                                                                                                                         |
| Output      | `rParamSetID`       | `REAL`                                             |                                                                          | Parameter set identification of the fan                                                                                                                                               |
| Output      | `rState_1`          | `REAL`                                             |                                                                          | Current operating state (Input Register 10)                                                                                                                                           |
| Output      | `rSpeed`            | `REAL`                                             |                                                                          | Current number of revolutions per minute                                                                                                                                              |
| Output      | `rCurrent`          | `REAL`                                             |                                                                          | Current motor current in X.XX A                                                                                                                                                       |
| Output      | `rDCVolt`           | `REAL`                                             |                                                                          | Current intermediate circuit voltage (DC) in volts                                                                                                                                    |
| Output      | `rMainsVolt`        | `REAL`                                             |                                                                          | Current mains voltage (peak value) in volts                                                                                                                                           |
| Output      | `rIGBTTemp`         | `REAL`                                             |                                                                          | Current IGBT temperature in XX.X degrees Celsius                                                                                                                                      |
| Output      | `rInteriorTemp`     | `REAL`                                             |                                                                          | Current electronics temperature in XX.X degrees Celsius                                                                                                                               |
| Output      | `rMCUTemp`          | `REAL`                                             |                                                                          | Current MCU temperature in XX.X degrees Celsius                                                                                                                                       |
| Output      | `rAI1Value`         | `REAL`                                             |                                                                          | <p>Current value at analog input 1 in percent (0.0 - 100.0 %<br>)</p>                                                                                                                 |
| Output      | `rModLevel`         | `REAL`                                             |                                                                          | Current modulation level (0.0 - 100.0%)                                                                                                                                               |
| Output      | `rPower`            | `REAL`                                             |                                                                          | Current power consumption in watts                                                                                                                                                    |
| Output      | `rOperatingHours`   | `REAL`                                             |                                                                          | Current number of operating hours                                                                                                                                                     |
| Output      | `rVolumeFlow`       | `REAL`                                             |                                                                          | <p>Current calculated airflow rate (prerequisite: Control<br>Mode = airflow rate)</p>                                                                                                 |
| Output      | `rPasswordLevel`    | `REAL`                                             |                                                                          | Current password level (0 - 3)                                                                                                                                                        |
| Output      | `rRemainServLife`   | `REAL`                                             |                                                                          | Current calculated remaining service life in hours                                                                                                                                    |
| Output      | `xOperationFan`     | `BOOL`                                             |                                                                          | Fan operation message (FALSE = Off)                                                                                                                                                   |
| 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_1`  | `STRING`                                           |                                                                          | <p>String 1 with the numbers of active device faults (Input-<br>Register 12)</p>                                                                                                      |
| Output      | `stErrorCodeDev_2`  | `STRING`                                           |                                                                          | <p>String 2 with the numbers of active device faults (Input-<br>Register 13, Bits 15 - 8))</p>                                                                                        |
| Output      | `rErrorCodeCause`   | `REAL`                                             |                                                                          | Code with the cause of the highest-priority fault                                                                                                                                     |
| Output      | `stWarningCodeDev`  | `STRING`                                           |                                                                          | String with the numbers of the active device warnings                                                                                                                                 |
| Output      | `rWarningCodeCause` | `REAL`                                             |                                                                          | Code with the cause of the highest-priority warning                                                                                                                                   |
| Output      | `xBusy`             | `BOOL`                                             |                                                                          | Communication indicator (TRUE = communication)                                                                                                                                        |
| Input Const | `rAlarmLifespan`    | `REAL`                                             | 0.0                                                                      | <p>Limit value - fault - remaining service life in h (range = 0.0 -<br>65535.0, 0.0 h = off)</p>                                                                                      |
| Input Const | `rWarningLifespan`  | `REAL`                                             | 0.0                                                                      | <p>Limit value - warning - remaining service life in h (range = 0.0 -<br>65535.0, 0.0 h = off)</p>                                                                                    |
| Input Const | `rDeviationFanBad`  | `REAL`                                             | 0.0                                                                      | <p>Limit value - control deviation target/actual speed in 1/min (<br>range = 0.0 - 255.0, 0.0 1/min = off)</p>                                                                        |
| Input Const | `tDelayFanBad`      | `TIME`                                             | TIME#0ms                                                                 | <p>Notification delay - control deviation target/actual speed in s (<br>range = 0.0 - 255.0, 0.0s = off)</p>                                                                          |
| Input Const | `rFade3Max`         | `REAL`                                             | 600.0                                                                    | <p>Maximum value - speed fade-out range 3 in 1/min (range<br>= 0.0 - 9999.0)</p>                                                                                                      |
| Input Const | `rFade3Min`         | `REAL`                                             | 500.0                                                                    | <p>Minimum value - speed fade-out range 3 in 1/min (range<br>= 0.0 - 9999.0)</p>                                                                                                      |
| Input Const | `rFade2Max`         | `REAL`                                             | 300.0                                                                    | <p>Maximum value - speed fade-out range 2 in 1/min (range<br>= 0.0 - 9999.0)</p>                                                                                                      |
| Input Const | `rFade2Min`         | `REAL`                                             | 200.0                                                                    | <p>Minimum value - speed fade-out range 2 in 1/min (range<br>= 0.0 - 9999.0)</p>                                                                                                      |
| Input Const | `rFade1Max`         | `REAL`                                             | 100.0                                                                    | <p>Maximum value - speed fade-out range 1 in 1/min (range<br>= 0.0 - 9999.0)</p>                                                                                                      |
| Input Const | `rFade1Min`         | `REAL`                                             | 0.0                                                                      | <p>Minimum value - speed fade-out range 1 in 1/min (range<br>= 0.0 - 9999.0)</p>                                                                                                      |
| Input Const | `rFadeFunction`     | `REAL`                                             | 0.0                                                                      | <p>Enable / disable speed fade-out ranges (0.0 =<br>no fade-out)</p>                                                                                                                  |
| Input Const | `rSpeedLimit`       | `REAL`                                             | 75.0                                                                     | <p>Limitation of the speed in percent (if enabled,<br>range: 0.0 - 100.0 %)</p>                                                                                                       |
| Input Const | `rWatchdogFunction` | `REAL`                                             | 0.0                                                                      | Watchdog - function (0.0 = no watchdog function)                                                                                                                                      |
| Input Const | `tWatchdogTime`     | `TIME`                                             | TIME#0ms                                                                 | Watchdog - time duration (0s = no watchdog function)                                                                                                                                  |
| Input Const | `rControllerSetup`  | `REAL`                                             | 513.0                                                                    | <p>Definition of the controller setup flags (functions see<br>the manual)</p>                                                                                                         |
| Input Const | `rK1Function`       | `REAL`                                             | 2.0                                                                      | <p>Function of relay K1 (0.0 = off, 1.0 = fan operation,<br>2.0 = fan fault)</p>                                                                                                      |
| Input Const | `rD1Function`       | `REAL`                                             | 1.0                                                                      | <p>Function of digital input D1 (0.0 = off, 1.0 = fan<br>enable)</p>                                                                                                                  |
| Input Const | `rE1Function`       | `REAL`                                             | 0.0                                                                      | <p>Function of analog input E1 (0.0 = 0 - 10V / PWM, 1.0 =<br>fan enable)</p>                                                                                                         |
| Input Const | `rE1Max`            | `REAL`                                             | 100.0                                                                    | <p>End value for analog input E1 in percent (range:<br>rE1Min = 100.0)</p>                                                                                                            |
| Input Const | `rE1Min`            | `REAL`                                             | 5.0                                                                      | <p>Start value for analog input E1 in percent (range: 0.0<br>= rE1Max)</p>                                                                                                            |
| Input Const | `rInvE1D1K1`        | `REAL`                                             | 0.0                                                                      | <p>Inversion of inputs/outputs E1, D1 and K1 (0.0 = no<br>inversion)</p>                                                                                                              |
| Input Const | `rFixedSpeed3`      | `REAL`                                             | 3000.0                                                                   | Fixed speed 3 in 1/min (range rSpeedMin - rSpeedMax)                                                                                                                                  |
| Input Const | `rSpeedMax`         | `REAL`                                             | 3000.0                                                                   | <p>Absolute maximum speed in 1/min (range rSpeedMin -<br>rRatedSpeed)</p>                                                                                                             |
| Input Const | `rSpeedMin`         | `REAL`                                             | 0.0                                                                      | <p>Absolute minimum speed in 1/min (range 0.0 -<br>rRatedSpeed)</p>                                                                                                                   |
| Input Const | `rFixedSpeed2`      | `REAL`                                             | 2000.0                                                                   | Fixed speed 2 in 1/min (range rSpeedMin - rSpeedMax)                                                                                                                                  |
| Input Const | `rFixedSpeed1`      | `REAL`                                             | 1000.0                                                                   | Fixed speed 1 in 1/min (range rSpeedMin - rSpeedMax)                                                                                                                                  |
| Input Const | `xEnEnFan`          | `BOOL`                                             | TRUE                                                                     | <p>Option - enable / disable the fan (FALSE =<br>option disabled)</p>                                                                                                                 |
| Input Const | `xEnFixedSpeed2`    | `BOOL`                                             | FALSE                                                                    | <p>Option - enable / disable fixed speed 2 (FALSE =<br>option disabled)</p>                                                                                                           |
| Input Const | `xEnFixedSpeed3`    | `BOOL`                                             | FALSE                                                                    | <p>Option - enable / disable fixed speed 3 (FALSE =<br>option disabled)</p>                                                                                                           |
| Input Const | `xEnLimitMode`      | `BOOL`                                             | FALSE                                                                    | <p>Option - enable / disable limiting the speed to<br>rSpeedLimit (FALSE = option disabled)</p>                                                                                       |
| Input Const | `xEnChangeRotation` | `BOOL`                                             | FALSE                                                                    | <p>Option - enable / disable reversal of direction of rotation (FALSE<br>= option disabled)</p>                                                                                       |
| Input Const | `xEnBypassTemp1`    | `BOOL`                                             | FALSE                                                                    | Option - enable / disable bypassing temperature management 1 (FALSE = option disabled)                                                                                                |
| Input Const | `xEnBypassTemp2`    | `BOOL`                                             | FALSE                                                                    | Option - enable / disable bypassing temperature management 2 (FALSE = option disabled)                                                                                                |
| Input Const | `eControlMode`      | ZIEHL\_ABEGG\_ECBLUE\_BASIC\_MODBUS\_CONTROL\_MODE | ZIEHL\_ABEGG\_ECBLUE\_BASIC\_MODBUS\_CONTROL\_MODE.SPEED\_PERCENT\_RSETP | Specification of the operating mode (3 = rSetp - 0.0 - 100.0 %)                                                                                                                       |
| 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
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/ziehl-abegg/ziehl_abegg_ecblue_basic_modbus.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.
