MCV_DeactivateAxis

With the MCV_DeactivateAxis FB 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

MCV_DeactivateAxis 1:

Parameters of the FB

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.