# TROX\_FSL\_CONTROL\_3

## `TROX_FSL_CONTROL_3` (FB)

`FUNCTION_BLOCK` TROX\_FSL\_CONTROL\_3

### Representation

<figure><img src="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2FUDmA4w78X6iMOpIETxxj%2FHVACModbus.TROX_FSL_CONTROL_3.png?alt=media&#x26;token=a09e0f11-e100-4f03-8957-6f9896312a98" 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       | `eOpMode`                | TROX\_FSL\_CONTROL\_3\_OP\_MODE           | TROX\_FSL\_CONTROL\_3\_OP\_MODE.OFF                    | Operating mode of the device — preset                                                                              |
| Input       | `eOpType`                | TROX\_FSL\_CONTROL\_3\_OP\_TYPE           | TROX\_FSL\_CONTROL\_3\_OP\_TYPE.STANDBY                | Operating mode of the device — default                                                                             |
| Input       | `eOpTypeOverride`        | TROX\_FSL\_CONTROL\_3\_OP\_TYPE\_OVERRIDE | TROX\_FSL\_CONTROL\_3\_OP\_TYPE\_OVERRIDE.NO\_OVERRIDE | Operating mode override of the device — default                                                                    |
| Input       | `rTempOda`               | `REAL`                                    | 0.0                                                    | Current outdoor temperature in degrees Celsius — default                                                           |
| Input       | `rTempLimitCoolPresence` | `REAL`                                    | 22.2                                                   | Upper room temperature limit for cooling in degrees Celsius in presence mode — default                             |
| Input       | `rTempLimitHeatPresence` | `REAL`                                    | 21.8                                                   | Lower room temperature limit for heating in degrees Celsius in presence mode — default                             |
| Input       | `rTempRoom`              | `REAL`                                    | 20.0                                                   | Current room temperature in degrees Celsius — default                                                              |
| Input       | `rSpTempRoom`            | `REAL`                                    | 22.0                                                   | Current room setpoint temperature in degrees Celsius — default                                                     |
| Input       | `rSpTempRoomOffset`      | `REAL`                                    | 0.0                                                    | Current room setpoint temperature offset in degrees Celsius — default                                              |
| Input       | `rSpTempSupply`          | `REAL`                                    | 22.0                                                   | Current supply air setpoint temperature in degrees Celsius — default                                               |
| Input       | `rSpTempSupplyOffset`    | `REAL`                                    | 0.0                                                    | Current supply air setpoint temperature offset in degrees Celsius — default                                        |
| Input       | `rRoomHumidity`          | `REAL`                                    | 50.0                                                   | Relative room humidity in percent — default                                                                        |
| Input       | `xChangeOver`            | `BOOL`                                    | FALSE                                                  | Notification of the connected medium (FALSE = heating medium, TRUE = cooling medium) — default                     |
| Input       | `rSpFanLevel`            | `REAL`                                    | 3.0                                                    | Setpoint for fan speed (1.0 = level 1, 2.0 = level 2, … 5.0 = level 5) — default                                   |
| Input       | `rRoomAirQuality`        | `REAL`                                    | 700.0                                                  | Room air quality in ppm — default                                                                                  |
| Input       | `rOutsAirQuality`        | `REAL`                                    | 400.0                                                  | Outdoor air quality in ppm — default                                                                               |
| Input       | `rVolumeFlowDiff`        | `REAL`                                    | 0.0                                                    | Volume flow difference in m3/h                                                                                     |
| Input       | `xFire`                  | `BOOL`                                    | FALSE                                                  | Status of fire alarm (TRUE = active) — default                                                                     |
| Input       | `xWindow`                | `BOOL`                                    | FALSE                                                  | Status of window contact (TRUE = active) — default                                                                 |
| Input       | `xExtraTime`             | `BOOL`                                    | FALSE                                                  | Status of overtime activation (TRUE = active) — default                                                            |
| Input       | `xFilterReset`           | `BOOL`                                    | FALSE                                                  | Status of filter reset (TRUE = active) — default                                                                   |
| Input       | `xResError`              | `BOOL`                                    | FALSE                                                  | <p>Reinitialization of the outputs <code>eErrorCodeCom</code> in the<br>fault-free state (on each rising edge)</p> |
| Inout       | `ModbusClient`           | `ModbusClientBase`                        |                                                        | Client of the device                                                                                               |
| Output      | `eOpModeFb`              | TROX\_FSL\_CONTROL\_3\_OP\_MODE           |                                                        | Operating mode of the device — feedback                                                                            |
| Output      | `eOpTypeFb`              | TROX\_FSL\_CONTROL\_3\_OP\_TYPE           |                                                        | Operating mode of the device — feedback                                                                            |
| Output      | `eOpTypeOverrideFb`      | TROX\_FSL\_CONTROL\_3\_OP\_TYPE\_OVERRIDE |                                                        | Operating mode override of the device — feedback                                                                   |
| Output      | `eOpStateFB`             | TROX\_FSL\_CONTROL\_3\_OP\_STATE          |                                                        | Operating status of the device — feedback                                                                          |
| Output      | `eVentTypeFb`            | TROX\_FSL\_CONTROL\_3\_VENT\_TYPE         |                                                        | Ventilation type of the device — feedback                                                                          |
| Output      | `rTempSupplyFb`          | `REAL`                                    |                                                        | Current supply air temperature in degrees Celsius — feedback                                                       |
| Output      | `rTempOdaFb`             | `REAL`                                    |                                                        | Current outdoor temperature in degrees Celsius — feedback                                                          |
| Output      | `rTempRoomFb`            | `REAL`                                    |                                                        | Current room temperature in degrees Celsius — feedback                                                             |
| Output      | `rTempReturnFlowFb`      | `REAL`                                    |                                                        | Current return temperature in degrees Celsius — feedback                                                           |
| Output      | `rTempFlowFb`            | `REAL`                                    |                                                        | Current flow temperature in degrees Celsius — feedback                                                             |
| Output      | `rTempOffsetFb`          | `REAL`                                    |                                                        | Current room/supply air temperature offset in degrees Celsius — feedback                                           |
| Output      | `xExtraTimeFb`           | `BOOL`                                    |                                                        | Status of overtime activation (TRUE = active) — feedback                                                           |
| Output      | `rTempLimitCoolFb`       | `REAL`                                    |                                                        | Upper room temperature limit for cooling in degrees Celsius — feedback                                             |
| Output      | `rTempLimitHeatFb`       | `REAL`                                    |                                                        | Lower room temperature limit for heating in degrees Celsius — feedback                                             |
| Output      | `rTempSetpSupplyFb`      | `REAL`                                    |                                                        | Supply air setpoint temperature in degrees Celsius — feedback                                                      |
| Output      | `eFanLevelFb`            | TROX\_FSL\_CONTROL\_3\_FAN\_LEVEL         |                                                        | Fan speed of the device — feedback                                                                                 |
| Output      | `rRoomHumidityFb`        | `REAL`                                    |                                                        | Relative room humidity in percent — feedback                                                                       |
| Output      | `rRoomAirQualityFb`      | `REAL`                                    |                                                        | Room air quality in ppm — feedback                                                                                 |
| Output      | `rVolumeFlowOdaFb`       | `REAL`                                    |                                                        | Volume flow in outdoor air in m3/h — feedback                                                                      |
| Output      | `rVolumeFlowExhFb`       | `REAL`                                    |                                                        | Volume flow in exhaust air in m3/h — feedback                                                                      |
| Output      | `xWindowFb`              | `BOOL`                                    |                                                        | Status of window contact (TRUE = active) — feedback                                                                |
| Output      | `xFireFb`                | `BOOL`                                    |                                                        | Status of fire alarm (TRUE = active) — feedback                                                                    |
| Output      | `rSystemDevices`         | `REAL`                                    |                                                        | Number of devices in the network (1x master and 1x slave = 2 devices)                                              |
| Output      | `eDemandRoom`            | TROX\_FSL\_CONTROL\_3\_DEMAND\_ROOM       |                                                        | Display of the room heating / cooling demand                                                                       |
| Output      | `eDemandSupply`          | TROX\_FSL\_CONTROL\_3\_DEMAND\_SUPPLY     |                                                        | Display of the supply air heating / cooling demand                                                                 |
| Output      | `rValvePosHeatMas`       | `REAL`                                    |                                                        | Control - heating valve - master in percent                                                                        |
| Output      | `rValvePosCoolMas`       | `REAL`                                    |                                                        | Control - cooling valve - master in percent                                                                        |
| Output      | `arrTempSupplySla`       | `ARRAY` \[1 .. 10] `OF` `REAL`            |                                                        | Current supply air temperatures of the slaves \[ Slave 1 - Slave 10 ] in degrees Celsius                           |
| Output      | `arrValvePosHeatSla`     | `ARRAY` \[1 .. 10] `OF` `REAL`            |                                                        | Current control signals for the heating valves of the slaves \[ Slave 1 - Slave 10 ] in degrees Celsius            |
| Output      | `arrValvePosCoolSla`     | `ARRAY` \[1 .. 10] `OF` `REAL`            |                                                        | Current control signals for the cooling valves of the slaves \[ Slave 1 - Slave 10 ] in degrees Celsius            |
| Output      | `sAlarmA`                | `STRING`                                  |                                                        | Collective fault - Alarm A (partially shut down)                                                                   |
| Output      | `sAlarmB`                | `STRING`                                  |                                                        | Collective fault - Alarm B (non-shut-down)                                                                         |
| 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      | `xBusy`                  | `BOOL`                                    |                                                        | Communication indicator (TRUE = communication)                                                                     |
| Input Const | `diAdrOffset`            | `DINT`                                    | 0                                                      | <p>Offset for calculating the Modbus addresses (from the Modbus<br>registers) (permitted range: -1, 0, +1)</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>          |
