{"id":2161,"date":"2023-10-18T11:54:03","date_gmt":"2023-10-18T09:54:03","guid":{"rendered":"https:\/\/cncgraf.com\/?p=2161"},"modified":"2024-06-19T09:50:19","modified_gmt":"2024-06-19T07:50:19","slug":"the-postprocessor-and-g-codes","status":"publish","type":"post","link":"https:\/\/cncgraf.com\/en\/2023\/10\/18\/der-postprozessor-und-g-codes\/","title":{"rendered":"The postprocessor and the importance of G-code in CNC machining"},"content":{"rendered":"<div class=\"wp-block-group alignfull has-tertiary-background-color has-background has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h1 class=\"wp-block-heading has-text-align-left has-tertiary-background-color has-background has-large-font-size\" id=\"der-postprozessor-und-die-bedeutung-des-g-codes-in-der-cnc-bearbeitung\">The postprocessor and the importance of G-code in CNC machining<\/h1>\n\n\n\n<p class=\"wp-block-paragraph translation-block\">In the world of CNC machining, the generation and use of G-code is a central part of the process.<br>In this blog article, we delve into the world of G-code, shed light on its history and explain the role of post-processors (PP for short) in CNC machining. You will also learn how our CNC control software, <a href=\"https:\/\/cncgraf.com\/en\/cncgraf-8-cnc-steuerungssoftware\/\" data-type=\"page\" data-id=\"8\" target=\"_self\">cncGraF<\/a>, fits into this picture. Join us on this journey of discovery!<\/p>\n\n\n\n<hr class=\"wp-block-separator alignfull has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background\"\/>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">CNC (Computerised Numerical Control) machines revolutionised the manufacturing industry by enabling automated tool movements. They were originally developed by the Massachusetts Institute of Technology (MIT) in the 1950s. The G-code, also known as DIN66025, established itself as the universal standard for controlling the motion sequences of these machines. The introduction of this standard was a decisive step towards making CNC machining processes efficient and repeatable.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h4>Overview<\/h4><nav><ul><li class=\"\"><a href=\"#wie-wurden-fruher-die-g-code-dateien-erzeugt\">How were the G-code files generated in the past?<\/a><\/li><li class=\"\"><a href=\"#heute-wird-g-code-per-cad-cam-software-generiert\">Today, G-code is generated using CAD\/CAM software<\/a><\/li><li class=\"\"><a href=\"#was-sind-postprozessoren-und-warum-werden-sie-benotigt\">What are postprocessors and why are they needed?<\/a><\/li><li class=\"\"><a href=\"#vorgefertigte-und-benutzerdefinierte-postprozessoren-fur-cnc-gra-f\">Prefabricated and customised postprocessors for cncGraF<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading has-large-font-size\" id=\"wie-wurden-fruher-die-g-code-dateien-erzeugt\">How were the G-code files generated in the past?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before computer-aided technologies such as CAD (Computer-Aided Design) and CAM (Computer-Aided Manufacturing) existed, G-code was written manually by machine operators. G-code is an ASCII file containing simple commands such as \u201emove to a position G01 X10 Y10\u201c or \u201eswitch on the spindle with M03\u201c. Programming was carried out directly on the CNC system or in a text editor.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"577\" height=\"949\" src=\"https:\/\/cncgraf.com\/wp-content\/uploads\/2023\/08\/texteditor-g-code.jpg\" alt=\"\" class=\"wp-image-2176\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The machine operators required in-depth knowledge of the G-code standard, the machine specifications and the materials to be processed. Creating such codes was time-consuming and required careful checking to avoid errors.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading has-large-font-size\" id=\"heute-wird-g-code-per-cad-cam-software-generiert\">Today, G-code is generated using CAD\/CAM software<\/h2>\n\n\n\n<p class=\"wp-block-paragraph translation-block\">Modern CAD\/CAM software has revolutionised the process of G-code creation. These programmes make it possible to design parts and simultaneously generate the necessary G-code to implement these designs on CNC machines.<br>The advantages of this development are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"translation-block\"><strong>Time efficiency<\/strong>: Automated G-code generation saves time.<\/li>\n\n\n\n<li class=\"translation-block\"><strong>Error reduction<\/strong>: Automatic generation minimises human error.<\/li>\n\n\n\n<li class=\"translation-block\"><strong>Flexibility<\/strong>: Design adjustments can be quickly implemented in the G-code.<\/li>\n\n\n\n<li class=\"translation-block\"><strong>Optimisation<\/strong>: Modern software makes it possible to optimise the processing path in order to save material and time.<\/li>\n\n\n\n<li class=\"translation-block\"><strong>Complexity<\/strong>: CAD\/CAM software can be used to generate highly complex projects and geometries that would be almost impossible to realise manually. This has opened up new and advanced design possibilities that were previously unattainable.<\/li>\n<\/ul>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading has-large-font-size\" id=\"was-sind-postprozessoren-und-warum-werden-sie-benotigt\">What are postprocessors and why are they needed?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Even though G-code is a universal standard, different CNC machine manufacturers often have specific requirements and peculiarities. A post-processor (PP for short) acts as a translator between the CAD\/CAM software and the specific CNC machine. The postprocessor receives the generic G-code and adapts it to the specific requirements and capabilities of the machine. This ensures that the G-code is executed correctly, regardless of the machine used.<\/p>\n\n\n\n<p class=\"wp-block-paragraph translation-block\"><img width=\"24\" height=\"24\" class=\"wp-image-1775\" style=\"width: 24px\" src=\"https:\/\/cncgraf.com\/wp-content\/uploads\/2023\/08\/info.png\" alt=\"\"> <strong>Hinweis:<\/strong> Die CNC-Steuerungssoftware cncGraF unterst\u00fctzt Standard-G-Code. Deshalb sollte es keine Probleme geben, einen passenden G-Code zu generieren.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading has-large-font-size\" id=\"vorgefertigte-und-benutzerdefinierte-postprozessoren-fur-cnc-gra-f\">Prefabricated and customised postprocessors for cncGraF<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Every modern CAD\/CAM software usually already offers a selection of ready-made postprocessors. These enable broad compatibility with various CNC control systems. It is very likely that one of these ready-made postprocessors is suitable for cncGraF - it is worth trying this out.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is also possible to create your own postprocessor. This is usually an ascii file that describes how the G-code file should be generated. This requires knowledge of the respective CAD\/CAM software, as the postprocessors are described differently in each CAD\/CAM. For more detailed information, please refer to the documentation of the respective CAD\/CAM software.<\/p>\n\n\n\n<p class=\"wp-block-paragraph translation-block\"><img width=\"24\" height=\"24\" class=\"wp-image-1775\" style=\"width: 24px\" src=\"https:\/\/cncgraf.com\/wp-content\/uploads\/2023\/08\/info.png\" alt=\"\"> <strong>Hinweis:<\/strong> Sollte die geladene G-Code-Datei fehlerhaft dargestellt werden (Kreisb\u00f6gen werden falsch dargestellt), liegt dies meistens an der Einstellung \u201eG02\/03 relativ\u201c. In solchen F\u00e4llen sollte die Option \u201eG02\/03 relativ\u201c im Men\u00fc \u201eEinstellungen \u2192 Optionen \u2192 Datei \u2192 G-Code\u201c ge\u00e4ndert werden. Dieses Problem tritt auf, weil die Bogenbefehle G02\/G03 entweder relativ oder absolut interpretiert werden k\u00f6nnen. Es gibt keine M\u00f6glichkeit automatisch zwischen diesen beiden Modi zu unterscheiden.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"847\" height=\"226\" src=\"https:\/\/cncgraf.com\/wp-content\/uploads\/2023\/08\/g0203relativ.jpg\" alt=\"\" class=\"wp-image-2175\" srcset=\"https:\/\/cncgraf.com\/wp-content\/uploads\/2023\/08\/g0203relativ.jpg 847w, https:\/\/cncgraf.com\/wp-content\/uploads\/2023\/08\/g0203relativ-600x160.jpg 600w\" sizes=\"auto, (max-width: 847px) 100vw, 847px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph translation-block\"><strong>For all those who are looking for postprocessors (PP for short) for cncGraF:<\/strong> Below we offer some for download. Please note that these PP's were created by our dedicated user community and kindly provided to us. We cannot guarantee that there are no errors in these PP's. Furthermore, it is not possible for us to provide a PP for all CAD\/CAM programmes on the market. There are simply too many CAD\/CAM programmes to offer specific support for each one.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As a rule, the right approach is to contact the manufacturer of the CAD\/CAM software and ask if they can help you to customise a postprocessor, especially if you are not able to do it yourself.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Download Postprocessor (PP for short) for cncGraF 7.1\/8 (ZIP file):<\/strong><\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/web.boenigk-electronics.com\/download\/pp\/fusion360-cncgraf-pp.zip\" target=\"_blank\" rel=\"noopener\">Fusion 360 PP<\/a><\/div>\n\n\n\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/web.boenigk-electronics.com\/download\/pp\/vcarve-pro-cncgraf-postprozessor.zip\" target=\"_blank\" rel=\"noopener\">Vcarve Pro PP<\/a><\/div>\n\n\n\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/web.boenigk-electronics.com\/download\/pp\/solidcam-cncgraf-pp.zip\" target=\"_blank\" rel=\"noopener\">Solidcam PP<\/a><\/div>\n\n\n\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/web.boenigk-electronics.com\/download\/pp\/autodesk-Inventor-hsm-cncgraf-pp.zip\" target=\"_blank\" rel=\"noopener\">Autodesk Inventor HSM PP<\/a><\/div>\n\n\n\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/web.boenigk-electronics.com\/download\/pp\/mastercam-cncgraf-pp.zip\" target=\"_blank\" rel=\"noopener\">Mastercam PP<\/a><\/div>\n<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">We hope that this blog article has given you an insight into the world of G-code and the importance of post-processors.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yours sincerely, Your BOENIGK-electronics Team.<\/p>","protected":false},"excerpt":{"rendered":"<p>In the world of CNC machining, the generation and use of G-code is a central part of the process.<br \/>\nIn this blog post, we'll dive into the world of G-code, exploring its history and explaining the role of post-processors (PP for short) in CNC machining. Furthermore, you'll learn how our CNC control software, cncGraF, fits into this picture.<\/p>","protected":false},"author":1,"featured_media":2176,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,32],"tags":[14,13],"class_list":["post-2161","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-allgemein","category-g-code","tag-g-code","tag-postprozessor"],"_links":{"self":[{"href":"https:\/\/cncgraf.com\/en\/wp-json\/wp\/v2\/posts\/2161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cncgraf.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cncgraf.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cncgraf.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cncgraf.com\/en\/wp-json\/wp\/v2\/comments?post=2161"}],"version-history":[{"count":0,"href":"https:\/\/cncgraf.com\/en\/wp-json\/wp\/v2\/posts\/2161\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cncgraf.com\/en\/wp-json\/wp\/v2\/media\/2176"}],"wp:attachment":[{"href":"https:\/\/cncgraf.com\/en\/wp-json\/wp\/v2\/media?parent=2161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cncgraf.com\/en\/wp-json\/wp\/v2\/categories?post=2161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cncgraf.com\/en\/wp-json\/wp\/v2\/tags?post=2161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}