APT Part Programming Presentation 2017
APT Part Programming Presentation 2017
APT Part Programming Presentation 2017
(APT)
Part will be defined in the Cartesian
coordinate system as shown in fig.1.
z
y
x
Part Programming
APT (Automatically Programmed Tool) is a
software compiler for simplifying numerical
.control Programming
03/29/20
APT
APT (Automatically Programmed Tool) is a
software compiler for simplifying numerical
.control Programming
03/29/20
APT (Automatically Programmed Tool) is a language
for defining tool paths on CNC machines. It was the
predecessor to today’s CAM software, created in the
late 1950s to define complex tool paths in the
aerospace industry in the US. It was developed in
MIT labs, the same place where the first NC machine
.was invented
In Programming, the tool does all the moving; the part is•
.stationary
03/29/20
APT Statement Types (5)
Identification•
Geometry•
Motion•
Postprocessor (feed, speed, coolant, …•
etc.)
Auxiliary (tool, tolerance, part, … etc.)•
03/29/20
The general format for geometric statements is:
y
(3, 4, 5)
PTA
x
Point (POINT)
LIN2
PTB
LIN1
Point (POINT)
y
PTD = POINT/ YSMALL, INTOF, LIN3, C1
PTD
x
Point (POINT)
y
PTE = POINT/ YLARGE, INTOF, C1, C2
PTE
PTF = POINT/ YSMALL, INTOF, C1, C2
PTF C2
x
Point (POINT)
C6
PT7
x
Point (POINT)
PT11
7.3
27°
x
Line (LINE)
P2
P1
LIN1
x
Line (LINE)
PT6
L4 (15, -30, 3)
x
Line (LINE)
y
(31, 6.2, 1.3)
x
Line (LINE)
L12 = LINE/ PT4, ATANGL, 20, XAXIS
L14 = LINE/ PT1, ATANGL, 40
L15 = LINE/ 32, -3, 2, ATANGL, -15, XAXIS
L16 = LINE/ PT3, ATANGL, 40, YAXIS
y
PT3 L14
40°
PT1 L12
L16
PT4
40° 20°
15° x
L15
(32, -3, 2)
Line (LINE)
y
LINE2
P1
30° LINE1
x
Line (LINE)
LIN = LINE/ SLOPE, SLOPE VALUE, INTERC, MODIFIER, d
where the slope value is y/x. The modifier options are [XAXIS,
YAXIS], and d is the corresponding intercept value on the
selected axis (i.e., modifier).
LINE1
x
(6,0) Point of X-Intercept
Line (LINE)
LINE1
L1
C11
PT51
Line (LINE)
L3 Right
PT40
L1
Left
Left L4
PT51
Right L2
Line (LINE)
L6
Right
C4
Left
C3
Right
Left
L8 L9
L7
Line (LINE)
L6
Right
C4
Lef
C3 t
Right
Left
L8 L
9
L7
Line (LINE)
L6
Right
C4
Left
C3
Right
Left
L8 L9
L7
Line (LINE)
L6
Right
C4
Left
C3
Right
Left
L8 L9
L7
Line (LINE)
y
PNT6 PNT5
LN3
LN4
LN15
LN13
x
Plane (PLANE)
LN5
PLAN1
PLAN2
Plane (PLANE)
PLAN10
PT15
PT6 PT12
y 3.0
PT4
z
PLAN14
x
Plane (PLANE)
PLAN10
PT15
y PT6 PT12
3.0
PT4
z
PLAN14
x
Circle (CIRCLE)
C1 = CIRCLE/ 3, 6, 5, 4.3
C1 = CIRCLE/ CENTER, PT3, RADIUS, 4.3
y
C1
4.3
PT3
(3,6,5)
x
Circle (CIRCLE)
PT6 PT8
C3 C7
x x
Circle (CIRCLE)
C1
y
3.0
C3
C2
2.0 YSMALL
1.5
YLARGE
LN4 LN6
XLARGE x
Circle (CIRCLE)
y C1
3.0
C3
C2
1.5 2.0 YSMALL
YLARGE
LN4
LN6
XLARGE
x
Circle (CIRCLE)
C1
y
3.0
C3
C2
1.5 2.0 YSMALL
YLARGE
LN4 LN6
XLARGE
x
Cylinder (CYLNDR)
CYL3 = CYLNDR/ XLARGE, TANTO, PLAN5, YSMALL, TANTO, PLAN10, RADIUS, 2.0
z
PLAN5
2.0
y PLAN10
CYL3
x
Geometry Example
Top view
5.0 in.
The top view of a plate is Tangent point
0.5 in.
Side view
Geometry Example
PT1 = POINT/ 4, 5, 0 PT1 = (4,5,0)
Z = 0.0
0.6 in.
The Machining Plan
FROM/ PO P0 = (0,4,0.1)
GOTO/ P1
1.0 in. 1.0 in.
GODELTA/ 0, 0, -0.8 1.3 in.
GODELTA/ 0, 0, 0.8 P1 P2
GOTO/ P2
GODELTA/ 0, 0, -0.8 0.7 in.
P3
GODELTA/ 0, 0, 0.8
GOTO/ P3
GODELTA/ 0, 0, -0.8
Z = 0.0
GODELTA/ 0, 0, 0.8
GOTO/ PO
0.6 in.
The Machining Plan
TERMAC
The macro can be used any time in the APT program by
CALL macro name (, list of parameters)
The Machining Plan
P0 = (0,4,0.1)
PO = POINT/ 0, 4, 0.1
DELTA = MACRO/ DX, DY 1.0 in. 1.0 in.
GOTO/ DX, DY, ________ 1.3 in. P1 P2
GODELTA/ _______, ________, ________
GODELTA/ _______, ________, ________
TERMAC 0.7 in. P3
FROM/ PO
CALL DELTA/ DX = _______, DY = _______
CALL DELTA/ DX = _______, DY = _______
CALL DELTA/ DX = _______, DY = _______ Z = 0.0
GOTO/ PO
0.8 in.
The Machining Plan:
Contouring:
Part surface: the surface on which the end of the tool is
riding.
Drive surface: the surface against which the edge of the
tool rides.
Check surface: a surface at which the current tool motion
is to stop.
The Machining Plan
z
Drive surface Check surface
Direction of
cutter cutter motion
Part surface
The Machining Plan
CS CS CS
DS DS DS
TO ON PAST
The Machining Plan
TANTO :
A: GO/ TO, L1, TO, PL2, TANTO, C1
B: GO/ PAST, L1, TO, PL2, TANTO, C1
A (TO, L1)
Start point
C1
y
Check surface
L1 B (PAST, L1)
Drive surface
x
The Machining Plan
Motion commands:
GOLFT/ : Move left along the drive surface
GORGT/ : Move right along the drive surface
GOUP/ : Move up along the drive surface
GODOWN/ : Move down along the drive surface
GOFWD/ : Move forward from a tangent position
GOBACK/ : Move backward from a tangent position
The Machining Plan
B
A Start
Machining Specifications
FEDRAT/ : specifies the feed rate for moving the tool along the
part surface in inches per minute:
FEDRAT/ 4.5
SPINDL/ : gives the spindle rotation speed in revolutions per
minute:
SPINDL/ 850
TURRET/ : can be used to call a specific tool from an automatic
tool changer:
TURRET/ 11
Machining Specifications
Specified
Specified path
path
OUTTOL
INTOL
Machining Specifications