GetSpeed Method

Description
Returns one of the three speed settings for the current robot.

Syntax
Function GetSpeed (ParamNumber As Integer) As Integer

Parameters

  • ParamNumber
    Integer expression which determines one of the following values: 1: PTP motion speed 2: Jump depart speed 3: Jump approach speed

Return Value
Integer expression from 1-100.

See Also
Speed Method

GetSpeed Example
VB Example:

Dim ptpSpeed As Integer  
ptpSpeed = m_spel.GetSpeed(1)  

C# Example:

ptp
Speed = m_spel.GetSpeed(1);