MC_Home

This function block performs a reference travel for an axis. Configure the reference travel via the configuration menu of the logical device or the function block MC_SEW_ConfigHoming.

VAR_IN_OUT

Variable name

Data type

Description

Axis

AXIS_REF

Reference to a logical device
(name of the logical device)

See also AXIS_REF.

VAR_INPUT

Variable name

Data type

Description

Execute

BOOL

Start execution of the function block.

Position

LREAL

Reference offset in user units

BufferMode

MC_BUFFER_MODE

Chronological sequence of the function block

UseConfiguredRefOffset

BOOL

Specify whether the reference offset configured in the logical device or the Position input on the function block is used as the reference offset.

VAR_OUTPUT

Variable name

Data type

Description

Done

BOOL

Function block successfully completed

Busy

BOOL

Function block is active

Active

BOOL

Function block controls the axis

CommandAborted

BOOL

The function block was canceled by another command

Error

BOOL

An error has occurred in the function block

ErrorID

WORD

Error number