MCV_DeactivateAxis

The FB deactivates or parks an axis. In this state it is no longer possible to move the axis and no further error messages are displayed.

The axis is activated by default

Blockdiagramm

Parameters of the FB

VAR_IN_OUT

Variable name

Data type

Description

axis

AXIS_REF

Axis reference

VAR_INPUT

Variable name

Data type

Description

enable

BOOL

Is TRUE when the axis is deactivated.

VAR_OUTPUT

Variable name

Data type

Description

IsDeactivated

BOOL

Is TRUE when the axis is deactivated.

Error

BOOL

Indicates TRUE if an error occurs in the FB.

ErrorID

WORD

Error code.