GetJRange Method

Description
Gets the permissible working range of the specified joint in pulses.

Syntax
Function GetJRange (JointNumber As Integer, Bound As Integer) As Integer

Parameters

  • JointNumber
    An integer indicating the axis number (range: 1 to number of joints of the robot)
  • Bound
    Specifies one of the following two values as an integer. 1: Specifies lower limit value.2: Specifies upper limit value.

Return Value
Range configuration (integer value, pulses) of the specified joint.

See Also
Jrange Method

GetJRange Example
VB Example:

Dim minRange As Integer  
Dim maxRange As Integer  
val1 = m_spel.GetJRange(1, 1)  
val2 = m_spel.GetJRange(1, 2)  

C# Example:

int minRange, maxRange;  
minRange = m_spel.GetJRange(1, 1);  
maxRange = m_spel.GetJRange(1, 2);