SOLVIMUS_GE20M_GATEWAY

SOLVIMUS_GE20M_GATEWAY (FB)

FUNCTION_BLOCK SOLVIMUS_GE20M_GATEWAY

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

wBaseAdressGateway

WORD

0

Modbus - base register for the gateway information

Input

xResError

BOOL

FALSE

Reinitialization of the outputs ‘eErrorCodeCom’ to the no-error state (on each rising edge)

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

dwSerialNum

DWORD

Gateway serial number

Output

wMBUSProtocolVer

WORD

Protocol version of the Modbus data

Output

wSoftwareVer

WORD

Gateway software version

Output

dtSysTime

DT

Gateway timestamp (UTC, in Germany UTC +1 / +2 h depending on summer / winter time)

Output

xAlarm

BOOL

FALSE

General fault ( TRUE = fault )

Output

xAlarmCom

BOOL

FALSE

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

Last updated