# SPLUSS\_LCD\_SHD\_MODBUS\_EASY

## `SPLUSS_LCD_SHD_MODBUS_EASY` (FB)

FUNCTION\_BLOCK SPLUSS\_LCD\_SHD\_MODBUS\_EASY

### General

> This is a display module (Input: 0.0 - 10.0V, Output: Modbus - RTU) for a pressure transmitter (e.g. PREMASGARD SHD-U / SHD-SD-U / SHD692-U) with connector DIN EN 175301-803-A

> The configuration of the Modbus interface and other parameters is done on the display module (variant 1). The configuration of further parameters is alternatively done via a function block 'SPLUSS\_LCD\_SHD\_MODBUS\_FULL' (variant 2).

> The measurement value offset cannot be adjusted either in the device or via Modbus.

> A termination resistor (120 ohm) can be enabled/disabled via DIP switch.

> The Modbus interface is parameterized as follows without further settings:

> RTU 9600 Baud 8 data bits No parity 1 stop bit Device address = 1

> > The following register ranges may be written with FC16: 21-24, 28-29 and 31-34

> Neither in the device (hardware / display menu) nor via Modbus is an adjustment of the measurement value offset provided. Therefore no adjustment may be provided in the function block (program value <> display value).

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 the actual values (on every rising edge<br>) (Range: Operation)</p>                                              |
| Input       | `xResError`          | `BOOL`                                        | FALSE      | <p>Reinitialization of the output ‘eErrorCodeCom’ (on each<br>rising edge)</p>                                                |
| Inout       | `ModbusClient`       | `ModbusClientBase`                            |            | Client of the device                                                                                                          |
| Output      | `rInputVolt`         | `REAL`                                        |            | Input voltage from the pressure sensor in XX.XXX volts                                                                        |
| Output      | `rPressure`          | `REAL`                                        |            | Differential pressure in XX.XX bar                                                                                            |
| Output      | `rPressureAverage`   | `REAL`                                        |            | Time-averaged differential pressure in XX.XX bar                                                                              |
| Output      | `rPressureMinRamge`  | `REAL`                                        |            | <p>Minimum value of the range for the differential pressure in XX.XX bar<br>(depending on the sensor's measurement range)</p> |
| Output      | `rPressureMaxRange`  | `REAL`                                        |            | <p>Maximum value of the range for the differential pressure in XX.XX bar<br>(depending on the sensor's measurement range)</p> |
| Output      | `rPressureMinInterv` | `REAL`                                        |            | <p>Absolute minimum value of the differential pressure in XX.XX bar in the<br>set interval</p>                                |
| Output      | `rPressureMaxInterv` | `REAL`                                        |            | <p>Absolute maximum value of the differential pressure in XX.XX bar in the<br>set interval</p>                                |
| Output      | `rPressureDisplay`   | `REAL`                                        |            | <p>Display value on the display (depending on the<br>unit set for the display)</p>                                            |
| Output      | `eUnitDisplay`       | SPLUSS\_LCD\_SHD\_MODBUS\_EASY\_DISPLAY\_UNIT |            | Unit of the display value on the display                                                                                      |
| Output      | `wDeviceCode`        | `WORD`                                        |            | Device - code of the device                                                                                                   |
| Output      | `xAlarm`             | `BOOL`                                        |            | Collective fault ( TRUE = fault )                                                                                             |
| Output      | `xAlarmCom`          | `BOOL`                                        |            | Collective fault - communication ( TRUE = fault )                                                                             |
| Output      | `eErrorCodeCom`      | ModbusErrorCode                               |            | Error code - communication ( 0 = no error )                                                                                   |
| Output      | `xBusy`              | `BOOL`                                        |            | Communication indicator ( TRUE = communication )                                                                              |
| Input Const | `tTimeUpdateActual`  | `TIME`                                        | TIME#3s0ms | <p>Update interval for the processes affected by the input<br>‘xUpdateActual’</p>                                             |
