DCP_Reset (FB)
FUNCTION_BLOCK DCP_Reset
This DCP service is used to reset/clear all settings of a Profinet device, e.g. stationname and IP-settings.
- InOut:
Scope
Name
Type
Initial
Comment
Input
xExecuteBOOLRising edge: Start Operation DCP-Identify
ControllerIDBYTEThe ID of the Controller/Supervisor
MACARRAY [0..5] OF BYTE
The MAC address of the target Profinet device
ResetModeDCP_ResetMode.FactoryReset
Defines which data has to be cleared
Output
xDoneBOOLAction successfully completed
xBusyBOOLFunction block active
xErrorBOOLTRUE: error occurred, function block aborts actionErrorCodeService failed