MC_Home (FB)

 

FUNCTION_BLOCK MC_Home

Its execution will cause 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 termi­nates with standstill.

InOut:

Scope

Name

Type

Initial

Comment

Inout

Axis

AXIS_REF_SM3

Input

Execute

BOOL

FALSE

Rising edge: Starts the execution of the function block.

Position

LREAL

0

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

Output

Done

BOOL

FALSE

TRUE: standstill has been achieved.

Busy

BOOL

FALSE

TRUE: Execution of function block has not been finished.

CommandAborted

BOOL

FALSE

TRUE: Command has been aborted by another command.

Error

BOOL

FALSE

TRUE: Error has occurred within the function block.

ErrorID

SMC_ERROR

0

Error identification