| APT | |
|---|---|
| Paradigms | Numerical control |
| Designed by | Douglas T. Ross |
| First appeared | 1956; 69 years ago (1956) |
| Influenced | |
| Computer-aided manufacturing systems | |
APT (Automatically Programmed Tool)[1] is a high-levelcomputer programming language most commonly used to generate instructions fornumerically controlled machine tools.Douglas T. Ross[2] is considered by many to be the father of APT: as head of the newly created Computer Applications Group of the Servomechanisms Laboratory atMIT 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.
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 moderncomputer aided manufacturing (CAM) systems. It was created and refined during the late 1950s and early 1960s to simplify the task of calculating geometry points that a tool must traverse in space to cut the complex parts required in the aerospace industry. It was a direct result of the new numerical control technology becoming available at that time and the daunting task that a machinist or engineer faced calculating the movements of the machine for the complex parts for which it was capable. Its development was centered at the same MIT labs that hosted the Numerical Control and the Milling Machine Projects. APT also wasUS Air Force sponsored and is notable for being the world's first major cooperative programming venture, combining government agencies, universities, and a 14-company team organized within theAircraft Industries Association (nowAerospace Industries Association).[4] APT was created beforegraphical user interfaces were available, and so it relies on text to specify the geometry and toolpaths needed to machine a part. The original version was created before evenFORTRAN was available and was the very firstANSI 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 acutter location (CL) file which is then run through a post-processor specific to the desired control - machine pair. The resulting file is then run by the control of the machine to generate tool motions and other machine actions. Most commonly, this file is in some form ofRS-274 format instructions, commonly known asG-code.

PARTNO APT-1CLPRNTUNITS / MMNOPOST$$ GEOMETRY DEFINITIONP1 = POINT / 50, 50, 0P2 = POINT / -50, -50, 0L1 = LINE / P1, PARLEL, (LINE / YAXIS)L2 = LINE / P2, PERPTO, L1L3 = LINE / P2, PARLEL, L1L4 = LINE / P1, PERPTO, L1C1 = CIRCLE / XSMALL, L1, YLARGE, L2, RADIUS, 30C2 = CIRCLE / XLARGE, L3, YSMALL, L4, RADIUS, 20PLAN1 = PLANE / 0, 0, 1, 0PLAN2 = PLANE / PARLEL, PLAN1, ZSMALL, 16$$ MOTION COMMANDSLOAD / TOOL, 1CUTTER / 20SPINDL / 3000, CLWFROM / (STRTPT = POINT / 70, 70, 0)RAPIDGO / TO, L1, TO, PLAN2, TO, L4FEDRAT / 900, PERMINTLLFT, GOLFT / L1, TANTO, C1GOFWD / C1, TANTO, L2GOFWD / L2, PAST, L3GORGT / L3, TANTO, C2GOFWD / C2, TANTO, L4GOFWD / L4, PAST, L1RAPIDGOTO / STRTPTFINI
Further derivatives of APT were developed, initially mainly to allow the programs to run on minicomputers instead of mainframes. These includedADAPT fromIBM;EXAPT from Germany; and UNIAPT, initially fromUnited Computing, later used alongside theUnigraphicsCADCAM systems.[5]Machine tool manufacturer's systems utilize elements of APT to this day.[6] Standards Developers likeSTEP-NC took toolpath curves from APT and other sources.[7] APT formed the basis for two early programming languages in robotics: RAPT (Robot APT) was developed at theUniversity of Edinburgh School of Informatics, and ROBEX was a derivative ofEXAPT.[8]