DCP_Set
(FB)
FUNCTION_BLOCK DCP_Set
The DCP Get service is used to write one or more attributes to a profinet device.
- InOut:
Scope
Name
Type
Comment
Input
xExecute
BOOL
Rising edge: Start Operation DCP-Set
ControllerID
BYTE
The ID of the Controller/Supervisor
MAC
ARRAY [0..5] OF BYTE
The MAC address of the target Profinet device
Data
The data to be written
Output
xDone
BOOL
Action successfully completed
xBusy
BOOL
Function block active
xError
BOOL
TRUE: error occurred, function block aborts actionErrorCode
Service failed, or at least one of the requested options was not written
UpdatedOptions
Options that have been successfully written