<< Prev        Next >>

ID : 5845

CurSpeedMode

Function

Obtain the setting value of the Optimal Speed Control Function.

This command is available in Ver.1.8.* or higher.

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
 
 '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 : 5845

<< Prev        Next >>