Measures Concepts
GitHub icon

G-code

G-code - Programming language

< >

G-code is a programming language created in 1950.

#320on PLDB 74Years Old 4kRepos

G-code (also RS-274), which has many variants, is the common name for the most widely used numerical control (NC) programming language. It is used mainly in computer-aided manufacturing to control automated machine tools. G-code is sometimes called G programming language, not to be confused with LabVIEW's G programming language. Read more on Wikipedia...


Example from Linguist:
G28 X0 Y0 G1 X55 Y5 F2000 G1 Y180 G1 X180 G1 Y5 G1 X55 G1 Y180 G1 X180 G1 Y5 G1 X55 M0

View source

- Build the next great programming language Search Add Language Features Creators Resources About Blog Acknowledgements Queries Stats Sponsor Day 605 feedback@pldb.io Logout