MCV_ReadActualTorque

This FB can determine the torque value of an axis. Specify the torque in units of 0.01%.

Block diagram

FB parameters

VAR_IN_OUT

Variable name

Data type

Description

Axis

AXIS_REF

Axis reference

VAR_INPUT

Variable name

Data type

Description

Enable

BOOL

When TRUE, the current active drive torque is read.

VAR_OUTPUT

Variable name

Data type

Description

Valid

BOOL

Is TRUE when the drive torque is read.

ActualTorqueValue

DINT

Current active drive torque.

Unit [0.01%]

Error

BOOL

Indicates whether an error has occurred in an FB.

ErrorID

WORD

Error code