MCV_Home
Reference point travel of the axis is commanded with the MCV_Home
FB. MCV_Home extends the functionality of the PLCopen function block MC_Home with an additional input CamSignal
which is evaluated as signal for the take-over of the referencing position. Normally, the source of "CamSignal" is the reference cam signal of the drive.
Notice | |
It is required that for correct function the parameter P-AXIS-00036 must be set to 0. If the take-over of the referencing position is done at rising or falling edge at |
Block diagram

Parameters of the function block
VAR_IN_OUT | |||
| Axis | AXIS_REF | Axis reference. |
VAR_INPUT | |||
| Execute | BOOL | Start the axis referencing at rising edge. |
| CamSignal | BOOL | Signal for the take-over of the referencing position. |
VAR_OUTPUT | |||
| Done | BOOL | When axis referencing is finished, the output of "Done’ is TRUE and the axis is in state "Standstill’. |
| CommandAborted | BOOL | TRUE indicates that the referencing command has been aborted by another command. |
| Error | BOOL | Indicates if an error has occurred. |
| ErrorID | WORD | Error identification. |
Behavior of the FB:
- Commanding reference point travel is permissible only if the axis is in the
Standstill
state. If this is not the case, theError
output is set to FALSE andErrorID
indicates an error value that designates the state the axis is currently in. - No new command can be sent when this function block is active. It cannot be retriggered. If an attempt is nevertheless made to do this, the function block returns the error 44007 (ERR_PO_AX_HOMING_RETRIGGERD).
- The axis changes to the
Homing
state directly after command of reference point travel.