iParServer (FB)

FUNCTION_BLOCK iParServer

Handles iPar-Request for a single slot/subslot of a Field Device

InOut:

Scope

Name

Type

Comment

Input

ID

DWORD

Identifier of a slot / subslot of a Field Device

DATA

IIParameterData

Output

xSave

BOOL

Received iPar Save-Notification, Upload of data in progress

xRestore

BOOL

Received iPar Restore-Notification, Download of data in progress

xError

BOOL

Error occured, see outputs eErrorCode and dwCommError for details

eErrorCode

iParServerError

see enum iParServer Error

dwCommError

DWORD

Error Code of underlying communication layer, see IEC 61158-6 Type 3(Profibus DP) and Type 10 (Profinet IO)