TANA Tangent Arc
TANL Tangent Line
General Format for TANA & TANL
Input Parameters
P90 = X1 center of arc 1
P91 = Y1 center of arc 1
P92 = R1 radius of arc 1
P93 = X2 center of arc 2
P94 = Y2 center of arc 2
P95 = R2 radius of arc 2
P96 = R3 radius of tangent arc (use in TANA only)
Calculated Output Parameters
P80 = Xs X starting point of tangent arc or line
P81 = Ys Y starting point of tangent arc or line
P82 = Xe X end point of tangent arc or line
P83 = Ye Y end point of tangent arc or line
P84 = Xt X center of tangent arc (TANA case only)
P85 = Yt Y center of tangent arc (TANA case only)
TANA C# or TANL C#
# is a number 0 through 7 in the tangent arc case, and 0 through 3 in the tangent line case.
This number selects one of the eight possible solutions of the TANA or one of the four solutions
of the TANL. The values of C# are defined as the tangent point being to the right or left of a line
connecting the centers of the arcs and center of the connecting arc, when facing in the direction
of tool movement. See the following diagrams for illustration of tangent solutions.
TANA Cases
1st 2nd Center
C0 = Right Right Left
C1 = Left Right Left
C2 = Right Left Left
C3 = Left Left Left
C4 = Left Left Right
C5 = Right Left Right
C6 = Left Right Right
C7 = Right Right Right
Sample Program Using TANA or TANL
N1 P90=0 (XC of arc 1)
N2 P91=0 (YC of arc 1)
N3 P92=1.5 (radius of arc 1)
N4 P93=5 (XC of arc 2)
N5 P94=4 (YC of arc 2)
N6 P95=2 (radius of arc 2)
N7 P96=5 (radius of tangent arc, not used for tangent line)
N8 TANA C3 or TANL C3 (calculate line or arc points)
N9 G2 R1.5 XC0 YC0 X[P80] Y[P81] (first arc #1)
N10 G3 R5 XC[P84] YC[P85] X[P82] Y[P83] (TANA calculated center and end points)
(or)
N10 G1 X[P82] Y[P83] (TANL calculated end point)
N11 G2 R2 XC5 YC4 X Y (second arc #2)