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
xExecute
BOOL
Rising edge: Start Operation DCP-Identify
ControllerID
BYTE
The ID of the Controller/Supervisor
MAC
ARRAY [0..5] OF BYTE
The MAC address of the target Profinet device
ResetMode
DCP_ResetMode.FactoryReset
Defines which data has to be cleared
Output
xDone
BOOL
Action successfully completed
xBusy
BOOL
Function block active
xError
BOOL
TRUE: error occurred, function block aborts actionErrorCode
Service failed