Apply_Attributes (FB)

FUNCTION_BLOCK Apply_Attributes EXTENDS BaseService

This function block is used for calling the “Apply_Attributes” service of a specific instance of a CIP object. As a result, the attributes that were previously set with “Get_Attribut_Single” or “Get_Attribut_All” are adopted and saved by the adapter.

InOut:

Scope

Name

Type

Inherited from

Input

xExecute

BOOL

ETrig

Output

xDone

BOOL

ETrig

xBusy

BOOL

ETrig

xError

BOOL

ETrig

Input

itfEtherNetIPDevice

IEtherNetIPService

BaseService

eClass

CIPClass

BaseService

dwInstance

DWORD

BaseService

tTimeOut

TIME

BaseService

Output

eError

ERROR

BaseService