G-code

G-code
ParadigmProcedural, imperative
Designed byMassachusetts Institute of Technology
DeveloperElectronic Industries Association (RS-274), International Organization for Standardization (ISO-6983)
First appeared1963 (1963) (RS-274)
Filename extensions.gcode, .mpt, .mpf, .nc and several others
Major implementations
Numerous; mainly Siemens Sinumerik, FANUC, Haas, Heidenhain, Mazak, Okuma

G-code (abbreviation for geometric code; also called[1] RS-274,[2] standardized today in ISO 6983-1[3]) is the most widely used computer numerical control (CNC) and 3D printing programming language. It is used mainly in computer-aided manufacturing to control automated machine tools, as well as for 3D-printer slicer applications. G-code has many variants.

G-code instructions are provided to a machine controller (industrial computer) that tells the motors where to move, how fast to move, and what path to follow. The two most common situations are that, within a machine tool such as a lathe or mill, a cutting tool is moved according to these instructions through a toolpath cutting away material to leave only the finished workpiece and/or an unfinished workpiece is precisely positioned in any of up to nine axes[4] around the three dimensions relative to a toolpath and, either or both can move relative to each other. The same concept also extends to noncutting tools such as forming or burnishing tools, photoplotting, additive methods such as 3D printing, and measuring instruments.

  1. ^ Barkmeyer, Edward J.; Hopp, Theodore H.; Michael J., Pratt; Gaylen R., Rinaudot, eds. (1995). Background Study: Requisite Elements, Rationale, and Technology Overview for the Systems Integration for Manufacturing Applications (SIMA) Program (PDF) (Technical report) (NIST Interagency/Internal Report (NISTIR) 5662 ed.). Gaithersburg, MD, USA: NIST Technical Series Publications. p. 45.
  2. ^ EIA Standard RS-274-D Interchangeable Variable Block Data Format for Positioning, Contouring, and Contouring/Positioning Numerically Controlled Machines. 2001 Eye Street, NW, Washington, D.C. 20006: Electronic Industries Association. February 1979.{{cite book}}: CS1 maint: location (link)
  3. ^ Technical Committee ISO/TC 184/SC 1, ed. (December 2009). ISO 6983-1:2009 Automation systems and integration — Numerical control of machines — Program format and definitions of address words; Part 1: Data format for positioning, line motion and contouring control systems (Technical report). Geneva, Switzerland: International Standards Organization.{{cite tech report}}: CS1 maint: numeric names: editors list (link)
  4. ^ Karlo Apro (2008). Secrets of 5-Axis Machining. Industrial Press Inc. ISBN 0-8311-3375-9.

© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search