JTran Method

Description
Executes a relative joint move.

Syntax
Sub JTran (JointNumber As Integer, Distance As Single)

Parameters

  • JointNumber
    The specific joint to move.
  • Distance
    The distance to move. Units are in degrees for rotary joints and millimeters for linear joints.

Remarks
If an error occurs and the ErrorNumber property of the SpelException is 3101, see the remarks in the SetPoint method.

See Also
PTran Method, Pulse Method, SetPoint Method

JTran Example
VB Example:

' Move joint 1 45 degrees in the plus direction.  
m_spel.JTran(1, 45.0)  

C# Example:

// Move joint 1 45 degrees in the plus direction.  
m_spel.JTran(1, 45.0);