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. It is used mainly in computer-aided manufacturing to control automated machine tools, as well as for 3D-printer slicer applications.
G-code (also RS-274) is the most widely used computer numerical control (CNC) and 3D printing programming language. Numerous mainly Siemens Sinumerik, FANUC, Haas, Heidenhain, Mazak, Okuma Electronic Industries Association (RS-274), International Organization for Standardization (ISO-6983)