MC_Reset_BkPlcMc (from V3.0)

MC_Reset_BkPlcMc (from V3.0) 1:

The function block eliminates an error state and puts the axis in an operational state.

MC_Reset_BkPlcMc (from V3.0) 2: Inputs

VAR_INPUT
    Execute:    BOOL;
END_VAR

Name

Type

Description

Execute

BOOL

An axis reset is initiated by a rising edge at this input.

MC_Reset_BkPlcMc (from V3.0) 3: Inputs/outputs

VAR_INOUT
    Axis:       Axis_Ref_BkPlcMc;
END_VAR

Name

Type

Description

Axis

Axis_Ref_BkPlcMc

Here, the address of a variable of type Axis_Ref_BkPlcMc should be transferred.

MC_Reset_BkPlcMc (from V3.0) 4: Outputs

VAR_OUTPUT
    Busy:       BOOL;
    Done:       BOOL;
    Error:      BOOL;
    ErrorID:    UDINT;
END_VAR

Name

Type

Description

Busy

BOOL

Indicates that a command is being processed.

Done

BOOL

Successful execution of the axis reset is indicated here.

Error

BOOL

The occurrence of an error is indicated here.

ErrorID

UDINT

An encoded indication of the cause of the error is provided here.

Behavior of the function block

A rising edge at Execute triggers an axis reset. This puts the axis in an operational state, as far as possible, and Done is reported. If this is not possible, the system responds with Error and ErrorID:= the ErrorCode of the axis.

A falling edge at Execute clears all the pending output signals.

MC_Reset_BkPlcMc (from V3.0) 5:

In some drive types, signal exchange with an external device is required, in order to rectify certain errors. During the time required for this, the function block is unable to report a final result (Done or Error). Instead, Busy is used to indicate that the function is in progress.