<< Prev        Next >>

ID : 3690

CurCPMode

Function

Obtain the setting value of the CP interpolation mode.

Syntax

CurCPMode

Return value

Obtain the setting value of CP interpolation mode by an integer type data.

Description

This command returns currently selected value of CP interpolation mode. For details about setting values, refer to Guaranteed entry in CPMove command.

Use this command when you want to temporarily change the setting value as shown below.

Related Terms

CPMode

Attention

-

Example

Sub Main	
 Dim prevSet As Variant				

 TakeArm Keep = 1

 'Obtain currently selected CP interpolation mode.					
 prevSet = CurCPMode

 'Set a CP interpolation mode.			
 CPMode 1				

 'Execute any processing.				

 'Set the CP interpolation mode to the original setting.			
 CPMode prevSet

End Sub

ID : 3690

<< Prev        Next >>