# BELIMO\_LMV\_D3

## `BELIMO_LMV_D3` (FB)

FUNCTION\_BLOCK BELIMO\_LMV\_D3

InOut:

| Scope       | Name                    | Type                              | Initial                                      | Comment                                                                                                                                                                                                                          |
| ----------- | ----------------------- | --------------------------------- | -------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Input       | `xEn`                   | `BOOL`                            | TRUE                                         | Enable / disable communication ( TRUE = enabled )                                                                                                                                                                                |
| 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 setpoint values (on every rising edge<br>)</p>                                                                                                                                                                      |
| Input       | `xResError`             | `BOOL`                            | FALSE                                        | <p>Reinitialization of the outputs ‘eErrorCodeCom’ and/or<br>‘stErrorCodeDev’ to the no-error state (on every<br>rising edge)</p>                                                                                                |
| Input       | `rSetpVolFlowPerc`      | `REAL`                            | 0.0                                          | <p>Setpoint - volumetric flow in % (0.0 - 100.0 %) (0.0 % =<br>Vmin, 100.0 % = Vmax)</p>                                                                                                                                         |
| Input       | `xEnDevice`             | `BOOL`                            | FALSE                                        | <p>Enable / disable of the volumetric flow controller (FALSE =<br>forced control CLOSED, TRUE = forced control NONE)</p>                                                                                                         |
| Inout       | `ModbusClient`          | `ModbusClientBase`                |                                              | Client of the device                                                                                                                                                                                                             |
| Output      | `rVminUnit`             | `REAL`                            |                                              | <p>Minimum value - volumetric flow in the selected<br>volumetric flow unit</p>                                                                                                                                                   |
| Output      | `rVmaxUnit`             | `REAL`                            |                                              | <p>Maximum value - volumetric flow in the selected<br>volumetric flow unit</p>                                                                                                                                                   |
| Output      | `rVnomUnit`             | `REAL`                            |                                              | <p>Nominal volumetric flow in the selected volumetric<br>flow unit</p>                                                                                                                                                           |
| Output      | `rDamperPosPerc`        | `REAL`                            |                                              | <p>Absolute position of the damper in percent (0.0% =<br>Closed, 100.0% = Open)</p>                                                                                                                                              |
| Output      | `rDamperPosDegree`      | `REAL`                            |                                              | Absolute position of the damper in degrees                                                                                                                                                                                       |
| Output      | `rVolFlowPerc`          | `REAL`                            |                                              | <p>Actual value of the volumetric flow in percent of the<br>nominal volumetric flow</p>                                                                                                                                          |
| Output      | `rVolFlowUnit`          | `REAL`                            |                                              | <p>Actual value of the volumetric flow in the selected<br>volumetric flow unit</p>                                                                                                                                               |
| Output      | `rSetpVolFlowPercFb`    | `REAL`                            |                                              | <p>Feedback of the setpoint - volumetric flow in % (0.0 - 100.0 %<br>) (0.0 % = Vmin, 100.0 % = Vmax)</p>                                                                                                                        |
| Output      | `eCommandFb`            | BELIMO\_LMV\_D3\_COMMAND          |                                              | Feedback of the triggering of test functions (0 = none)                                                                                                                                                                          |
| Output      | `eOverrideConFb`        | BELIMO\_LMV\_D3\_OVERRIDE\_CON    |                                              | <p>Feedback of the forced override of the damper (0 =<br>none)</p>                                                                                                                                                               |
| Output      | `eActuatorType`         | BELIMO\_LMV\_D3\_ACTUATOR\_TYPE   |                                              | Type of the actuator                                                                                                                                                                                                             |
| Output      | `eVolumeFlowUnitFb`     | BELIMO\_LMV\_D3\_VOLUMEFLOW\_UNIT |                                              | <p>Feedback of the unit for the absolute volumetric flow<br>values (1 = m3/h)</p>                                                                                                                                                |
| Output      | `eSetpSourceFb`         | BELIMO\_LMV\_D3\_SETP\_SOURCE     |                                              | <p>Feedback of the source for the setpoint (0 = Analog, 1 =<br>Bus)</p>                                                                                                                                                          |
| Output      | `eBusTermin`            | BELIMO\_LMV\_D3\_BUS\_TERMINATION |                                              | Status of the Modbus termination resistor ( 1 = Active )                                                                                                                                                                         |
| Output      | `eSensorTypeFb`         | BELIMO\_LMV\_D3\_SENSOR\_TYPE     |                                              | <p>Feedback of the type of the connected sensor (0 = none<br>)</p>                                                                                                                                                               |
| Output      | `sSerialNum`            | `STRING`                          |                                              | Device serial number                                                                                                                                                                                                             |
| Output      | `wFirmwareVer`          | `WORD`                            |                                              | Firmware version of the device                                                                                                                                                                                                   |
| Output      | `rSensorValue`          | `REAL`                            |                                              | Current actual value of the sensor in mV                                                                                                                                                                                         |
| Output      | `rSetpAnalog`           | `REAL`                            |                                              | Setpoint in XXX.X % (0.0 - 100.0 %) based on the sensor                                                                                                                                                                          |
| Output      | `xAlarm`                | `BOOL`                            | FALSE                                        | General fault ( TRUE = fault )                                                                                                                                                                                                   |
| Output      | `xAlarmCom`             | `BOOL`                            | FALSE                                        | General 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      | `xBusy`                 | `BOOL`                            |                                              | Communication indicator ( TRUE = communication )                                                                                                                                                                                 |
| Input Const | `rSensorValueOffset`    | `REAL`                            | 0.0                                          | <p>Constant measurement offset for the transmitted voltage<br>actual value</p>                                                                                                                                                   |
| Input Const | `eSensorType`           | BELIMO\_LMV\_D3\_SENSOR\_TYPE     | BELIMO\_LMV\_D3\_SENSOR\_TYPE.NO\_SENSOR     | <p>Influence: Outputs: rSensorValue<br>Type of the connected sensor (0 = none)</p>                                                                                                                                               |
| Input Const | `eSetpSource`           | BELIMO\_LMV\_D3\_SETP\_SOURCE     | BELIMO\_LMV\_D3\_SETP\_SOURCE.BUS            | Source for the setpoint (0 = Analog, 1 = Bus)                                                                                                                                                                                    |
| Input Const | `eControlMode`          | BELIMO\_LMV\_D3\_CONTROL\_MODE    | BELIMO\_LMV\_D3\_CONTROL\_MODE.CLOSED\_LOOP  | <p>Type of control / regulation (0 = Open Loop =<br>position control, 1 = Closed Loop = volumetric flow control)</p>                                                                                                             |
| Input Const | `eCommand`              | BELIMO\_LMV\_D3\_COMMAND          | BELIMO\_LMV\_D3\_COMMAND.NO\_COMMAND         | Triggering of test functions (0 = none)                                                                                                                                                                                          |
| Input Const | `eVolumeFlowUnit`       | BELIMO\_LMV\_D3\_VOLUMEFLOW\_UNIT | BELIMO\_LMV\_D3\_VOLUMEFLOW\_UNIT.M3\_PER\_H | <p>Unit for the absolute volumetric flow values (1 =<br>m3/h)</p>                                                                                                                                                                |
| Input Const | `xSetpVolumeFlowMinMax` | `BOOL`                            | FALSE                                        | <p>Triggering the transmission of the parameters ‘rSetpVolumeFlowMin’<br>and ‘rSetpVolumeFlowMax’ (on every rising edge)</p>                                                                                                     |
| Input Const | `rSetpVolumeFlowMax`    | `REAL`                            | 180.0                                        | <p>Setpoint for the maximum volumetric flow in the selected<br>volumetric flow unit (when rSetpVolFlowPerc = 100.0 %)</p>                                                                                                        |
| Input Const | `rSetpVolumeFlowMin`    | `REAL`                            | 0.0                                          | <p>Setpoint for the minimum volumetric flow in the selected<br>volumetric flow unit (when rSetpVolFlowPerc = 0.0 %)</p>                                                                                                          |
| Input Const | `tTimeOut`              | `TIME`                            | TIME#10s0ms                                  | <p>Time duration for the activation of the state<br>‘Communication failure’ (t = 0s = disabled, for t > 0s (<br>at least 10 s) the parameter ‘rSetpVolFlowPerc’ must be<br>transmitted cyclically with a time interval < t )</p> |
| Input Const | `eBusFailureCommand`    | BELIMO\_LMV\_D3\_BUS\_FAILURE     | BELIMO\_LMV\_D3\_BUS\_FAILURE.LAST\_SETPOINT | <p>Definition of the behavior in case of a bus failure (0 = last<br>setpoint)</p>                                                                                                                                                |
| Input Const | `tTimeUpdateSetp`       | `TIME`                            | TIME#45s0ms                                  | <p>Update interval for operations influenced by the input<br>'xUpdateSetp'</p>                                                                                                                                                   |
| Input Const | `tTimeUpdateActual`     | `TIME`                            | TIME#3s0ms                                   | <p>Update interval for operations influenced by the input<br>'xUpdateActual'</p>                                                                                                                                                 |
