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
Axis
Reference to the axis
Input
Execute
BOOL
Rising edge: The homing is started
Position
LREAL
Absolute position when the reference signal is detected (in technical units [u])
Output
Done
BOOL
Reference known and set successfully
Busy
BOOL
Homing is not finished and new output values are to be expected
CommandAborted
BOOL
Homing was aborted by a motion command acting on the same axis
Error
BOOL
Signals that an error has occured
ErrorID
Error number