Set_Attributes_All (FB)ΒΆ

FUNCTION_BLOCK Set_Attributes_All EXTENDS BaseService

This function blocks is used for setting the attribute of a specific instance of a CIP object.

Note

Data received and send needs to be swapped. See parent folder.

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

Input

pData

POINTER TO BYTE

udiDataSize

UDINT