MC_AxRtMoveChecking_BkPlcMc (from V3.0)

MC_AxRtMoveChecking_BkPlcMc (from V3.0) 1:

The function block monitors the response of an axis.

MC_AxRtMoveChecking_BkPlcMc (from V3.0) 2: 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 (from V3.0) 3: Inputs/outputs

VAR_INOUT
     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 (from V3.0) 4: 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.