MC_Home (FB)¶
FUNCTION_BLOCK MC_Home
MC_Home causes the axis to perform the “search home” sequence.
The details of this sequence are manufacturer dependent and can be set by the axis parameters.
The Position input is used to set the absolute position when a reference signal is detected.
The function block terminates with standstill.
Note
This function block does not support forecasts that are set up by SMC_SetForecast.
- InOut:
Scope
Name
Type
Comment
Inout
AxisInput
ExecuteBOOLRising edge: Starts the execution of the function block.
PositionLREALAbsolute position when the reference signal is detected [u].
Output
DoneBOOLTRUE:standstillhas been achieved.BusyBOOLTRUE: Execution of function block has not been finished.CommandAbortedBOOLTRUE: Command has been aborted by another command.ErrorBOOLTRUE: Error has occurred within the function block.ErrorIDSMC_ERRORError identification