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
|
Comment
|
Inherited from
|
Input
|
itfEtherNetIPDevice
|
IEtherNetIPService
|
EtherNet/IP Device which implements the EtherNet/IP Services interface
|
BaseService
|
eClass
|
CIPClass
|
Class which shall perform the service
|
BaseService
|
dwInstance
|
DWORD
|
Instance which shall perform the service (0: Class level, 1..x: Instance level)
|
BaseService
|
Output
|
eError
|
ERROR
|
Error (0-255: CIP Error; 256-x: Library Error)
|
BaseService
|
|