APT (programming language)

Source: Wikipedia, the free encyclopedia.
APT
ParadigmsNumerical control
Designed byDouglas T. Ross
First appeared1956; 68 years ago (1956)
Influenced
Computer-aided manufacturing systems

APT (Automatically Programmed Tool)

MIT in 1956, he led its technical effort. APT is a language and system that alleviates the tedious mathematics of writing toolpaths for numerically controlled equipment. This early language was used widely through the 1970s and is still a standard internationally.[3]
Derivatives of APT were later developed.

Programming language

APT is used to program numerically-controlled machine tools to create complex parts using a cutting tool moving in space. It is used to calculate a path that a tool must follow to generate a desired form. APT is a special-purpose language and the predecessor to modern

ANSI standard
. Later versions were rewritten in FORTRAN.

APT shares many similarities with other computer programming languages such as FORTRAN. A general-purpose computer language takes source text and converts the statements to instructions that can be processed internally by a computer. APT converts source statements into programs for driving numerically-controlled machine tools. The output from an APT processor may be a

RS-274 format instructions, commonly known as G-code
.

Example program

Tool path for APT-1 program
PARTNO APT-1
CLPRNT
UNITS / MM
NOPOST

$$ GEOMETRY DEFINITION
P1 = POINT / 50, 50, 0
P2 = POINT / -50, -50, 0
L1 = LINE / P1, PARLEL, (LINE / YAXIS)
L2 = LINE / P2, PERPTO, L1
L3 = LINE / P2, PARLEL, L1
L4 = LINE / P1, PERPTO, L1
C1 = CIRCLE / XSMALL, L1, YLARGE, L2, RADIUS, 30
C2 = CIRCLE / XLARGE, L3, YSMALL, L4, RADIUS, 20
PLAN1 = PLANE / 0, 0, 1, 0
PLAN2 = PLANE / PARLEL, PLAN1, ZSMALL, 16

$$ MOTION COMMANDS
LOAD / TOOL, 1
CUTTER / 20
SPINDL / 3000, CLW
FROM / (STRTPT = POINT / 70, 70, 0)
RAPID
GO / TO, L1, TO, PLAN2, TO, L4
FEDRAT / 900, PERMIN
TLLFT, GOLFT / L1, TANTO, C1
GOFWD / C1, TANTO, L2
GOFWD / L2, PAST, L3
GORGT / L3, TANTO, C2
GOFWD / C2, TANTO, L4
GOFWD / L4, PAST, L1
RAPID
GOTO / STRTPT
FINI

Derivatives

Further derivatives of APT were developed, initially mainly to allow the programs to run on minicomputers instead of mainframes. These included

CADCAM systems.[5]
Machine tool manufacturer's systems utilize elements of APT to this day.

Further reading

References

  1. ^ Automatically Programmed Tool http://aptos.sourceforge.net/
  2. ^ "1970 Interview by NCWorld". groups.csail.mit.edu.
  3. ^ "ISO 4343:2000". ISO.
  4. ^
    ISSN 0362-1340
    .
  5. ^ CAD/CAM: Computer-Aided Design and Manufacturing, M.Groover & E.Zimmers
  6. ^ "Download - Registrierung erforderlich". DMG MORI. Retrieved 26 August 2023.
  7. ^ "AptStepMaker Programming Class". www.steptools.com.
  8. .