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
)
|
|
|
|
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 |
Transfer of the axis data structure |
|
|
Execute BOOL |
FALSE รค TRUE |
Start homing. |
|
Position LREAL |
Absolute position in [unit]
|
|
|
BufferMode |
Mode for processing successive motion commands The BufferMode "mcAborting" and "mcBuffered" are supported. |
|
|
HomeAbsSwitch BOOL |
Reference switch connection
|
|
|
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 |
Input for transmitting the parameters for referencing from the application
|
|
|
ExtTP |
Input for transmitting an external touch probe event
|
|