Arc3 Method
Description
Arc3 moves the arm to the specified point using circular interpolation in 3 dimensions.
Syntax
Sub Arc3 (MidPoint As Integer, EndPoint As Integer)
Sub Arc3 (MidPoint As SpelPoint, EndPoint As SpelPoint)
Sub Arc3(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, Arc 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
Arc3 Example
VB Example:
' Points specified using SpelPoint
Dim midPoint, endPoint As SpelPoint
midPoint = m_spel.GetPoint("P1")
endPoint = m_spel.GetPoint("P2")
m_spel.Arc3(midPoint, endPoint)
' Points specified using expressions
m_spel.Arc3("P1", "P2")
m_spel.Arc3("P1", "P2 CP")
' Using parallel processing
m_spel.Arc3("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.Arc3(midPoint, endPoint);
// Points specified using expressions
m_spel.Arc3("P1", "P2");
m_spel.Arc3("P1", "P2 CP");
// Using a parallel processing
m_spel.Arc3("P1", "P2 \!D50; On 1; D90; Off 1\!");