MCV_Couple
With the MCV_Couple FB an axis may be recoupled, i.e. it will be reactivated., e.g. after decoupling to replace a motor. The sequence of the internally commanded FBs is shown in the flow chart below.
Block diagram

FB parameters
VAR_IN_OUT | ||
Variable name | Data type | Description |
Axis | AXIS_REF | Axis reference |
VAR_INPUT | ||
Variable name | Data type | Description |
Execute | BOOL | The axis coupling sequence is triggered on a rising edge. |
MotorIndex | UDINT | The value at this input determines which parameter set is activated when an axis is coupled. Axes can therefore be coupled to different drive motors. |
VAR_OUTPUT | ||
Variable name | Data type | Description |
Done | BOOL | The axis was coupled successfully. |
Error | BOOL | Indicates TRUE if an error occurs in the FB. |
ErrorID | WORD | Error code |
Flow chart
