Weight Method
Description
Specifies the weight parameters for the current robot.
Syntax
Sub Weight (PayloadWeight As Single, ArmLength As Single)
Parameters
- PayloadWeight
The weight that the hand can carry in kilograms. - ArmLength
The distance from the center of rotation of the second arm to the center of gravity of the hand in millimeters. - Axis
Additional axis (S or T) to which the load is assigned
Note
Do not enter integer values to PayLoadWeight and ArmLength parameters. Use Single variables or directly enter Single type values.
Remarks
If an error occurs and the ErrorNumber property of the SpelException is 3101, see the remarks in the SetPoint method.
See Also
Inertia Method, Jrange Method, Tool Method, SetPoint Method
Weight Example
VB Example:
m_spel.Weight(2.0F, 2.5F)
C# Example:
m_spel.Weight(2.0F, 2.5F);
← WaitTaskDone Method X →