7.16.5 MC_HOME
Function
Axis performs a "search home" sequence.
LD graphics

Parameter description
| Parameters | Type | Declaration | Description | Remarks |
|---|---|---|---|---|
| Axis | AXIS | VAR_IN_OUT | System axis for executing commands | Invoke Function Block |
| Execute | BOOL | VAR_IN | rising edge on mode | |
| Position | LREAL | VAR_IN | Retain | |
| HomingMode | USINT | VAR_IN | Define zero return mode: 1-35, of which 15,16,31,32 are reserved | |
| BufferMode | USINT | VAR_IN | Define the temporal order of FB: 0 means to immediately abort the ongoing movement (default value); 1 means to affect the axis when the last movement is "complete" | |
| Done | BOOL | VAR_OUT | Reference known and set up for success | |
| Busy | BOOL | VAR_OUT | Whether FB has valid output, True: FB has not ended | |
| Active | BOOL | VAR_OUT | FB control axis | |
| CommandAborted | BOOL | VAR_OUT | The command was terminated by another command | |
| Error | BOOL | VAR_OUT | An error signal has occurred within the FB | |
| ErrorID | WORD | VAR_OUT | Error ID |