DCP_Set (FB)
FUNCTION_BLOCK DCP_Set
The DCP Set service is used to write one or more attributes to a profinet device.
- InOut:
Scope
Name
Type
Comment
Input
xExecuteBOOLRising edge: Start Operation DCP-Set
ControllerIDBYTEThe ID of the Controller/Supervisor
MACARRAY [0..5] OF BYTE
The MAC address of the target Profinet device
DataThe data to be written
Output
xDoneBOOLAction successfully completed
xBusyBOOLFunction block active
xErrorBOOLTRUE: error occurred, function block aborts actionErrorCodeService failed, or at least one of the requested options was not written
UpdatedOptionsOptions that have been successfully written