MC_Home (FB)
FUNCTION_BLOCK MC_Home
This function block commands the axis to perform the search-home sequence.
The details of the homing sequence are specified on the homing page of the axis object. The input Position is used to set the absolute position when reference signal is detected. This function block completes at Standstill if it was started in Standstill.
Note
MC_Home is a generic function block that performs a system-specific homing procedure, which can be constructed by StepHoming function blocks as specified in folder “MC Homing”.
- InOut:
Scope
Name
Type
Comment
Input
ExecuteBOOLStart the motion at rising edge.
PositionREAL[u] Absolute position when the reference signal is detected.
BufferModeNot supported, default mcABORTING used
Output
DoneBOOLReference known and set successfully.
BusyBOOLThe FB is not finished and new output values are to be expected.
ActiveBOOLIndicates that the FB has control on the axis.
CommandAbortedBOOLCommand is aborted by another command.
ErrorBOOLSignals that an error has occurred within the function block.
ErrorIDError identification.
Inout
AxisReference to the axis.