MCV_TorqueLimit

The MCV_TorqueLimit FB limits the maximum torque of the drive for every motion direction independently.

Blockdiagramm

Parameters of the FB

VAR_IN_OUT

Variable name

Data type

Description

axis

AXIS_REF

Axis reference

VAR_INPUT

Variable name

Data type

Description

enable

BOOL

If "Enable“ is TRUE, the torque limit is active.

TorqueLimitPositive

INT

Maximum drive torque which may occur in the positive motion direction.

Default unit [0.1%]

TorqueLimitNegative

INT

Maximum drive torque which may occur in the negative motion direction.

Default unit [0.1%]

VAR_OUTPUT

Variable name

Data type

Description

ActualTorque

INT

Currently effective drive torque.

Default unit [0.1%]

LimitActive

BOOL

The torque limit is activated.

LimitReachedPositive

BOOL

The maximum torque for the positive motion direction is reached.

LimitReachedNegative

BOOL

The maximum torque for the negative motion direction is reached.

Error

BOOL

Indicates TRUE if an error occurs in the FB.

ErrorID

WORD

Error code.

Behaviour of the FB