Computer Assisted Part Programming
Computer Assisted Part Programming
PART PROGRAMMING
(CAPP)
Introduction
• Computer assisted programming methods are much faster
and more reliable than manual programming techniques.
2. Motion Statements: which describe the tool path in relation to the part
geometry
• When a point has been defined it will have coordinates in all three axes.
Y P1 = POINT/2,2,2
P1
2
2
DEFINITION OF POINT-2:
(Intersection of two previously defined lines)
P2 = POINT / INTOF,L1,L2
L1
P2
L2
DEFINITION OF POINT-3:
(Intersection point of a previously defined line and circle)
C1
P4
L1
P3
DEFINITION OF POINT-4:
(Intersection point of two previously defined circles)
P3 C1
P4
C2
DEFINITION OF POINT-5:
(On the circumference of a previously defined circle )
P2 = POINT / C1,ATANGL,75
P2
75°
X
C1
DEFINITION OF POINT-6:
(Center Point of a previously defined circle )
P2 = POINT / CENTER, C1
P2
C1
DEFINITION OF POINT-7:
(On a previously defied Line and a known X or Y dimension
from datum )
P2 = POINT / L1, XCOORD, 2
or P2 = POINT / L1, YCOORD, 3
P2 L1
3
X
2
DEFINING A LINE IN APT
GENERAL RULES:
L1 = LINE/P1,P2
P2 L1
P1
DEFINITION OF LINE-2:
(Passing through a previously defined point and tangent to a
previously defined circle)
L3 = LINE / P1, RIGHT, TANTO, C2
L4 = LINE / P1, LEFT, TANTO, C2
The RIGHT or LEFT modifiers are applied by looking from the point to the
circle and deciding whether the line will pass to the right or left of the
circle.
L4
C1
P1 L3
DEFINITION OF LINE-3:
(Tangent to two previously defined circles)
The RIGHT & LEFT modifiers are applied looking from the first circle
quoted to the second
L1
C2
C1
DEFINITION OF LINE-3: contd.
(Tangent to two previously defined circles)
L3
C2
C1
L4
DEFINITION OF LINE-4:
(Passing Through a previously defined point at a specified
angle to the X-axis)
L2
P1 30°
150°
DEFINITION OF LINE-5:
(Passing through a previously defined point,
parallel to a previously defined line)
L3 = LINE/P3,PARLEL,L2
P3
L3
L2
DEFINITION OF LINE-6:
(Passing through a previously defined point,
perpendiculat to a previously defined line)
L3 = LINE/P1,PERPTO,L2
P1
L2
L3
DEFINING A CIRCLE IN APT
GENERAL RULES:
C1 = CIRCLE/X,Y,R
C1
(X,Y)
DEFINITION OF CIRCLE-2:
(Previously defined center point with a given radius)
C2 = CIRCLE/CENTER,P1,RADIUS,5
C2
5R
P1
DEFINITION OF CIRCLE-3:
(Previously defined center point and tangent to a previously
defined line)
C2 = CIRCLE/CENTER,P1,TANTO,L2
L2
P1
C2
DEFINITION OF CIRCLE-4:
(Previously defined center point and passing through another
previously defined point)
C2 = CIRCLE/CENTER,P1,P2
P2
P1
C1
DEFINITION OF CIRCLE-5:
(Passing through three previously defined points)
C3 = CIRCLE/P1,P2,P3
P2
P1
C3
P3
DEFINITION OF CIRCLE-6:
(Previously defined center point and tangent to a previously
defined circle)
PL4 = PLANE/P1,P23
2. MOTION STATEMENTS
• APT motion statements have a general format:
motion command / descriptive data
e.g. GOTO / P1
• At the beginning of the motion statements tool must be given a starting
point
FROM / P0
Or FROM / -2, -2, 0
• The FROM is an APT vocabulary word which indicates that this is the
initial point from which others will be referenced. The FROM statement
occurs only once at the start of the motion sequence.
GOTO:
The GOTO statement instructs the tool to go to a particular point location
specified in the descriptive data.
e.g. GOTO / P2
GOTO / 2, 7, 0
GODLTA:
The GODLTA command specifies an incremental move for the tool.
FROM/P0
GO/TO,L1,TO,PL1,TO,L5
GORGT/L1,PAST,L2
GOLFT/L2,TO,L3
GORGT/L3,TANTO,C1
GOFWD,C1,PAST,L4
GOFWD/L4,PAST,L5
GOLFT/L5,PAST,L1
GOTO/P0
3. POST PROCESSOR STATEMENTS
• APT motion statements have a general format:
motion command / descriptive data
e.g. GOTO / P1
3. POST PROCESSOR STATEMENTS
3. POST PROCESSOR STATEMENTS
4. AUXILIARY STATEMENTS
EXAMPLE