Agl Method

Description
Returns the joint angle for the selected rotational axis, or position for the selected linear axis.

Syntax
Function Agl (JointNumber As Integer) As Single

Parameters

  • JointNumber
    An integer indicating the axis number (range: 1 to number of joints of the robot)

Return Value
Returns the joint angle for the selected rotational axis, or position for the selected linear axis.

See Also
Pls Method, CX, CY, CZ, CU, CV, CW, CR, CS, CT Method

Agl Example
C# Example:

Dim j1Angle As Single  
j1Angle = m_spel.Agl(1)  

C# Example:

float j1Angle;  
j1Angle = m_spel.Agl(1);