Arc Method

Description
Arc moves the arm to the specified point using circular interpolation in the XY plane.

Syntax
Sub Arc (MidPoint As Integer, EndPoint As Integer)
Sub Arc (MidPoint As SpelPoint, EndPoint As SpelPoint)
Sub Arc (MidPoint As String, EndPoint As String)

Parameters
Each syntax has two parameters that specify the mid point and end point of the arc.

  • MidPoint
    An integer, SpelPoint or character string indicating the mid point.
  • EndPoint
    Specifies the target point using an integer, SpelPoint or character string. When using a character string, you can include ROT, CP, SYNC, Till, Find, and a parallel processing statement.

Remarks
If an error occurs and the ErrorNumber property of the SpelException is 3101, see the remarks in the SetPoint method.

See Also
AccelR Method, AccelS Method, SpeedR Method, SpeedS Method, Arc3 Method, CVMove Method, Go Method, Jump Method, Jump3 Method, Jump3CP Method, Move Method, BGo Method, BMove Method, TGo Method, TMove Method, Find Method, Till Method, SetPoint Method

Arc Example
VB Example:

' Points specified using SpelPoint  
Dim midPoint, endPoint As SpelPoint  
midPoint = m_spel.GetPoint("P1")  
endPoint = m_spel.GetPoint("P2")  
m_spel.Arc(midPoint, endPoint)  
  
' Points specified using expressions  
m_spel.Arc("P1", "P2")  
m_spel.Arc("P1", "P2 CP")  
  
' Using parallel processing  
m_spel.Arc("P1", "P2 \!D50; On 1; D90; Off 1\!")  

C# Example:

// Points specified using SpelPoint  
SpelPoint midPoint, endPoint;  
midPoint = m_spel.GetPoint("P1");  
endPoint = m_spel.GetPoint("P2");  
m_spel.Arc(midPoint, endPoint);  
  
// Points specified using expressions  
m_spel.Arc("P1", "P2");  
m_spel.Arc("P1", "P2 CP");  
  
// Using a parallel processing  
m_spel.Arc("P1", "P2 \!D50; On 1; D90; Off 1\!");