# BELIMO\_CQ24A\_BAC\_MOD

## `BELIMO_CQ24A_BAC_MOD` (FB)

`FUNCTION_BLOCK` BELIMO\_CQ24A\_BAC\_MOD

### **Representation**

<figure><img src="/files/fd8bf007b25305fa856e1988fefa1499bd3a9a4e" 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 (1 .. 247)                                                                                                                         |
| 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> or<br><code>sErrorCodeDev</code> to the fault-free state (on every rising edge)</p> |
| Input       | `rSetp`             | `REAL`                                | 0.0                                                      | Setpoint - position in % (0.0 - 100.0 %)                                                                                                          |
| Inout       | `ModbusClient`      | `ModbusClientBase`                    |                                                          | Client of the device                                                                                                                              |
| Output      | `rRelPos`           | `REAL`                                |                                                          | Relative position in XXX.X %                                                                                                                      |
| Output      | `rAbsPos`           | `REAL`                                |                                                          | Absolute position in XXX.X degrees (rotation)                                                                                                     |
| Output      | `eOverrideConFb`    | BELIMO\_OverrideControl               |                                                          | <p>Current state - forced override of the actuating signal -<br>position (0 = None)</p>                                                           |
| Output      | `sSerialNum`        | `STRING`                              |                                                          | Serial number of the device                                                                                                                       |
| 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      | `sErrorCodeDev`     | `STRING`                              |                                                          | String with the numbers of the active device errors                                                                                               |
| Output      | `xBusy`             | `BOOL`                                |                                                          | Communication indicator (TRUE = communication)                                                                                                    |
| Input Const | `eRelPosMode`       | BELIMO\_CQ24A\_BAC\_MOD\_RELPOS\_MODE | BELIMO\_CQ24A\_BAC\_MOD\_RELPOS\_MODE.RELATIVE\_TO\_RMAX |                                                                                                                                                   |
| Input Const | `eCommand`          | BELIMO\_Command                       | BELIMO\_Command.None                                     | Triggering of test functions (0 = None)                                                                                                           |
| Input Const | `wTimeBusFail`      | `WORD`                                | 0                                                        | <p>Duration of the bus watchdog timeout (60 - 3600s, 0 =<br>disabling)</p>                                                                        |
| Input Const | `rBusFailPos`       | `REAL`                                | 0.0                                                      | <p>Position in the event of a bus watchdog timeout in % (0.0 -<br>100.0 %)</p>                                                                    |
| Input Const | `rMax`              | `REAL`                                | 100.0                                                    | <p>Absolute maximum value - actuating signal - position in % (0.0 -<br>100.0 %)</p>                                                               |
| Input Const | `eOverrideCon`      | BELIMO\_OverrideControl               | BELIMO\_OverrideControl.None                             | Forced override of the actuating signal - position (0 = None)                                                                                     |
| 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/belimo/belimo_cq24a_bac_mod.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.
