L_MC1P_BrakeTest

This FB serves to test the function of a holding brake. For this purpose, a defined torque is applied against the closed holding brake.

Supported devices:
  • i700
  • i750
  • i950
Note!
  • This function can only be started in the " Disabled " axis state ( MC_Power . Enable = FALSE).
  • After the start, it is changed into the " Service " axis state. In this axis state, the drive will be automatically enabled for executing the function.
  • The execution can be aborted via the FB MC_Stop . This causes the drive to be inhibited again.

 

 

 

L_MC1P_BrakeTest

 

 

 

AXIS_REF

-

Axis

xDone

-

BOOL

BOOL

-

xExecute

xBusy

-

BOOL

LREAL

-

lrMotorTorque

xActive

-

BOOL

LREAL

-

lrRampTime

xCommandAborted

-

BOOL

LREAL

-

lrHoldTime

xError

-

BOOL

LREAL

-

lrPosThreshold

eErrorID

-

L_IE1P_Error

MC_Direction

-

eDirection

lrIdentifiedTorque

-

LREAL

L_MC1P_BrakeTestMode

-

eMode

eState

-

L_MC1P_BrakeTestStatus

BOOL

-

xUseAxisParameter

lrActPosThreshold

-

LREAL

lrActMotorTorque

-

LREAL

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

Axis

AXIS_REF

Transfer of the axis data structure

Motion axes (AXIS_REF)

xExecute

BOOL

FALSE รค TRUE

Start execution of the function block.

lrMotorTorque

LREAL

Test torque in [Nm] with reference to the motor

lrRampTime

LREAL

Acceleration and deceleration time in [s]

lrHoldTime

LREAL

Holding time in [s]

lrPosThreshold

LREAL

Max. threshold position of motor shaft in [degrees]

eDirection

MC_Direction

Selection of the direction (output end) in which the test torque is to be generated.

0

mcCurrentDirection

The test torque is generated depending on the sign of the lrMotorTorque input

1

mcPositiveDirection

Test torque is generated in the positive direction

2

mcNegativeDirection

Test torque is generated in the negative direction

eMode

MC_Direction

This input specifies whether a potentially available load (e.g. in the case of a hoist) is to be compensated

0

NoLoadTorque (no load compensation)

The torque preselected at the lrMotorTorque input is used for testing the brake.

1

LoadTorqueIdentification

A load compensation takes place. An automatic load compensation is carried out before starting.

(For details see load compensation)

xUseAxisParameter

BOOL

TRUE

The parameters for executing the function Brake grind in are no longer specified by the FB, but are taken from subindices 122 ... 127 of the connected AXIS_REF. The inputs eAdditionalLimits , IrPosLimit1 and IrPosLimit2 continue to be active.

Outputs

Name

Data type

Value/meaning

xDone

BOOL

TRUE

The command has been executed successfully.

xBusy

BOOL

TRUE

Processing is running.

xActive

BOOL

TRUE

The command of the FB is currently executed.

  • The xActive output matters if a motion control is carried out by several FBs (BufferMode).

xCommandAborted

BOOL

TRUE

The command was aborted by another FB.

xError

BOOL

TRUE

An error has occurred. For details see eErrorID .

eErrorID

If xError = TRUE: Error number for the error that has occurred.

lrIdentifiedTorque

LREAL

Value of the torque in [Nm] at the output end, which has been determined in the course of the automatic load identification.

eMode = L_MC1P_BrakeTestMode.LoadTorqueIdentification

eState

L_MC1P_BrakeTestStatus

0

NotActive

  • FB not active

1

Init

  • Initialisation for the performance of the brake test

2

TorqueIdentification

  • Load torque is identified

3

BrakeTest

  • Test torque is being generated

4

Done

  • Brake test is completed

5

Error

  • An error has occurred

lrActPosThreshold

LREAL

Current angle of rotation of the motor shaft in [degrees] when performing the brake test.

lrActMotorTorque

LREAL

Current motor torque in [Nm] relating to the motor

Process without load identification (eMode = L_MC1P_BrakeTestMode.NoLoadTorque)

CINH = controller inhibit

  1. After the execution has started (rising edge at xExecute ), the defined test torque lrMotorTorque is built up via a ramp generator with the lrRampTime acceleration time and then held for the lrHoldTime holding time. This shall serve to rotate the motor shaft when the holding brake is applied.
  2. Then, the test torque is reduced in the same manner.
  3. After the brake test is completed, the controller is inhibited automatically again.

Sequence of the brake test

Load compensation mode (including load identification)

Before the brake test is started, the brake is released when the controller has been enabled, and the holding torque is determined automatically.

The resulting test torque depends on the direction selected:

  • eDirection = mcPositiveDirection
  • Test torque = lrMotorTorque + lrIdentifiedTorque
  • eDirection = mcNegativeDirection
  • Test torque = - lrMotorTorque + lrIdentifiedTorque