846 Part F Industrial Automation
48.3.2 Computer-Assisted Part
Programming: APT and EXAPT
Automatically programmed tools is the most impor-
tant computer-assisted part programming language and
was first used to generate part programs in produc-
tion around 1960. EXAPT contains additional functions
such as setting of cutting conditions, selection of cut-
ting tool, and operation planning besides the functions
of APT. APT provides two steps to generate part
programs: (1) definition of part geometry, and (2) spec-
ification of tool motion and operation sequence. An
example program list is shown in Fig.48.17. The fol-
lowing APT statements define the contour of the part
geometry based on basic geometric elements such as
points, lines, and circles:
LN1 =LINE/20, 20, 20, 70
LN2 =LINE/(POINT/20, 70), ATANGL, 75, LN1
LN3 =LINE/(POINT/40, 20), ATANGL, 45
LN4 =LINE/20, 20, 40, 20
CIR =CIRCLE/YSMALL, LN2,
YLARGE, LN3, RADIUS, 10
where LN1 is the line that goes through points (20, 20)
and (20, 70); LN2 is the line that goes from point (20,
70) at 75
◦
to LN1; LN3 is the line that goes from point
(40, 20) at 45
◦
to the horizontal line; LN4 is the line
that goes through points (20, 20) and (40, 20); and CIR
is the circle tangent to lines LN2 and LN3 with radius
10. Most part shapes can be described using these APT
statements.
On theother hands,tool motionsare specified by the
following APT statements:
TLLFT, GOLFT/LN1, PAST, LN2
GORGT/LN2, TANTO, CIR
GOFWD/CIR, TANTO, LN3
where “TLLFT, GOLFT/LN1” indicates that the tool
positions left (TLLFT) of the line LN1, goes left
(GOLFT), and moves along the line LN1. “PAST, LN2”
indicates that the tool moves until past (PAST) the line
LN2. “GORGT/LN2” indicates that the tool goes right
(GORGT) and moves along the line LN2. “TANTO,
CIR” indicates that the tool moves until tangent to
(TANTO) the circle CIR. GOFWD/CIR indicates that
the tool goes forward (GOFWD) and moves along
the circle CIR. “TANTO, LN3” indicates that the tool
moves until tangent to the line LN3.
Additional APT statements are prepared to de-
fine feed speed, spindle speed, tool size, and toler-
ances of tool paths. The APT program completed by
the part programmer is translated by the computer
to the cutter location (CL) data, which consists of
all the geometry and cutter location information re-
quired to machine the part. This process is called
main processing or preprocessing to generate NC
commands. The CL data is converted to the part
program, which is understood by the NC machine
tool controller. This process is called postprocessing
to add NC commands to specify feed speed, spin-
dle speed, and auxiliary functions for the machining
operation.
48.3.3 CAM-Assisted Part Programming
CAM systems grew based on technologies relating to
APT and EXAPT. Originally, CAM stood for computer-
aided manufacturing and was used as a general term
for computer software to assist all operations while re-
alizing manufacturing. However, CAM is now used to
indicate computer software to assist part programming
in a narrow sense.
The biggest difference between part programming
assisted by APT and CAM is usability. Part program-
ming assisted by APT is based on batch processing.
Therefore, many programming errors are not detected
until the end of computer processing. The other hand,
part programming assisted by CAM is interactive-mode
processing with a visual and graphical environment.
It therefore becomes easy to complete a part program
after repeated trial and error using visual verifica-
tion. Additionally, close cooperation between CAD
and CAM offers a significant benefit in terms of
part programming. The geometrical data for each part
designed by CAD are available for automatic tool-
path generation, such as surface profiling, contouring,
and pocket milling, in CAM through software rou-
tines. This saves significant programming time and
effort for part programming. Recently, some simu-
lation technologies have become available to verify
part programs free from machining trouble. Optimiza-
tion of feed speed and detection of machine crash
are two major functions for part program verification.
These functions also save significant production lead
time.
Part F 48.3