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

Update of the actual values (on every rising edge ) (Range: Operation)

Input

xResError

BOOL

FALSE

Reinitialization of the output ‘eErrorCodeCom’ (on each 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 (depending on the sensor's measurement range)

Output

rPressureMaxRange

REAL

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

Output

rPressureMinInterv

REAL

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

Output

rPressureMaxInterv

REAL

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

Output

rPressureDisplay

REAL

Display value on the display (depending on the unit set for the display)

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

Update interval for the processes affected by the input ‘xUpdateActual’

Last updated