MC_AxRtMoveChecking_BkPlcMc

MC_AxRtMoveChecking_BkPlcMc 1:
MC_AxRtMoveChecking_BkPlcMc 2:

Available from version 3.0

The function block monitors the response of an axis.

MC_AxRtMoveChecking_BkPlcMc 3: Inputs

VAR_INPUT
     Enable:       BOOL;
     MinDistance:  LREAL;
     Filter:       LREAL;
END_VAR

Name

Type

Description

Enable

BOOL

TRUE at this input activates the monitoring.

MinDistance

LREAL

[mm] The required minimum distance must be transferred here.

Filter

LREAL

[s] The measuring time must be specified here.

MC_AxRtMoveChecking_BkPlcMc 4: Inputs/outputs

VAR_IN_OUT
     Axis:         AXIS_REF_BkPlcMc;
END_VAR

Name

Type

Description

Axis

AXIS_REF_BkPlcMc

Here, the address of a variable of type AXIS_REF_BkPlcMc should be transferred.

MC_AxRtMoveChecking_BkPlcMc 5: Outputs

VAR_OUPUT
     Triggered:    BOOL;
     Timeout:      BOOL;
END_VAR

Name

Type

Description

Triggered

BOOL

This output indicates that the axis was set to error state.

Timeout

BOOL

This output indicates that monitoring was triggered.

Behavior of the function block

The function block continuously checks whether the axis has traveled at least a MinDistance within Filter in the direction that matches the required motion. If this is not the case, timeout is indicated. If Enable is TRUE, the axis is set to error state dwTcHydErrCdNotMoving = 16#435D = 17245. This is indicated through Triggered.