FC_BrakeCheckSet

 

FC_BrakeCheckSet - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.58.3.0

Versions:

Current version

Task

Check whether the engaged brake can hold a certain torque or not.

Description

The FC_BrakeCheckSet function is used to test the function of the coupled brake. This is done by applying a defined torque to the brake while the brake is closed. The torque is defined by the three parameters i_rBreakCheckTorque, i_rExternalTorque, and StaticFriction.

The brake is tested in positive and negative direction. The torque to test the brake is calculated as follows:

oTorque in positive direction: i_rBreakCheckTorque + i_rExternalTorque + StaticFriction 

oTorque in negative direction: –i_rBreakCheckTorque + i_rExternalTorque – StaticFriction 

The return value shows the result of the last brake check. The state of the brake check function can be retrieved using the FC_BrakeCheckGetState function.

The movement check of the encoder while the torque is applied is done cyclic every 1 ms. The check is unsuccessful when the movement at the motor within the test is less or more than 1 degree. If the check is unsuccessful:

oThe current is off.

oThe test is aborted immediately.

NOTE:

oThe brake check can only be started with AxisState = 1.

oThe function is only available for rotative synchronous servomotors with encoder.

Interface

Input

Data type

Description

i_stLogAddr

ST_LogicalAddress

Logical address of the axis.

i_rBreakCheckTorque

REAL

Torque in [Nm] which is applied to test the brake.

i_rExternalTorque

REAL

Torque in [Nm] which is applied to compensate an external torque.

Return Value

Data type

Description

DINT

0: OK

-1: Unsupported device

-2: Sercos not ready

-3: Axis not ready

-4: Parameter out of range

-5: Drive is virtual

-6: Unknown error