<< Prev        Next >>

ID : 3604

CurSpeedMode

Function

Obtain the setting value of the Optimal Speed Control Function.

Syntax

CurSpeedMode

Return Value

The setting value of the Optimal Speed Control Function is returned by an integer type data.

Description

This command returns the currently selected mode of the Optimal Speed Control Function by an integer type data. For details of each mode, refer to "Optimal Speed Control Function". Use this command when you want to temporarily change the setting value, as shown below.

Related Terms

SpeedMode

Attention

-

Example

Sub Main    
 Dim prevSet As Variant

 TakeArm Keep = 1
 
 'Obtain currently selected value of the Optimal Speed Control Function.
 prevSet = CurSpeedMode
 
 'Set desired Optimal Speed Control Function mode.    
 SpeedMode 0 

 'Move the robot by free curve interpolation.
 Move S, 1
 
 'Set the Optimal Speed Control Function mode to the originally selected mode.
 SpeedMode prevSet
  
End Sub

ID : 3604

<< Prev        Next >>