FC_OverloadDetectionLimitSet - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.32.6.0

Versions:

Current version

Task

Redefine the monitoring position window for the overload detection.

Description

With i_lrLowLimit and i_lrHighLimit, the active window of the axis i_stAxisId can be redefined (like by the function FC_OverloadDetectionSet). The runtime of the function is short as it does not require any transfer via the Sercos parameter channel. If the overload monitoring (OverloadDetection) is active, then the window is effective immediately. The activation status of the overload monitoring is not affected.

Interface

Input

Data type

Description

i_stAxisId

ST_LogicalAddress

Logical address of the axis

i_lrLowLimit

LREAL

Lower window limit (in user-defined units)

i_lrHighLimit

LREAL

Upper window limit (in user-defined units)

Return Value

Data type

Description

DINT

0: OK. Data has been set.

-1: Logical address of the axis is invalid

-2: i_lrLowLimit has to be less than i_lrHighLimit