[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-732681-105":59,"doc-detail-732681-en":130,"doc-similar-732681":196},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","cnccookbooks-g-code-course-volume-1-g-code-basics-learn-foundational-concepts-and-machine-ready-programming","CNCCookbook’s G-Code Course - Volume 1 - G-Code Basics - Learn foundational concepts and machine-ready programming","","CNCCOOKBOOK’S G-CODE COURSE presents a structured training series for building g-code proficiency and developing practical CNC programming skills. Volume 1, “G-Code Basics,” introduces what g-code is and why it matters, then guides beginners through coordinates, coordinate system orientation, units (metric/imperial), and relative versus absolute positioning, including offsets and planes. The course continues with g-code dialects, post processors, modal controller behavior, MDI/ M-codes for machine control, and concludes with exercises plus quick reference and final safety notes.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/cnccookbooks-g-code-course-volume-1-g-code-basics-learn-foundational-concepts-and-machine-ready-programming/732681/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/cnccookbooks-g-code-course-volume-1-g-code-basics-learn-foundational-concepts-and-machine-ready-programming/732681.png","ImageObject",300,407,{"name":92,"@type":93},"Mabel","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-26","2026-11-22",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What does this volume cover first for beginners?","Question",{"text":112,"@type":113},"It starts with an introduction to g-code, including what it is, why it matters, and how to learn it. It then introduces beginner-friendly concepts like the coordinate system and how g-code relates to the machine’s perspective.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does the course explain coordinate handling in G-code?",{"text":117,"@type":113},"It covers coordinate systems (including right- and left-handed), 4-axis/5-axis concepts, expressing coordinates, and the difference between relative and absolute coordinates. It also explains offsets and planes.",{"name":119,"@type":110,"acceptedAnswer":120},"What topics related to CNC control behavior are included?",{"text":121,"@type":113},"It includes discussions of g-code dialects and post processors, plus modal behavior for CNC controllers. It also teaches MDI use for manual machinists and how M-codes handle spindle and coolant control.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},732681,1795381714,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":145,"preview_urls":146},7971474920318,"https://ap-avatar.wpscdn.com/avatar/74000ee537e6b0ca360?x-image-process=image/resize,m_fixed,w_180,h_180&k=1788430171632181674","CNCCOOKBOOK’S G-CODE COURSE  \nVOLUME 1: G-CODE BASICS  \nLast Revised: December 23, 2015  \nCopyright 2015 by CNCCookbook, Inc.  \nHere are the articles available for maximizing your g-code proficiency and providing you with a little CNC programmer training. Included in nearly every article are examples using our CNC Programming Software, G-Wizard Editor.  \nTable of Contents.................................................................................................................................... 2  \nIntroduction ............................................................................................................................................ 7  \nWhat is G-Code? .............................................................................................................................. 7  \nWhy Learn G-Code?......................................................................................................................... 8  \nWhat's the Best Way to Learn G-Code?......................................................................................... 8  \nIntroduction for Beginners .................................................................................................................... 10  \nWhy Learn G-Code? .......................................................................................................................... 10  \nG-Code From the Machine’s Perspective........................................................................................... 11  \nG-Wizard G-Code Editor ................................................................................................................... 12  \nExercises ........................................................................................................................................... 13  \nThe Coordinate System ........................................................................................................................ 14  \nRight and Left Handed Coordinate Systems ..................................................................................... 14  \n4-Axis, 5-Axis, and More.....................................................................................................................17  \nExpressing Coordinates in G-Code .................................................................................................... 18  \nWhat About Units—Metric or Imperial?............................................................................................. 18  \nRelative Versus Absolute Coordinates............................................................................................... 19  \nOffsets .............................................................................................................................................. 20  \nPlanes ............................................................................................................................................... 20  \nConclusion ........................................................................................................................................ 21  \nExercises ........................................................................................................................................... 21  \nG-Code Dialects, Post Processors, and Setting Up G-Wizard Editor ...................................................... 22  \nThere Are Many Dialects of G-Code .................................................................................................. 22  \nHow Are the Dialects Different? ........................................................................................................ 22  \nPost Processors ................................................................................................................................. 23  \nModal Behavior for CNC Controllers ................................................................................................. 24  \nExercises ......................","cbCaiu9bhlCjWwpX","https://ap.wps.com/l/cbCaiu9bhlCjWwpX","pdf",3710850,114,"English","# Introduction\n## What is G-Code?\n## Why Learn G-Code?\n## What's the Best Way to Learn G-Code?\n# Introduction for Beginners\n## G-Code From the Machine’s Perspective\n## G-Wizard G-Code Editor\n# Exercises\n## The Coordinate System\n## Expressing Coordinates in G-Code\n## Offsets and Planes\n# G-Code Dialects, Post Processors, and Setting Up G-Wizard Editor\n## There Are Many Dialects of G-Code\n## Post Processors\n## Modal Behavior for CNC Controllers\n# MDI and Machine Control\n## Conversational CNC","[{\"question\":\"What does this volume cover first for beginners?\",\"answer\":\"It starts with an introduction to g-code, including what it is, why it matters, and how to learn it. It then introduces beginner-friendly concepts like the coordinate system and how g-code relates to the machine’s perspective.\"},{\"question\":\"How does the course explain coordinate handling in G-code?\",\"answer\":\"It covers coordinate systems (including right- and left-handed), 4-axis/5-axis concepts, expressing coordinates, and the difference between relative and absolute coordinates. It also explains offsets and planes.\"},{\"question\":\"What topics related to CNC control behavior are included?\",\"answer\":\"It includes discussions of g-code dialects and post processors, plus modal behavior for CNC controllers. It also teaches MDI use for manual machinists and how M-codes handle spindle and coolant control.\"}]","CNCCookbook’s G-Code Course - Volume 1 - G-Code Basics - Learn foundational concepts and machine-ready programming | PDF",287,12,[147,151,155,159,163,167,171,175,179,183,187,192],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/ce0cf45cbfaf919a20fd1e6dcbff3ca0.webp",983,1272,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/27f3a72437fdc63ebe9c88c75798c2e3.webp",982,1270,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/33460cd00b1998290b195d8be8490c0a.webp",981,1269,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/a25ae6d19d9bea2fd1d43bcc4366828c.webp",980,1268,{"page_no":24,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/8e4c18943f21406f5956bda0875068aa.webp",979,1267,{"page_no":29,"url":168,"width":169,"height":170},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/07d1ec18a5e9b8a15d9cd9f39d916dbb.webp",978,1265,{"page_no":34,"url":172,"width":173,"height":174},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/b44277d9e41f314e5befa6eb43269046.webp",977,1264,{"page_no":39,"url":176,"width":177,"height":178},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/cdd5dbd1c1ce6dd8988e27c2c9c7e555.webp",976,1263,{"page_no":44,"url":180,"width":181,"height":182},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/f5824f88c229106ab5fceb45c3f95831.webp",975,1261,{"page_no":52,"url":184,"width":185,"height":186},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/c7bd8d9cf052ce8075b103138f1a9e1d.webp",974,1260,{"page_no":188,"url":189,"width":190,"height":191},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/89d1e561674f667a2471975e71cfd1ae.webp",973,1259,{"page_no":145,"url":193,"width":194,"height":195},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/38ea7b322815f00e1b78af3c4a8464aa.webp",972,1257,{"list":197,"token":66},[198,204,210,216,222,228,234,240,245,252],{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":39,"category_name":30,"create_tm":203},654064,"NCGuide Academic Packages - FANUC CNC Guide Info","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974010227/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=tbzCnjHWRLO8dOWLwld%2FZAbgovc%3D","ncguide-academic-packages-fanuc-cnc-guide-info",1792906482,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":81,"category_name":30,"create_tm":209},732694,"G and M Programming for CNC Milling Machines - G and M programming manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031410410/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=a%2B6%2BRsJrNG9HlsLdSeJI7jIlQvQ%3D","g-and-m-programming-for-cnc-milling-machines-g-and-m-programming-manual",1795381742,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":81,"category_name":30,"create_tm":215},732685,"Mach4 Mill GCode Manual - Version 1.0","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031410381/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=u1OoZnJkRCQ58qPwgpb98H4%2BEGs%3D","mach4-mill-gcode-manual-version-10",1795381723,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":19,"category_name":30,"create_tm":221},732688,"CHAPTER 12 - CNC Program Codes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031777974/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=caBkPjUeowpQj5W9hjJezUZkMNs%3D","chapter-12-cnc-program-codes",1795381730,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":19,"category_name":30,"create_tm":227},732718,"Development of an Augmented Reality-Based G-Code Generator in a Virtual CNC Milling Simulation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031778458/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=NMG1t%2FvRekpgoSqcR0jKzG0bc7M%3D","development-of-an-augmented-reality-based-g-code-generator-in-a-virtual-cnc-milling-simulation",1795381893,{"doc_id":229,"doc_title":230,"file_type":137,"home_preview_img_url":231,"slug":232,"view_count":19,"category_name":30,"create_tm":233},732696,"PART PROGRAMMING - INTRODUCTION","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031778025/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=preanhkw0mz7%2FiTWWTbl90GnaQE%3D","part-programming-introduction",1795381745,{"doc_id":235,"doc_title":236,"file_type":137,"home_preview_img_url":237,"slug":238,"view_count":19,"category_name":30,"create_tm":239},732767,"Mach4 CNC GCode Programming - Mill Programming Guide - Version 1.1 Build 3775","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031779209/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=Yw3zL9j9VMbTSdFE6zc6Hb7zXLc%3D","mach4-cnc-gcode-programming-mill-programming-guide-version-11-build-3775",1795382204,{"doc_id":241,"doc_title":242,"file_type":137,"home_preview_img_url":243,"slug":244,"view_count":56,"category_name":30,"create_tm":203},654063,"Further Advancing the World Standard CNC from FANUC - Series 0+-Model F - Added Value for Machine Tools","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974010224/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=%2B4JDU1t12gEwRTYPADASHdd8DMo%3D","further-advancing-the-world-standard-cnc-from-fanuc-series-0-model-f-added-value-for-machine-tools",{"doc_id":246,"doc_title":247,"file_type":137,"home_preview_img_url":248,"slug":249,"view_count":250,"category_name":30,"create_tm":251},664529,"FANUC Series oi-MODEL F - Machining Performance","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229982284162/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=HSux21MB4NVKH1INaqzJsuqomaM%3D","fanuc-series-oi-model-f-machining-performance",13,1793258333,{"doc_id":253,"doc_title":254,"file_type":137,"home_preview_img_url":255,"slug":256,"view_count":81,"category_name":30,"create_tm":257},732721,"Centroid Lathe G Codes - Chapter 11","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031778487/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=oGhMRZ8pjjcKjLLMFs1N3ZyJxnI%3D","centroid-lathe-g-codes-chapter-11",1795381900]