AccelR Method
Description
Sets acceleration and deceleration for tool rotation motion.
Syntax
Sub AccelR (Accel As Single, [Decel As Single])
Parameters
- Accel
A real number from 0.1 to 5000 (units: deg/sec2) that defines the tool rotation acceleration when ROT is used in motion commands. If Decel is omitted, this value is used for both the Acceleration and Deceleration rates. - Decel
A real number from 0.1 to 5000 (units: deg/sec2) that defines the tool rotation deceleration when ROT is used in motion commands. Optional.
Remarks
If an error occurs and the ErrorNumber property of the SpelException is 3101, see the remarks in the SetPoint method.
See Also
Arc Method, Arc3 Method, BMove Method, Jump3CP Method, SetPoint Method, SpeedR Method, TMove Method
AccelR Example
VB Example:
Sub MoveToPlace()
m_spel.AccelR(100)
m_spel.Move("place ROT")
End Sub
C# Example:
void MoveToPlace()
{
m_spel.AccelR(100);
m_spel.Move("place ROT");
}