MC_Reset_SML (FB)ΒΆ

FUNCTION_BLOCK FINAL MC_Reset_SML

Forces the transition from the state ErrorStop to Standstill or PowerOff by resetting all internal axis-related errors.

If the axis is not in state ErrorStop, the function block signals the error SML_R_NO_ERROR_TO_RESET.

InOut:

Scope

Name

Type

Comment

Inout

Axis

AXIS_REF_SML

Reference to the axis

Input

Execute

BOOL

Rising edge: The reset is started

Output

Done

BOOL

State Standstill or PowerOff has been reached

Busy

BOOL

The FB is not finished and new output values are to be expected

Error

BOOL

An error has occurred

ErrorID

SML_ERROR

The error number