MC_Home (FB)

FUNCTION_BLOCK MC_Home

MC_Home causes the axis to perform the “search home” sequence. The details of this sequence are manufacturer dependent and can be set by the axis parameters. The Position input is used to set the absolute position when a reference signal is detected. The function block terminates with standstill.

Note

This function block does not support forecasts that are set up by SMC_SetForecast.

InOut:

Scope

Name

Type

Comment

Inout

Axis

AXIS_REF_SM3

Input

Execute

BOOL

Rising edge: Starts the execution of the function block.

Position

LREAL

Absolute position when the reference signal is detected [u].

Output

Done

BOOL

TRUE: standstill has been achieved.

Busy

BOOL

TRUE: Execution of function block has not been finished.

CommandAborted

BOOL

TRUE: Command has been aborted by another command.

Error

BOOL

TRUE: Error has occurred within the function block.

ErrorID

SMC_ERROR

Error identification