MC_Home

This FB defines the zero point in the machine measuring system. This can be either effected by directly setting the home position or by a reference search, whereby setpoint generation of the path is optionally implemented in the drive or in the control.

  • The data for homing is specified via parameters Homing
    • Optionally, the homing parameters can be specified via an input of the FB.
  • The touch probe event is configured via subindex 80 and the "ExtTP" input as a function of the touch probe source. Here, the following touch probe sources are supported:
    • Touch probe of the drive
    • External touch probe source (e.g. fast I/O)
    • Simple digital input
  • The information that the axis is referenced is provided at the FB MC_ReadAxisInfo .
  • The FB L_MC1P_ResetHomePosition serves to reset the "reference known" status.
  • The FB completes its execution when the drive is at standstill.
  • With selection of the modes SetPositionInAnyState (97) or SetOffsetInAnyState (98) the reference can be set to any state of the axis (see also FB MC_SetPosition )
    The state of the axis is not changed in this case.

 

 

 

MC_Home

 

 

 

AXIS_REF

-

Axis

Done

-

BOOL

BOOL

-

Execute

Busy

-

BOOL

LREAL

-

Position

Active

-

BOOL

MC_BUFFER_MODE

-

BufferMode

CommandAborted

-

BOOL

BOOL

-

HomeAbsSwitch

Error

-

BOOL

BOOL

-

UseExtParameter

ErrorID

-

L_IE1P_Error

L_MC1P_HomeParameter

-

ExtParameter

MC_TRIGGER_REF

-

ExtTP

 

 

 

 

 

 

 

 

Tip!

When using an external position encoder, please observe the notes in the Position controller section.

Inputs

Name

Data type

Information/possible settings

Axis

AXIS_REF

Transfer of the axis data structure

Motion axes (AXIS_REF)

Execute

BOOL

FALSE รค TRUE

Start homing.

Position

LREAL

Absolute position in [unit]

  • Home position to which the measuring system is set when the sensor reference signal (e.g. touch probe sensor) is detected.

BufferMode

MC_BUFFER_MODE

Mode for processing successive motion commands

The BufferMode "mcAborting" and "mcBuffered" are supported.

BufferMode

HomeAbsSwitch

BOOL

Reference switch connection

  • For the homing modes with homing switch, this control input must be connected to the digital input to which the homing switch is connected.

UseExtParameter

BOOL

Selection of the parameters to be used for homing

FALSE

Parameters of the axis data ( AXIS_REF )

TRUE

Parameters from the application transmitted via ExtParameter input.

ExtParameter

L_MC1P_HomeParameter

Input for transmitting the parameters for referencing from the application

  • Only relevant when UseExtParameter = TRUE.

ExtTP

MC_TRIGGER_REF

Input for transmitting an external touch probe event

Outputs

Name

Data type

Value/meaning

Done

BOOL

TRUE

Reference search completed successfully, reference set.

Busy

BOOL

TRUE

Processing is running.

Active

BOOL

TRUE

The command of the FB is currently executed.

  • The Active output matters if a motion control is carried out by several FBs (BufferMode).

CommandAborted

BOOL

TRUE

The command was aborted by another FB.

Error

BOOL

TRUE

An error has occurred. For details see ErrorID .

ErrorID

L_IE1P_Error

If Error = TRUE: Error number for the error that has occurred.