Sei sulla pagina 1di 15

2

APT Language
The APT statements belong to one of the five types:

Identification statements
Geometry statements
Motion statements
Post-processor statements
Auxiliary statements
The most comprehensive and widely used language is
Automatically Programmed Tool (APT) the first prototype of
the APT system was developed at MIT in 1956.
3
Geometry statements, the general form of geometry statement
is:
Symbol = geometry_word/descriptive data
In the case of points:
P1 = POINT/X, Y, Z
P2 = POINT/L1, L2
P3 = POINT/CENTER, C1
P4= POINT/YLARGE, INTOF, L1, C1
P5= POINT/XLARGE, INTOF, L1, C1
P6= POINT/XLARGE, INTOF, C1, C1
P7= POINT/YLARGE, INTOF, C1, C1

APT Language
4
In the case of lines:
L1 = LINE/X1, Y1, Z1, X2, Y2, Z2
L2 = LINE/P1, P2
L3 = LINE/P1, PARLEL, P2
L4 = LINE/P1, PERPTO, L0
L5 = LINE/P1, LEFT, TANTO, C1
L6 = LINE/P1, RIGHT, TANTO, C1
L7 = LINE/LEFT, TANTO, C1, LEFT, TANTO, C2
L8 = LINE/LEFT, TANTO, C1, RIGHT, TANTO, C2
L9 = LINE/RIGHT, TANTO, C1, LEFT, TANTO, C2
L10 = LINE/RIGHT, TANTO, C1, RIGHT, TANTO, C2
L11 = LINE/P1, ATANGL, L0


APT Language
5
In the case of circles:
C1 = CIRCLE/X, Y, Z, R
C2 = CIRCLE/CENTER, P1, RADIOUS, R
C3 = CIRCLE/CENTER, P1, TANTO, L0
C4 = CIRCLE/P1, P2, P3
C5 = CIRCLE/XSMALL, L1, XSMALL, L2, RADIOUS, R
And the same with XLARGE, YLARGE or YSMALL

In the case of planes:
PL1 = PLANE/P1, P2, P3
PL2 = PLANE/PARLEL, PL0, XLARGE, D
And the same with XLARGE, YLARGE, YSMALL, ZLARGE or ZSMALL
APT Language
6
Motion statements, with regard to point-to-point operation
there are three motion statements for positioning the tool at
a desired point:

FROM/point_location
GOTO/point_location
GODLTA/x, y, z

APT Language
7
APT Language
8
APT Language Answer:
P0 = POINT/0.0, 3.0, 0.1
P1 = POINT/1.0, 1.0, 0.1
P2 = POINT/2.0, 1.0, 0.1
FROM/P0
GOTO/P1
GODLTA/0, 0, -0.7
GODLTA/0, 0, 0.7
GOTO/P2
GODLTA/0, 0, -0.7
GODLTA/0, 0, 0.7
GOTO/P0
9
Other Motion statements:
GO/{TO}, Drive surface, {TO} Part surface, {TO},
Check surface
Or
GO/{TO}, Drive surface, {TO} Part surface, {TANTO},
Check surface
And the same with PAST or ON instead of TO
GOLFT/
GORGT/
GOUP/
GODOWN/
GOFWD/
GOBACK/
For example:
GO/TO, L1, TO, PS, TANTO, C1
GO/PAST, L1, TO, PS, TANTO, C1

APT Language
10
APT Language
Example 2:
11
APT Language
Answer:
FROM/SP
GO/TO, L1, TO, PS, ON, L4
GORGT/L1, PAST, L2
GOLFT/L2, PAST, L3
GOLFT/L3, PAST, C1
GOLFT/C1, PAST, L3
GOLFT/L3, PAST, L4
GOLFT/L4, PAST, L1
GOTO/SP
12
APT Language
Example 3:
13
Additional statements:
MACHIN/DRILL, 2
COOLNT/
For example: COOLNT/MIST COOLNT/FLOOD COOLNT/OF
FEDRAT/
SPINDL/
For example: SPINDL/ON SPINDL/1250, CCLW
TOOLNO/
TURRET/
END
APT Language
14
Other capabilities of APT, the macro facility, with use variable
argument as in a FORTRAN subroutine, for example:
P0 = POINT/0.0, 0.3, 0.1
FROM/P0
CALL/DRILL, X=1.0, Y=1.0, Z=0.1, DEPTH=0.7
CALL/DRILL, X=2.0, Y=1.0, Z=0.1, DEPTH=0.7
GOTO/P0

when the definition of the macro DRILL is:
DRILL = MACRO/X, Y, Z, DEPTH
GOTO/X,Y,Z
GODLTA/0,0, -DEPTH
GODLTA/0,0, DEPTH
TARMAC
APT Language
15
Other Part Programming Languages
ADAPT (ADaptation APT) was the first attempt to adapt APT
programming system for smaller computers
AUTOSPOT (AUTOmatic Sytem for POsitioning Tools) was developed
by IBM and first introduced in 1962
EXAPT (EXtended subset of APT) was developed jointly in German in
about 1964 by several universities to adapt APT for European use. It
is compatible with APT and thus can use the same processor as APT
COMPACT was developed by Manufacturing Data Systems, Inc.
(MDSI)
SPLIT (Sundstrand Processing Language Internally Translated) was
developed by Sundstrand Corporation, intended for its own machine
tools
MAPT (Micro-APT) is a subset of APT, to be run on the
microcomputers

Potrebbero piacerti anche