RealTorque Function

Returns the current torque instruction value of the specified joint.

Syntax
RealTorque(jointNumber)

Parameters

Joint number
Specify the joint number to acquire the torque instruction value as an expression or numeric value. Additional S axis is 8, and T axis is 9.

Return Values
Returns the real value (-1 to 1) representing the proportion in the maximum torque on current power mode.

The positive value means the positive direction of the joint angle and the negative value means the negative direction.

See also
TC, TCSpeed, TCLim

RealTorque Function Example

Print "Current Z axis torque instruction value (SCARA):", RealTorque(3)