LimitTorque Method

Description
Sets the upper limit torque in high power mode for the current robot.

Syntax
Sub LimitTorque (AllJointsMax As Integer)
Sub LimitTorque (J1Max As Integer, J2Max As Integer, J3Max As Integer, J4Max As Integer, J5Max As Integer, J6Max As Integer)

Parameters

  • AllJointsMax
    An integer expression indicating the upper torque limit for all joints in the high power state.
  • J1Max - J6Max
    An integer expression indicating the upper torque limit for each joint in the high power state.

Return Value
Integer value between 1 and 9 which represents the limit torque setting for the specified joint.

See Also
GetRealTorque Method, GetRobotPos Method

LimitTorque Example
VB Example:

Dim j1LimitTorque As Integer  
j1LimitTorque = m_spel.LimitTorque(1)  

C# Example:

int j1LimitTorquel  
j1LimitTorque = m_spel.LimitTorque(1);