MCV_SetTorqueValue

The value for the maximum torque in ±0.1% is set with the MCV_SetTorqueValue FB.

Block diagram

MCV_SetTorqueValue 1:

Parameters of the function block

 

VAR_IN_OUT

 

Axis

AXIS_REF

Axis reference.

VAR_INPUT

 

Enable

BOOL

Activates torque for drive mode torque control.

 

TorqueValue

INT

Maximum torque value.

Unit [0.1%]

VAR_OUTPUT

 

ActiveTorqueCommand

BOOL

Torque is active.

 

ActualTorqueValue

INT

Current torque value.

Unit [0.1%]

 

Error

BOOL

Indicates if an error has occurred.

 

ErrorID

WORD

Error identification.

Behavior of the function block

The maximum torque is entered in the value range -1000 ≤ 0 ≤ +1000. The unit is 0.1% of the maximum torque, in the positive or negative direction of rotation.

The entered value is active as soon as "Enable’ is set to TRUE. The entered value is accepted immediately if the function block is permanently activated.