APT (programming language)

APT (programming language)

APT or "Automatically Programmed Tool" is a high-level computer programming language used to generate instructions for numerically controlled machine tools. By many Douglas T. Ross is considered to be the father of APT. APT is a language and system that makes numerically controlled manufacturing possible. The use of this early language was used widely into the 1970s and is still a standard internationally. [http://www.smartcomputing.com/editorial/dictionary/detail.asp?guid=&searchtype=1&DicID=17045&RefType=Encyclopedia Ross, Douglas] . Smart Computing Encyclopedia. Retrieved 22 September 2008.]

Overview

APT is used to program CNC machine tools to create complex parts using a cutting tool moving in space. It is used to calculate a point-to-point path that a tool must follow to generate a desired form. APT is a CAM system based on a special-purpose language. It was created and refined during the late 1950's and early 1960's to simplify the task of calculating geometry points that a tool must traverse in space to cut the increasingly complex parts required in the aerospace industry. It was a direct result of the new CNC technology becoming available at that time, and the daunting task that a machinist or engineer faced calculating the movements of the CNC for the complex parts for which it was capable. APT was created before graphical interfaces were available, and so it relies on text to specify the geometry and toolpaths needed to machine a part.

APT shares many similarities to computer programming languages like Fortran. A general-purpose computer language takes source text and converts the statements to instructions that can operate the internals of a computer. APT converts source statements into programs for numerically- or computer-controlled machine tools. Typically, this is a text file that contains CNC-vendor dependent commands to generate tool motions and machine states. Most commonly, this is some form of G-code.

Example Program

:PARTNO / APT-1:CLPRNT:UNITS / MM:NOPOST:CUTTER / 10.0:$$GEOMETRY DEFINITION:SETPT = POINT / 0.0, 0.0, 0.0:STRTPT = POINT / 70,70,0:P1 = POINT / 50, 50, 0:P2 = POINT / 20, -20, 0:C1 = CIRCLE / CENTER, P2, RADIUS, 30:P3 = POINT / -50, -50, 0:P4 = POINT / -30, 30, 0:C2 = CIRCLE / CENTER, P4, RADIUS, 20:P5 = POINT / 50, -20, 0:L1 = LINE / P1, P5:L2 = LINE / P3, PERPTO, L1:L3 = LINE / P3, PARLEL, L1:L4 = LINE / P1, PERPTO, L1:PLAN1 = PLANE / P1, P2, P3:PLAN2 = PARLEL, PLAN1, ZSMALL, 16:$$MOTION COMMANDS:SPINDL / 3000, CW:FEDRAT / 100, 0:FROM / STRPT:GO/TO L1, TO, PLAN2, TO, L4:TLLFT, GOFWD / L1, TANTO, C1:GOFWD / C1, TANTO, L2:GOFWD / L2, PAST, L3:GORGT / L3, TANTO, C2:GOFWD / C2, TANTO, L4:GOFWD / L4, PAST, L1:NOPS:GOTO / STRPT:FINI

References


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Ruby (programming language) — ] . IronRuby [cite web url = http://rubyforge.org/pipermail/ironruby core/2008 May/001909.html title = IronRuby / Rails Question author = John Lam date=2008 05 25 accessdate = 2008 05 25] [cite web url = http://www.iunknown.com/2008/05/ironruby… …   Wikipedia

  • APT — or Apt may refer to: Places * Apt, Vaucluse, a commune of the Vaucluse département of France * Arrondissement of Apt, an arrondissement in the Vaucluse département of France Organizations * Apt Records, a subsidiary record label of ABC Paramount… …   Wikipedia

  • language — /lang gwij/, n. 1. a body of words and the systems for their use common to a people who are of the same community or nation, the same geographical area, or the same cultural tradition: the two languages of Belgium; a Bantu language; the French… …   Universalium

  • Constraint logic programming — Programming paradigms Agent oriented Automata based Component based Flow based Pipelined Concatenative Concurrent computing …   Wikipedia

  • Attribute-Oriented Programming — (@OP) is a program level marking technique. Programmers can mark program elements (e.g. classes and methods) to indicate that they maintain application specific or domain specific semantics. For example, some programmers may define a logging… …   Wikipedia

  • History of Programming Languages conference — HOPL (History of Programming Languages) is an infrequent ACM SIGPLAN conference. Past conferences were held in 1979, 1993, and 2007. HOPL I HOPL I was held June 1 ndash;3, 1979 in Los Angeles, California. Jean E. Sammet was both the General and… …   Wikipedia

  • Numerical control — CNC redirects here. For other uses, see CNC (disambiguation). A CNC Turning Center …   Wikipedia

  • Deaths in January 2007 — Contents 1 January 2007 1.1 31 1.2 30 1.3 29 …   Wikipedia

  • Package management system — A package management system is a collection of tools to automate the process of installing, upgrading, configuring, and removing software packages from a computer. Linux and other Unix like systems typically manage thousands of discrete… …   Wikipedia

  • Hello world program — Hello World redirects here. For the 2009 compilation album by Michael Jackson, see Hello World: The Motown Solo Collection. For the song by Lady Antebellum, see Hello World (song). A GUI Hello World program, written in Perl …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”