MC_Reset (FB)

FUNCTION_BLOCK MC_Reset

MC_Reset function block makes the transition from the state ErrorStop to StandStill by resetting all internal axis-related errors. It does not affect the output of the function block instances

../../../../../../_images/plcopen.png

Gives a reset to the axis as well, in any state. In addition, a reset message is sent to the drive (e.g. output DRIVE_RESET_FAULT AT CMC_Basic_Kernel)

Note

Ouptut “Done” will be TRUE after a wait time of 5 seconds, even though Reset operation is complete.

InOut:

Scope

Name

Type

Comment

Input

Execute

BOOL

Starts the function block at rising edge

Output

Done

BOOL

Shows the status of the function block. Done = TRUE if the execution is finished

Busy

BOOL

The function block with Busy = TRUE has control on the axis

Error

BOOL

Signals that error has occurred within function block

ErrorID

ERROR_ID

Error identification. For error details refer to Enumeration ERROR_ID

Inout

Axis

Axis_Ref

Reference to axis