MCV_DeactivateAxis
With the MCV_DeactivateAxis function block an axis may be deactivated. In this state it is not possible to command any motion and no error will be shown.
By default the axis is activated.
Block diagram
Parameters of the function block
VAR_IN_OUT | |||
| Axis | AXIS_REF | Axis reference |
VAR_INPUT | |||
| Enable | BOOL | Set "Enable’ TRUE to deactivate the axis. |
VAR_OUTPUT | |||
| IsDeactivated | BOOL | Indicates if the axis is deactivated. |
| Error | BOOL | Indicates if an error has occurred. |
| ErrorID | WORD | Error identification. |