MC_Home

Reference point travel of the axis is commanded with the MC_Home FB. How an axis responds to this command essentially depends on the type of referencing operation. This is specified in the axis list (achsmdsX.lis) via the “kenngr.homing.homing_type” element.

Block diagram

MC_Home 1:

Parameters of the FB

VAR_IN_OUT

 

Axis

AXIS_REF

Axis reference.

VAR_INPUT

 

Execute

BOOL

Start the axis referencing at rising edge.

VAR_OUTPUT

 

Done

BOOL

When axis referencing is finished, the output of "Done“ is TRUE and the axis is in state "Standstill“.

 

CommandAborted

BOOL

TRUE indicates that the referencing command has been aborted by another command.

 

Error

BOOL

Indicates if an error has occurred.

 

ErrorID

WORD

Error identification.

General behavior of the FB

More: