MCV_SetTorqueValue

The value for the maximum torque in ±0,1% is set with the MCV_SetTorqueValue FB.

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

Activates the specified torque for torque control and torque pilot control.

TorqueValue

INT

Maximum torque in ±0.1%

VAR_OUTPUT

Variable name

Data type

Description

ActiveTorqueCommand

BOOL

Torque is active.

ActualTorqueValue

INT

Current torque in ±0.1%

Error

BOOL

Is TRUE when an error occurs in the FB.

ErrorID

WORD

Error code.

Behaviour of the FB