MCV_Home

Attention

attention

This function block is discontinued. For new projects please use the FB MC_Home which also has the “CamSignal“ input. MC_Home has the identical behaviour.

Reference point travel of the axis is commanded with the MCV_Home FB. MCV_Home extends the functionality of the PLCopen FB MC_Home by an additional "CamSignal" input which is evaluated as the signal to adopt the homing position. Normally, the signal source of "CamSignal" is the homing cam signal of the drive.

Attention

attention

The condition for proper functioning is that the parameter P-AXIS-00036 is assigned the value 0.

The parameter P-AXIS-00038 defines whether adoption of the homing position at the “CamSignal” should take place on the rising or falling edge.

Blockdiagramm

Parameters of the FB

VAR_IN_OUT

Variable name

Data type

Description

axis

AXIS_REF

Axis reference

VAR_INPUT

Variable name

Data type

Description

Execute

BOOL

A rising edge at the input commands homing.

CamSignal

BOOL

Signal to command adoption of the homing position.

VAR_OUTPUT

Variable name

Data type

Description

Done

BOOL

When TRUE, homing is completed and the axis is in “Standstill” state.

CommandAborted

BOOL

TRUE indicates that the command was aborted by another command.

Error

BOOL

Indicates TRUE if an error occurs in the FB.

ErrorID

WORD

Error code.

Behaviour of the FB