SOLVIMUS_GE20_MBUS_DEVICE

SOLVIMUS_GE20_MBUS_DEVICE (FB)

FUNCTION_BLOCK SOLVIMUS_GE20_MBUS_DEVICE

Representation

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable communication (TRUE = enabled)

Input

byUnitId

BYTE

255

Address of the device (set by IP address)

Input

xUpdateActual

BOOL

FALSE

Update of actual values (on every rising edge )

Input

wBaseAdressMbusDevice

WORD

10

Modbus base register for the information of the MBus device

Input

xResError

BOOL

FALSE

Reinitialization of the output 'eErrorCodeCom' to the no-error state (on each rising edge)

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

dwMeterID

DWORD

Serial number of the MBus device

Output

sManufacturer

STRING

Manufacturer identification of the MBus device

Output

byMeterGeneration

BYTE

Version of the MBus device

Output

eMedium

SOLVIMUS_GE20_MBUS_DEVICE_MEDIA_TYPE

Media ID of the MBus device

Output

dtSysTime

DT

Timestamp of the MBus device (UTC, in Germany UTC+1/ +2 h depending on summer/winter time)

Output

wStatusFlags

WORD

Current state of the status flags

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

xBusy

BOOL

Communication indicator (TRUE = communication)

Input Const

diAdrOffset

DINT

0

Offset for calculating Modbus addresses (from the Modbus registers) (permissible range: -1, 0, +1)

Input Const

tTimeUpdateActual

TIME

TIME#1m0s0ms

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

Last updated