Content deleted Content added
mNo edit summary Tag: Reverted |
m Reverted 1 edit by Natalielaurend (talk) to last revision by Alexander Davronov |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1:
{{short description|Primary programming language used in CNC}}
{{other uses|G-code
{{redirect|RS-274|the photoplotter format|Gerber format}}
{{More footnotes needed|date=January 2025}}
{{Ambox
| name = G-code
| subst = <includeonly>{{subst:substcheck}}</includeonly>
| issue = This article may require restoring an older revision.
| talk = RfC:_Partially_Reversing_Thumperward's_deletions
| date = May 13, 2025
}}
{{Infobox programming language
| name = G-code
Line 8 ⟶ 16:
| paradigm = [[Procedural programming|Procedural]], [[Imperative programming|imperative]]
| released = {{Start date|1963}} (RS-274)
| designer = [[
| developer = [[Electronic Industries Alliance|Electronic Industries Association]] (RS-274), [[International Organization for Standardization]] (ISO-6983)
| implementations = Numerous; mainly [[Siemens]] Sinumerik, [[FANUC]], [[Haas Automation|Haas]], [[Heidenhain]], [[Yamazaki Mazak Corporation|Mazak]], [[Okuma Corporation|Okuma]]
Line 22 ⟶ 30:
}}
'''G-code''' (abbreviation for
G-code instructions are provided to a [[Programmable logic controller|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 [[Metal lathe|lathe]] or [[Milling (machining)|mill]], a [[cutting tool (machining)|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<ref>Karlo Apro (2008). ''[https://books.google.com/books?id=Ws228Aht0bcC Secrets of 5-Axis Machining]''. Industrial Press Inc. {{ISBN|0-8311-3375-9}}.</ref> 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 (metalworking)|forming]] or [[Burnishing (metal)|burnishing]] tools, [[Gerber format|photoplotting]], additive methods such as 3D printing, and measuring instruments.
|