1. Geometry statement
2. Motion statement
3. Postprocessor statement
4. Auxiliary statement
GEOMETRY STATEMENT:
There many other ways to denote the point. They are as follows:
1. Drive surface: This is the surface that guides the side of the
cutter.
2. Part surface: This is the surface on which the bottom of the
cutter rides. The part programmer must define this plus the drive
surface for the purpose of maintaining continuous path control of
the tool.
3. Check surfaces: This is the surface that stops the movement of
the tool in its current direction. In a sense, it checks the forward
movement of the tool.
POSTPROCESSOR STATEMENT:
The FEDRAT stands for feed rate and the interpretation of feed
differs for different machining operations. In a drilling operation the feed is
in the direction of the drill bit axis.
AUXILIARY STATEMENTS:
PARTNO/<literal string>
EXAMPLE-2
Write the APT program for the part shown in figure above.
PARTNO SHAFT NO 1
MACHINE/LATHE, 10
UNITS/MM
CLPRNT
PT1= POINT/5, 0
PT7= POINT/5, 5
CUTTER/10
FEDRAT/0.4, MMPR
SPINDL/1000, RPM
FROM/SETPT
RAPID
COOLNT/ON
GO/TO, LN1
GOLFT/LN1, TO, C1
GOLFT/LN4, TO, C2
SPINDL/OFF
COOLNT/OFF
RAPID
GOTO/SETPT
REWIND
FINI
EXAMPLE-3
MACHIN/MILL, 02
CLPRNT
UNITS/MM
CUTTER/25.0
L2= LINE/P2, P3
L3= LINE/P4, P5
L4= LINE/P5, P6
L5= LINE/P6, P1
FROM/TARGET
SPINDL/500, CLW
FEDRAT/50, MMPM
GORGT/L1, PAST, L2
GOFWD/CR1, PAST, L3
GOFWD/L3, TO, L4
GOFWD/L4, PAST, L5
GOLFT/L5, PAST, L1
RAPID
GOTO/TARGET
SPINDL/OFF
FINI