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.
See Also
PTran Method, Pulse 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);
← JS Method Jump Method →