MC_Home_SML (FB)¶
FUNCTION_BLOCK FINAL MC_Home_SML
Commands the axis to perform the «search home» sequence. The details of this sequence are manufacturer specific and can be set by the axis’ parameters. The ‘Position’ input is used to set the absolute position when the reference signal is detected.
After completion, the axis state is Standstill if it was Standstill when started.
- InOut:
Scope
Name
Type
Comment
Inout
AxisReference to the axis
Input
ExecuteBOOLRising edge: The homing is started
PositionLREALAbsolute position when the reference signal is detected (in technical units [u])
Output
DoneBOOLReference known and set successfully
BusyBOOLHoming is not finished and new output values are to be expected
CommandAbortedBOOLHoming was aborted by a motion command acting on the same axis
ErrorBOOLSignals that an error has occured
ErrorIDError number