MC_Home

Functional Description

This function block homes the drive with the homing-specific settings of the drive.

Refer to the user guide of the drive for the Homing-specific parameter settings.

Graphical Representation

Inputs

Input

Data type

Description

Axis

Axis_Ref

Reference to the axis for which the function block is to be executed.

Execute

BOOL

Value range: FALSE, TRUE.

Default value: FALSE.

A rising edge of the input Execute starts the function block. The function block continues execution and the output Busy is set to TRUE.

A rising edge at the input Execute is ignored while the function block is being executed.

Position

LREAL

Value range: -2147483648...2147483647

Default value: 0

Position at reference point in user-defined units.

After a successful reference movement, this position is automatically set at the reference point.

Outputs

Output

Data type

Description

Done

BOOL

Value range: FALSE, TRUE.

Default value: FALSE.

  • FALSE: Execution has not been finished, or an error has been detected.

  • TRUE: Execution terminated without an error detected.

Busy

BOOL

Value range: FALSE, TRUE.

Default value: FALSE.

  • FALSE: Function block is not being executed.

  • TRUE: Function block is being executed.

CommandAborted

BOOL

Value range: FALSE, TRUE.

Default value: FALSE.

  • FALSE: Execution has not been aborted.

  • TRUE: Execution has been aborted by another function block.

Error

BOOL

Value range: FALSE, TRUE.

Default value: FALSE.

  • FALSE: Function block is being executed, no error has been detected during execution.

  • TRUE: An error has been detected in the execution of the function block.

ErrorID

ET_Result

This enumeration provides diagnostics information.