# BELIMO\_VSR24A\_LP1\_MOD

## `BELIMO_VSR24A_LP1_MOD` (FB)

FUNCTION\_BLOCK BELIMO\_VSR24A\_LP1\_MOD

InOut:

| Scope       | Name                    | Type                               | Initial                                         | Comment                                                                                                                                                                   |
| ----------- | ----------------------- | ---------------------------------- | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Input       | `xEn`                   | `BOOL`                             | TRUE                                            | Enable / disable communication ( TRUE = enabled )                                                                                                                         |
| 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                                           | Reinitialization of the outputs 'eErrorCodeCom' and 'xErrorCodeDev' to the error-free state (on each rising edge)                                                         |
| Input       | `rSetp`                 | `REAL`                             | 0.0                                             | Setpoint - position in % ( 0.0 - 100.0 % )                                                                                                                                |
| Inout       | `ModbusClient`          | `ModbusClientBase`                 |                                                 | Client of the device                                                                                                                                                      |
| Output      | `rSetpFb`               | `REAL`                             |                                                 | Setpoint feedback - position in % (0.0 - 100.0 %)                                                                                                                         |
| Output      | `rRelPos`               | `REAL`                             |                                                 | Relative position in XXX.X %                                                                                                                                              |
| Output      | `rAbsPos`               | `REAL`                             |                                                 | Absolute position in XXX degrees                                                                                                                                          |
| Output      | `rSensor1Value`         | `REAL`                             |                                                 | Current actual value of sensor 1                                                                                                                                          |
| Output      | `rSensor2Value`         | `REAL`                             |                                                 | Current actual value of sensor 2                                                                                                                                          |
| Output      | `xSensorOffsetInDevice` | `BOOL`                             |                                                 | <p>Indicator whether the calibration of the sensors must be<br>performed in the device (TRUE = calibration in device required, FALSE = calibration in<br>FB required)</p> |
| Output      | `rSetpAnalog`           | `REAL`                             |                                                 | <p>Setpoint - position in XXX.X % (0.0 - 100.0 %) from input<br>0 - 10V</p>                                                                                               |
| Output      | `eOverrideConFb`        | BELIMO\_VSR24A\_LP1\_OVERRIDE\_CON |                                                 | Current state - forced override of the control signal position ( 0 = None )                                                                                               |
| Output      | `sSerialNum`            | `STRING`                           |                                                 | Device serial number                                                                                                                                                      |
| Output      | `wFWVersion`            | `WORD`                             |                                                 | Current firmware version of the communication module                                                                                                                      |
| Output      | `eAO`                   | eManNum                            | eManNum.Auto                                    | Indicator - manual override on the device (actuator decoupled) ( 0 = Automatic )                                                                                          |
| 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 | `rSensor2Offset`        | `REAL`                             | 0.0                                             | <p>Constant measurement offset for the transmitted actual value of<br>sensor 2</p>                                                                                        |
| Input Const | `rSensor1Offset`        | `REAL`                             | 0.0                                             | Constant measurement offset for the transmitted actual value of sensor 1                                                                                                  |
| Input Const | `eSensor2_Type`         | BELIMO\_VSR24A\_LP1\_SENSOR\_TYPE  | BELIMO\_VSR24A\_LP1\_SENSOR\_TYPE.NONE          | <p>Influence: outputs: rSensor1Value (eSensor1\_Type = 2-3)<br>Definition of the type of sensor 2 (0 = None)</p>                                                          |
| Input Const | `eSensor1_Type`         | BELIMO\_VSR24A\_LP1\_SENSOR\_TYPE  | BELIMO\_VSR24A\_LP1\_SENSOR\_TYPE.NONE          | Definition of the type of sensor 1 (0 = None)                                                                                                                             |
| Input Const | `eSetpSource`           | BELIMO\_SetpointSource             | BELIMO\_SetpointSource.Bus                      | Source for the setpoint - position (1 = Modbus)                                                                                                                           |
| Input Const | `eOverrideCon`          | BELIMO\_VSR24A\_LP1\_OVERRIDE\_CON | BELIMO\_VSR24A\_LP1\_OVERRIDE\_CON.NO\_OVERRIDE | Forced override of the control signal position ( 0 = None )                                                                                                               |
| 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>                                                                                          |
