MDI_Reset (FB)

FUNCTION_BLOCK MDI_Reset

This function block is used to reset any axis error that is present.

InOut:

Scope

Name

Type

Initial

Comment

Input

Execute

BOOL

FALSE

Starts the fault reset on a rising edge.

Inout

Axis

MDI_AxisRef

Reference to the axis structure.

Output

Done

BOOL

Sets to true when the axis no longer has an error present.

Busy

BOOL

Sets to true while the function block is in progress.

Error

BOOL

Signals that an error has occurred within function block.

ErrorID

ERROR_ID

Contains the error code when there is an error.