[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-732725-en":3,"detail-sidebar-cat-0-en-105":50,"doc-seo-732725-105":99,"doc-similar-732725":162},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":21,"is_downloadable":21,"audit_status":21,"page_count":22,"language":23,"language_code":24,"site_id":25,"html_lang":24,"table_of_contents":26,"faqs":27,"seo_title":28,"seo_description":14,"update_tm":29,"read_time":30,"preview_page_count":20,"preview_urls":31},732725,962090768658,"Alexandar","https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8",6,"Technology","G-Codes list - myCNC G-code reference","Comprehensive reference of G-codes implemented in the myCNC system, organized as a structured table listing each G-code alongside its functional description and applicable machine contexts (mill, lathe, cutting table). Entries cover motion modes such as rapid positioning, linear and arc interpolation, dwell timing, coordinate and plane selection, unit settings, and programming modes like absolute or incremental control. Additional items document tool offsets, coordinate system switching behavior, canned drilling and tapping cycles, feedrate modes, and various system-specific experimental or control features, with notes and examples where relevant.","G-Codes list  \nBelow is a list of G-codes currently implemented in the myCNC system.  \n\n| G-codes |  |  |  |\n| --- | --- | --- | --- |\n| Code | Description | Mill (M)\u003Cbr>Lathe(L)\u003Cbr>Cutting table (C) | Comments |\n| G00 | Rapid Positioning |  | . See note on G53 .\u003Cbr>|\n| G01 | Linear Interpolation |  | |\n| G02 | Arc CCW Interpolation |  | |\n| G03 | Arc CW InterpolatioMotion Mode Canceln |  | |\n| G04 | Dwell |  | In milliseconds. Will prevent the axes from moving during the speciﬁed time period |\n| G5.1 | ~~Spline Interpolation~~ |  |  |\n| G5.2 | ~~Nurbs Interpolation~~ |  |  |\n| G5.3 | ~~Nurbs Interpolation End~~ |  |  |\n| G10 | Data Set |  |  |\n| G11 | Mirror Cancel |  |  |\n| G12 | Mirror X |  |  |\n| G13 | Mirror Y |  |  |\n| G14 | Mirror XY |  |  |\n| G15 | Polar coordinates Oﬀ |  |  |\n| G16 | Polar coordinates On |  |  |\n| G17 | Plane XY |  |  |\n| G18 | Plane ZX |  |  |\n| G19 | Plane YZ |  |  |\n\n\n| G-codes |  |  |  |\n| --- | --- | --- | --- |\n| Code | Description | Mill (M)\u003Cbr>Lathe(L)\u003Cbr>Cutting table (C) | Comments |\n| G20 | Set Units to Inches |  |  |\n| G21 | Set Units to Metric |  |  |\n| G28 | G28 Home |  |  |\n| G28.1 | Home Position Set |  |  |\n| G28.2 | Home Position \\#1 Save |  |  |\n| G28.3 | Home Position \\#2 Save |  |  |\n| G28.4 | Home Position \\#3 Save |  |  |\n| G28.5 | Home Position \\#1 Restore |  |  |\n| G28.6 | Home Position \\#2 Restore |  |  |\n| G28.7 | Home Position \\#3 Restore |  |  |\n| G28.9 | Home Position Address |  |  |\n| G30 | G30 Home |  |  |\n| G30.1 | G30 Home Set |  |  |\n| G33 | Spindle Synchronization |  |  |\n| G33 | Spindle Synchronization |  |  |\n| G38.2 | G38.2 Probing |  | Probing codes G38.2-G38.5 are typically not used in myCNC systems, as their functions have been largely replaced and expanded by the PLC commands (speciﬁc probing M-codes) |\n| G38.3 | G38.3 Probing |  |  |\n| G38.4 | G38.4 Probing |  |  |\n| G38.5 | G38.5 Probing |  |  |\n| G38.9 | Tool Measure |  |  |\n| G40 | Tool Correction Cancel |  | |\n| G41 | Tool Correction Left |  | \u003Cbr>YouTube link |\n| G42 | Tool Correction Right |  | |\n| G43 | G43 Tool Length Oﬀset |  |  |\n| G44 | G44 Tool Length Oﬀset |  |  |\n\n\n| G-codes |  |  |  |\n| --- | --- | --- | --- |\n| Code | Description | Mill (M)\u003Cbr>Lathe(L)\u003Cbr>Cutting table (C) | Comments |\n| G49 | G49 Cancel Tool Length Oﬀset |  |  |\n| G50 | G50 Scaling Cancel | M |  |\n| G51 | G51 Scaling Set | M |  |\n| G50 | G50 Set Max Spindle Speed (Lathe) | L |  |\n| G53 | Machine Coordinates | M L | The toolpath planner (as well as the the line/circle interpolation commands) work only in program coordinates. Therefore, the G53 code only works with G0 positioning commands. See note below on G53 & G0 usage. |\n| G54 | Use Coordinate System \\#1 | M L | Coordinate system switching codes G54-G59 change the oﬀset between machine and work coordinates. Asthe toolpath planner does not have access to these commands, it is necessary to position the tool in the new coordinate system after switching (using G0) |\n| G55 | Use Coordinate System \\#2 | M L |  |\n| G56 | Use Coordinate System \\#3 | M L |  |\n| G57 | Use Coordinate System \\#4 | M L |  |\n| G58 | Use Coordinate System \\#5 | M L |  |\n| G59 | Use Coordinate System \\#6 | M L |  |\n| G59.1 | Use Coordinate System \\#7 | M L |  |\n| G59.2 | Use Coordinate System \\#8 | M L |  |\n| G59.3 | Use Coordinate System \\#9 | M L |  |\n| G59 | Set Hypertherm Power Source Parameters (Plasma Cutting table only) |  |  |\n| G61 | ~~Exact Stop~~ | M |  |\n| G62 | ~~Corner Override~~ | M |  |\n| G63 | ~~Mode Tapping~~ | M |  |\n| G64 | ~~Mode Cutting~~ | M |  |\n| G65 | G-code macro | M |  |\n| G73 | Cycle Deep Hole Drilling | M | |\n| G74 | Cycle Left Hand Tapping | M |  |\n| G76 | Cycle Lathe Thread | L | G76 Thread Cycle |\n| G80 | Cancel Motion Mode |  |  |\n\n\n| G-codes |  |  |  |\n| --- | --- | --- | --- |\n| Code | Description | Mill (M)\u003Cbr>Lathe(L)\u003Cbr>Cutting table (C) | Comments |\n| G81 | Cycle Drilling |  | |\n| G82 | Cycle Drilling Dwell |  |  |\n| G83 | Cycle Peck Drilling |  | |\n| G84 | Cycle Ri","cbCaibLZbwGuLj7C","https://ap.wps.com/l/cbCaibLZbwGuLj7C","pdf",186076,4,1,15,"English","en",105,"# G-codes list\n## Motion and positioning modes\n## Units, coordinates, and plane selection\n## Tool offsets and coordinate system switching\n## Programming modes and feedrate control\n## Drilling, tapping, and machining cycles\n## Experimental and miscellaneous control codes","[{\"question\":\"What is included in the G-codes list for myCNC?\",\"answer\":\"The document lists G-codes implemented in the myCNC system, providing each code’s description, applicable machine types (mill/lathe/cutting table), and implementation comments where available.\"},{\"question\":\"Which G-codes relate to basic motion and interpolation?\",\"answer\":\"It covers rapid positioning and linear interpolation, plus arc interpolation modes (CCW and CW), and a dwell code (timed pause) to control motion during a specified interval.\"},{\"question\":\"How does the document explain coordinate system and machine coordinate behavior?\",\"answer\":\"It describes codes for plane selection (XY/XZ/YZ), coordinate system switching (e.g., G54-G59 and numbered variants), and machine coordinates (G53), including notes about how the planner operates in program coordinates and when G0 positioning is required after switching.\"}]","G-Codes list - myCNC G-code reference | PDF",1795381934,38,[32,36,41,46],{"page_no":21,"url":33,"width":34,"height":35},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/a2ed41a948a6dfb8223ec55223420f2e.webp",983,1390,{"page_no":37,"url":38,"width":39,"height":40},2,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/8423e2e3ca54290e4cc72605da36183f.webp",982,1388,{"page_no":42,"url":43,"width":44,"height":45},3,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/822e3d704eca0533d3e7adc53b1f4424.webp",981,1387,{"page_no":20,"url":47,"width":48,"height":49},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/186aa8fa54e94c94f3956f550dc59272.webp",980,1385,{"code":4,"msg":5,"data":51},[52,57,61,65,70,73,78,83,88,91,95],{"id":21,"doc_module":4,"doc_module_name":53,"category_name":54,"show_sort_weight":55,"slug":56},"Document","Story & Novel",90,"story-novel",{"id":37,"doc_module":4,"doc_module_name":53,"category_name":58,"show_sort_weight":59,"slug":60},"Literature",80,"literature",{"id":20,"doc_module":4,"doc_module_name":53,"category_name":62,"show_sort_weight":63,"slug":64},"Exam",70,"exam",{"id":66,"doc_module":4,"doc_module_name":53,"category_name":67,"show_sort_weight":68,"slug":69},5,"Comic",60,"comic",{"id":11,"doc_module":4,"doc_module_name":53,"category_name":12,"show_sort_weight":71,"slug":72},50,"technology",{"id":74,"doc_module":4,"doc_module_name":53,"category_name":75,"show_sort_weight":76,"slug":77},7,"Healthcare",40,"healthcare",{"id":79,"doc_module":4,"doc_module_name":53,"category_name":80,"show_sort_weight":81,"slug":82},8,"Research & Report",30,"research-report",{"id":84,"doc_module":4,"doc_module_name":53,"category_name":85,"show_sort_weight":86,"slug":87},9,"Religion & Spirituality",20,"religion-spirituality",{"id":86,"doc_module":4,"doc_module_name":53,"category_name":89,"show_sort_weight":86,"slug":90},"World Cup","world-cup",{"id":92,"doc_module":4,"doc_module_name":53,"category_name":93,"show_sort_weight":92,"slug":94},10,"Lifestyle","lifestyle",{"id":96,"doc_module":4,"doc_module_name":53,"category_name":97,"show_sort_weight":66,"slug":98},19,"General","general",{"code":4,"msg":100,"data":101},"ok",{"site_id":25,"language":24,"slug":102,"title":13,"keywords":103,"description":14,"schema_data":104,"social_meta":157,"head_meta":159,"extra_data":161,"updated_unix":29},"g-codes-list-mycnc-g-code-reference","",{"@graph":105,"@context":156},[106,119,139],{"@type":107,"itemListElement":108},"BreadcrumbList",[109,113,115,117],{"item":110,"name":111,"@type":112,"position":21},"https://docshare.wps.com","Home","ListItem",{"item":114,"name":53,"@type":112,"position":37},"https://docshare.wps.com/document/",{"item":116,"name":12,"@type":112,"position":42},"https://docshare.wps.com/document/technology/",{"item":118,"name":13,"@type":112,"position":20},"https://docshare.wps.com/document/g-codes-list-mycnc-g-code-reference/732725/",{"url":118,"name":13,"@type":120,"image":121,"author":126,"headline":13,"publisher":128,"fileFormat":131,"inLanguage":24,"description":14,"dateModified":132,"datePublished":133,"encodingFormat":131,"isAccessibleForFree":134,"interactionStatistic":135},"DigitalDocument",{"url":122,"@type":123,"width":124,"height":125},"https://docshare.wps.com/thumbnails/g-codes-list-mycnc-g-code-reference/732725.png","ImageObject",300,407,{"name":9,"@type":127},"Person",{"url":110,"name":129,"@type":130},"DocShare","Organization","application/pdf","2026-12-01","2026-11-22",true,{"@type":136,"interactionType":137,"userInteractionCount":20},"InteractionCounter",{"@type":138},"ViewAction",{"@type":140,"mainEntity":141},"FAQPage",[142,148,152],{"name":143,"@type":144,"acceptedAnswer":145},"What is included in the G-codes list for myCNC?","Question",{"text":146,"@type":147},"The document lists G-codes implemented in the myCNC system, providing each code’s description, applicable machine types (mill/lathe/cutting table), and implementation comments where available.","Answer",{"name":149,"@type":144,"acceptedAnswer":150},"Which G-codes relate to basic motion and interpolation?",{"text":151,"@type":147},"It covers rapid positioning and linear interpolation, plus arc interpolation modes (CCW and CW), and a dwell code (timed pause) to control motion during a specified interval.",{"name":153,"@type":144,"acceptedAnswer":154},"How does the document explain coordinate system and machine coordinate behavior?",{"text":155,"@type":147},"It describes codes for plane selection (XY/XZ/YZ), coordinate system switching (e.g., G54-G59 and numbered variants), and machine coordinates (G53), including notes about how the planner operates in program coordinates and when G0 positioning is required after switching.","https://schema.org",{"og:url":118,"og:type":158,"og:title":13,"og:site_name":129,"og:description":14},"article",{"robots":160,"canonical":118},"index,follow",{"doc_id":7,"site_id":25},{"list":163,"token":103},[164,170,176,182,188,194,200,206,212,218],{"doc_id":165,"doc_title":166,"file_type":18,"home_preview_img_url":167,"slug":168,"view_count":42,"category_name":12,"create_tm":169},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=1796110859&Signature=ks6RiRehnUMguhaGRGxF%2FMwjgSk%3D","centroid-lathe-g-codes-chapter-11",1795381900,{"doc_id":171,"doc_title":172,"file_type":18,"home_preview_img_url":173,"slug":174,"view_count":66,"category_name":12,"create_tm":175},732766,"LNC-MILL Programming Manual - V4.00 - Version 4.00","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031411638/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=k8OGi2BrXcfO8Pwk5xAkvxqWrIU%3D","lnc-mill-programming-manual-v400-version-400",1795382199,{"doc_id":177,"doc_title":178,"file_type":18,"home_preview_img_url":179,"slug":180,"view_count":66,"category_name":12,"create_tm":181},732716,"Study of G Codes and M Codes Used in CNC Lathe HMT CNC-T70 - CNC Machining Centre Codes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031778452/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=Eo4AiMIyYwBQcxcOb4Wbnb5mV3Y%3D","study-of-g-codes-and-m-codes-used-in-cnc-lathe-hmt-cnc-t70-cnc-machining-centre-codes",1795381890,{"doc_id":183,"doc_title":184,"file_type":18,"home_preview_img_url":185,"slug":186,"view_count":20,"category_name":12,"create_tm":187},686030,"G and M Programming for CNC Milling Lathes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000357231/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=nuqakrCaSO0grAI71DBNexLmELg%3D","g-and-m-programming-for-cnc-milling-lathes",1794026983,{"doc_id":189,"doc_title":190,"file_type":18,"home_preview_img_url":191,"slug":192,"view_count":20,"category_name":12,"create_tm":193},668980,"centroid_G_and_M_codes - Chapter 12 - CNC Program Codes: G-codes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229987781956/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=A7sQkmVnhfNxEk4Fo5eY1X%2BOb0U%3D","centroid_g_and_m_codes-chapter-12-cnc-program-codes-g-codes",1793522071,{"doc_id":195,"doc_title":196,"file_type":18,"home_preview_img_url":197,"slug":198,"view_count":20,"category_name":12,"create_tm":199},732714,"FANUC SYSTEM 6M-MODEL B - Operator's Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031778406/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=H6vgnnZaiNo7ckpd4BI%2BsYrBOqw%3D","fanuc-system-6m-model-b-operators-manual",1795381881,{"doc_id":201,"doc_title":202,"file_type":18,"home_preview_img_url":203,"slug":204,"view_count":20,"category_name":12,"create_tm":205},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=1796110859&Signature=S7B71ghaVWdcZBPNBcxmVGfuKJo%3D","mach4-cnc-gcode-programming-mill-programming-guide-version-11-build-3775",1795382204,{"doc_id":207,"doc_title":208,"file_type":18,"home_preview_img_url":209,"slug":210,"view_count":20,"category_name":12,"create_tm":211},698252,"A2MC NC Code Definitions - Technical Reference","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010258505/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=mURLDFsqv%2BQjQHj6TeAyBveymYQ%3D","a2mc-nc-code-definitions-technical-reference",1794450288,{"doc_id":213,"doc_title":214,"file_type":18,"home_preview_img_url":215,"slug":216,"view_count":66,"category_name":12,"create_tm":217},732737,"HAAS MILL PROGRAMMING - Programming Manual - 2025","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031410955/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=%2FAmbicgGjwco%2FZQ7Ud1VK6gSA4Y%3D","haas-mill-programming-programming-manual-2025",1795381975,{"doc_id":219,"doc_title":220,"file_type":18,"home_preview_img_url":221,"slug":222,"view_count":20,"category_name":12,"create_tm":223},732691,"SHOP NOTES - Pocket Guide and Reference Charts for CNC Machinists","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031777989/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=uFeIwb42bIdFvOe2L61kLsEJUhY%3D","shop-notes-pocket-guide-and-reference-charts-for-cnc-machinists",1795381736]