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 DIN EN 175301-803-A connector

The configuration of the Modbus interface and other parameters is carried out by the display module version 1). The configuration of further parameters can alternatively be done via a function block SPLUSS_LCD_SHD_MODBUS_FULL (Version 2).

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

A terminating resistor (120 ohms) can be activated / deactivated via DIP switch.

The Modbus interface is parameterized as follows without any 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 compensation of the measured value offset предусмотрed. Therefore, no compensation may be provided here in the function block (program value <> display value).

Representation

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable communication (TRUE = enable)

Input

byUnitId

BYTE

0

Device address (1 .. 247)

Input

xUpdateActual

BOOL

FALSE

Updating the actual values (at every rising edge ) (range: operation)

Input

xResError

BOOL

FALSE

Reinitialization of the output eErrorCodeCom (with 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 (depending on the measuring range of the sensor)

Output

rPressureMaxRange

REAL

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

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 influenced by the input xUpdateActual influenced

Last updated