# BELIMO\_NV24A\_MOD

## `BELIMO_NV24A_MOD` (FB)

FUNCTION\_BLOCK BELIMO\_NV24A\_MOD

InOut:

| Scope       | Name                    | Type                    | Initial                                    | Comment                                                                                                                                                       |
| ----------- | ----------------------- | ----------------------- | ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Input       | `xEn`                   | `BOOL`                  | TRUE                                       | Enable / disable of communication ( TRUE = enabled )                                                                                                          |
| Input       | `byUnitId`              | `BYTE`                  | 0                                          | Device address ( 1 .. 247 )                                                                                                                                   |
| Input       | `xUpdateActual`         | `BOOL`                  | FALSE                                      | <p>Update of actual values ( on each rising edge<br>)</p>                                                                                                     |
| Input       | `xUpdateSetp`           | `BOOL`                  | FALSE                                      | <p>Update of setpoints ( on each rising edge<br>)</p>                                                                                                         |
| Input       | `xResError`             | `BOOL`                  | FALSE                                      | <p>Reinitialization of the outputs ‘eErrorCodeCom’ and<br>‘xErrorCodeDev’ to the error-free state (on every<br>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`                  |                                            | <p>Absolute position in XXX degrees (rotation) or mm (linear<br>movement)</p>                                                                                 |
| Output      | `rSensor1Value`         | `REAL`                  |                                            | Current actual value of sensor 1                                                                                                                              |
| Output      | `xSensorOffsetInDevice` | `BOOL`                  |                                            | <p>Indicates whether sensor calibration must be performed in the device<br>(TRUE = calibration required in device, FALSE = calibration in<br>FB required)</p> |
| Output      | `rSetpAnalog`           | `REAL`                  |                                            | <p>Setpoint - position in % in XXX.X % (0.0 - 100.0%) from<br>input 0 - 10V</p>                                                                               |
| Output      | `eOverrideConFb`        | BELIMO\_OverrideControl |                                            | <p>Current state - forced override of control signal -<br>position (0 = None)</p>                                                                             |
| Output      | `eBusTermin`            | BELIMO\_BusTermination  |                                            | State of the Modbus termination resistor (1 = active)                                                                                                         |
| Output      | `sSerialNum`            | `STRING`                |                                            | Device serial number                                                                                                                                          |
| Output      | `eAO`                   | eManNum                 | eManNum.Auto                               | <p>Indication - manual override on the device (actuator decoupled)<br>(0 = Automatic)</p>                                                                     |
| 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`        | `STRING`                |                                            | String with the numbers of the active device errors                                                                                                           |
| Output      | `xBusy`                 | `BOOL`                  |                                            | Communication indicator ( TRUE = communication )                                                                                                              |
| Input Const | `rSensor1Offset`        | `REAL`                  | 0.0                                        | <p>Constant measurement offset for the transmitted actual value of<br>sensor 1</p>                                                                            |
| Input Const | `eSetpSource`           | BELIMO\_SetpointSource  | BELIMO\_SetpointSource.Bus                 | <p>Affects: outputs: rSensor1Value (eSensor1Type = 1-3 and 5-10)<br>Source for the setpoint - position (1 = Modbus)</p>                                       |
| 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>deactivation)</p>                                                                                 |
| Input Const | `eBusFailPos`           | BELIMO\_BusFailPosition | BELIMO\_BusFailPosition.None\_LastPosition | <p>Action on a bus watchdog timeout (0 = None / last<br>setpoint)</p>                                                                                         |
| Input Const | `eSensor1Type`          | BELIMO\_SensorType      | BELIMO\_SensorType.None                    | Selection of the type of sensor 1 (0 = None)                                                                                                                  |
| Input Const | `rMax`                  | `REAL`                  | 100.0                                      | <p>Absolute maximum value - control signal - position in % (0.0 -<br>100.0%)</p>                                                                              |
| Input Const | `rMin`                  | `REAL`                  | 0.0                                        | <p>Absolute minimum value - control signal - position in % (0.0 -<br>100.0%)</p>                                                                              |
| Input Const | `eOverrideCon`          | BELIMO\_OverrideControl | BELIMO\_OverrideControl.None               | Forced override of the control signal - position (0 = None)                                                                                                   |
| Input Const | `tTimeUpdateSetp`       | `TIME`                  | TIME#45s0ms                                | <p>Update interval for the processes affected by the input<br>‘xUpdateSetp’</p>                                                                               |
| Input Const | `tTimeUpdateActual`     | `TIME`                  | TIME#3s0ms                                 | <p>Update interval for the processes affected by the input<br>‘xUpdateActual’</p>                                                                             |
