> 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="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2FvfQTM1j7lRNP3xyPryXS%2FZIEHL_ABEGG.png?alt=media&amp;token=afdc552f-c453-4e95-bf88-5f04afbd532c" 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       | `xUpdateConfig`     | `BOOL`                                             | FALSE                                                                    | <p>Configuration update (on every rising<br>edge)</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       | `rSetp`             | `REAL`                                             | 0.0                                                                      | <p>Setpoint - Fan (0.0 - 100.0% or absolute speed<br>)</p>                                                                                                                            |
| Input       | `wPinCode`          | `WORD`                                             | 0                                                                        | <p>PIN code to trigger different functions (2143 =<br>Reset, 9095 = factory configuration)</p>                                                                                        |
| Input       | `xK1`               | `BOOL`                                             | FALSE                                                                    | <p>Change of the state of K1 (prerequisite: wK1Function =<br>17)</p>                                                                                                                  |
| Input       | `xMinSpeedOff`      | `BOOL`                                             | FALSE                                                                    | <p>Enable / disable the minimum speed (FALSE = no<br>blocking of the 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 rotation reversal 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 = blocked)                                                                                                                                      |
| Input       | `xFixedSpeed2`      | `BOOL`                                             | FALSE                                                                    | Enable / disable fixed speed 2 (FALSE = blocked)                                                                                                                                      |
| Input       | `xEnFan`            | `BOOL`                                             | FALSE                                                                    | Enable / disable of the fan (FALSE = disabled)                                                                                                                                        |
| Inout       | `ModbusClient`      | `ModbusClientBase`                                 |                                                                          | Client of the device                                                                                                                                                                  |
| Output      | `rSetpFb`           | `REAL`                                             |                                                                          | Feedback - Current setpoint                                                                                                                                                           |
| Output      | `rRatedSpeed`       | `REAL`                                             |                                                                          | Fan rated speed                                                                                                                                                                       |
| Output      | `rFirmwareVers`     | `REAL`                                             |                                                                          | Fan firmware version                                                                                                                                                                  |
| Output      | `rProductCode`      | `REAL`                                             |                                                                          | Fan product code                                                                                                                                                                      |
| Output      | `rParamSetID`       | `REAL`                                             |                                                                          | Fan parameter set identification                                                                                                                                                      |
| 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 temperature of the IGBT in XX.X degrees Celsius                                                                                                                               |
| Output      | `rInteriorTemp`     | `REAL`                                             |                                                                          | Current electronics temperature in XX.X degrees Celsius                                                                                                                               |
| Output      | `rMCUTemp`          | `REAL`                                             |                                                                          | Current temperature of the MCU 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 volume flow rate (prerequisite: Control<br>Mode = volume flow rate)</p>                                                                                         |
| Output      | `rPasswordLevel`    | `REAL`                                             |                                                                          | Current password level (0 - 3)                                                                                                                                                        |
| Output      | `rRemainServLife`   | `REAL`                                             |                                                                          | Current calculated remaining service life in hours                                                                                                                                    |
| Output      | `xOperationFan`     | `BOOL`                                             |                                                                          | Operating message of the fan (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 the active device faults (Input-<br>Register 12)</p>                                                                                                  |
| Output      | `stErrorCodeDev_2`  | `STRING`                                           |                                                                          | <p>String 2 with the numbers of the 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>Threshold - fault - remaining service life in h (range = 0.0 -<br>65535.0, 0.0 h = off)</p>                                                                                        |
| Input Const | `rWarningLifespan`  | `REAL`                                             | 0.0                                                                      | <p>Threshold - warning - remaining service life in h (range = 0.0 -<br>65535.0, 0.0 h = off)</p>                                                                                      |
| Input Const | `rDeviationFanBad`  | `REAL`                                             | 0.0                                                                      | <p>Threshold - control deviation set/actual speed in 1/min (<br>range = 0.0 - 255.0, 0.0 1/min = off)</p>                                                                             |
| Input Const | `tDelayFanBad`      | `TIME`                                             | TIME#0ms                                                                 | <p>Signal delay - control deviation set/actual speed in s (<br>range = 0.0 - 255.0, 0.0 s = off)</p>                                                                                  |
| Input Const | `rFade3Max`         | `REAL`                                             | 600.0                                                                    | <p>Maximum value - speed blanking range 3 in 1/min (range<br>= 0.0 - 9999.0)</p>                                                                                                      |
| Input Const | `rFade3Min`         | `REAL`                                             | 500.0                                                                    | <p>Minimum value - speed blanking range 3 in 1/min (range<br>= 0.0 - 9999.0)</p>                                                                                                      |
| Input Const | `rFade2Max`         | `REAL`                                             | 300.0                                                                    | <p>Maximum value - speed blanking range 2 in 1/min (range<br>= 0.0 - 9999.0)</p>                                                                                                      |
| Input Const | `rFade2Min`         | `REAL`                                             | 200.0                                                                    | <p>Minimum value - speed blanking range 2 in 1/min (range<br>= 0.0 - 9999.0)</p>                                                                                                      |
| Input Const | `rFade1Max`         | `REAL`                                             | 100.0                                                                    | <p>Maximum value - speed blanking range 1 in 1/min (range<br>= 0.0 - 9999.0)</p>                                                                                                      |
| Input Const | `rFade1Min`         | `REAL`                                             | 0.0                                                                      | <p>Minimum value - speed blanking range 1 in 1/min (range<br>= 0.0 - 9999.0)</p>                                                                                                      |
| Input Const | `rFadeFunction`     | `REAL`                                             | 0.0                                                                      | <p>Enable / disable the speed blanking ranges (0.0 =<br>no blanking)</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 duration (0 s = no watchdog function)                                                                                                                                        |
| Input Const | `rControllerSetup`  | `REAL`                                             | 513.0                                                                    | <p>Definition of the controller setup flags (functions see<br>a 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                                                                      | Function of digital input D1 (0.0 = off, 1.0 = fan enable)                                                                                                                            |
| Input Const | `rE1Function`       | `REAL`                                             | 0.0                                                                      | <p>Function of analog input E1 (0.0 = 0 - 10 V / PWM, 1.0 =<br>fan enable)</p>                                                                                                        |
| Input Const | `rE1Max`            | `REAL`                                             | 100.0                                                                    | <p>Final 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 blocked)</p>                                                                                                                  |
| Input Const | `xEnFixedSpeed2`    | `BOOL`                                             | FALSE                                                                    | <p>Option - enable / disable fixed speed 2 (FALSE =<br>option blocked)</p>                                                                                                            |
| Input Const | `xEnFixedSpeed3`    | `BOOL`                                             | FALSE                                                                    | <p>Option - enable / disable fixed speed 3 (FALSE =<br>option blocked)</p>                                                                                                            |
| Input Const | `xEnLimitMode`      | `BOOL`                                             | FALSE                                                                    | <p>Option - enable / disable limiting the speed to<br>rSpeedLimit (FALSE = option blocked)</p>                                                                                        |
| Input Const | `xEnChangeRotation` | `BOOL`                                             | FALSE                                                                    | <p>Option - enable / disable rotation reversal (FALSE<br>= option blocked)</p>                                                                                                        |
| Input Const | `xEnBypassTemp1`    | `BOOL`                                             | FALSE                                                                    | <p>Option - enable / disable bypassing temperature<br>management 1 (FALSE = option blocked)</p>                                                                                       |
| Input Const | `xEnBypassTemp2`    | `BOOL`                                             | FALSE                                                                    | <p>Option - enable / disable bypassing temperature<br>management 2 (FALSE = option blocked)</p>                                                                                       |
| Input Const | `eControlMode`      | ZIEHL\_ABEGG\_ECBLUE\_BASIC\_MODBUS\_CONTROL\_MODE | ZIEHL\_ABEGG\_ECBLUE\_BASIC\_MODBUS\_CONTROL\_MODE.SPEED\_PERCENT\_RSETP | Definition of operating mode (3 = rSetp - 0.0 - 100.0 %)                                                                                                                              |
| Input Const | `tTimeUpdateConfig` | `TIME`                                             | TIME#0ms                                                                 | <p>Update interval for the operations that are influenced by the input<br><code>xUpdateConfig</code> influenced</p>                                                                   |
| 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/ziehl-abegg/ziehl_abegg_ecblue_basic_modbus.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.
