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

Service failed, or at least one of the requested options is not valid

ResetMode

DCP_ResetMode

DCP_ResetMode.FactoryReset

Defines which data ha sto be cleared

Output

xDone

BOOL

Action successfully completed

xBusy

BOOL

Function block active

xError

BOOL

TRUE: error occurred, function block aborts action

ErrorCode

DCP_Error

Service failed