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 further parameters is done on the display module (variant 1). Alternatively, the configuration of further parameters can be done via a function block 'SPLUSS_LCD_SHD_MODBUS_FULL' (variant 2).

The measurement value offset is not adjustable either in the device or via Modbus.

A terminating resistor (120 ohm) can be activated / deactivated 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

No compensation of the measurement value offset is provided in the device (hardware / display menu) or via Modbus. Therefore no compensation may be provided in the function block (program value <> displayed value).

Representation

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable communication (TRUE = enabled)

Input

byUnitId

BYTE

0

Address of the device (1 .. 247)

Input

xUpdateActual

BOOL

FALSE

Update of actual values (on every rising edge ) (range: operation)

Input

xResError

BOOL

FALSE

Reinitialization of the output ‘eErrorCodeCom’ ( on every rising edge )

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

Minimum value of the range for the differential pressure in XX.XX bar (dependent on the sensor's measurement range)

Output

rPressureMaxRange

REAL

Maximum value of the range for the differential pressure in XX.XX bar (dependent on the sensor's measurement range)

Output

rPressureMinInterv

REAL

Absolute minimum value of the differential pressure in XX.XX bar within the set interval

Output

rPressureMaxInterv

REAL

Absolute maximum value of the differential pressure in XX.XX bar within the set interval

Output

rPressureDisplay

REAL

Displayed value on the display (depending on the unit selected for the display)

Output

eUnitDisplay

SPLUSS_LCD_SHD_MODBUS_EASY_DISPLAY_UNIT

Unit of the displayed 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

Update interval for the operations affected by the input 'xUpdateActual'

Last updated