[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-646544-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-646544-en":131,"doc-similar-646544":163},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","the-basics-of-cnc-machining-programming-for-lathe","The Basics of CNC Machining Programming (for Lathe)","","Course material introducing computerized numerical controller (CNC) machining programming fundamentals for lathe operations. Focuses on the basic knowledge needed to work with CNC lathes, including how to prepare machining programs using common CNC control instructions and machine/CNC manuals. Covers foundational programming concepts such as required terms and commands, positioning and interpolation, coordinate-system concepts, and preparation/usage of CNC functions and instruction formats. Includes safety guidance and e-learning navigation and assessment expectations.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/the-basics-of-cnc-machining-programming-for-lathe/646544/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/the-basics-of-cnc-machining-programming-for-lathe/646544.png","ImageObject",300,407,{"name":42,"@type":43},"pop out","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-26","2026-10-23",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",14,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"Who is this course intended for?","Question",{"text":63,"@type":64},"The course is intended for people who operate CNC lathe machine tools with computer numerical control equipment.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What is the course goal?",{"text":68,"@type":64},"The goal is to help learners prepare basic machining programs by referring to CNC or machine tool manuals and using common control instructions.",{"name":70,"@type":61,"acceptedAnswer":71},"What safety guidance is included?",{"text":72,"@type":64},"The material recommends verifying programs with MITSUBISHI CNC software (NC Trainer2) before using a machine tool, and emphasizes learning machine-tool operations and safety procedures first because instruction formats may vary by machine.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},646544,1792828481,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,110,115,120,123,127],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":112,"show_sort_weight":113,"slug":114},8,"Research & Report",30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":124,"doc_module":4,"doc_module_name":25,"category_name":125,"show_sort_weight":124,"slug":126},10,"Lifestyle","lifestyle",{"id":128,"doc_module":4,"doc_module_name":25,"category_name":129,"show_sort_weight":97,"slug":130},19,"General","general",{"code":4,"msg":82,"data":132},{"doc_id":79,"user_id":133,"nickname":42,"user_avatar":134,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":140,"language":141,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":12,"update_tm":145,"read_time":146,"preview_page_count":33,"preview_urls":147},962090760408,"https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","Computerized Numerical Controller (CNC)  \nThe Basics of CNC Machining Programming (for Lathe)  \nThis course is intended for the persons who operate the lathe machine tools with CNC (computer numerical control) equipment.  \nThis course provides you with the basic knowledge required when working with the CNC lathes.  \nClick the Forward button in the upper-right of the screen to proceed the course.  \nCopyright ©2020 Mitsubishi Electric Corporation. All Rights Reserved.  \nBNP-C8027-688*  \nIntroduction  Objectives of this course  \nThis course describes the basic knowledge of CNC Lathe machining program and how to use the common instructions to the CNC control.  \nThe goal of this course is to help you to be able to prepare the basic machining program with referring the manuals of your CNC or machine tool.  \nIntroduction  Contents of this course  \nThe contents of this course are as shown below.  \nChapter 1 The basic knowledge for programming  \nThe terms and commands you should know before learning CNC programming  \nChapter 2 Positioning and interpolation  \nThe basic instructions needed to move axes  \nChapter 3 Coordinate system  \nConcept of coordinate system on machine tool  \nFinal test  \nScore to pass: 70% or more  \nIntroduction  How to use this e-Learning tool  \n| Go to the next page | | Go to the next page. |\n| --- | --- | --- |\n| Back to the previous page | | Back to the previous page. |\n| Move to the desired page | | \"Table of Contents\" will be displayed, enabling you to navigate to the desired page. |\n| Exit the learning | | Exit the learning. |\n\nIntroduction  For your safety  \n■Safety precautions  \nWe recommend using MITSUBISHI CNC software for training (NC Trainer2) to verify your CNC machining program operation. NC Trainer2 allows you to check how your program runs within your PC environment but without actual machine.  \nIn case you attempt to verify your program with machine tool, be educated about the operations and safety of your machine tool and be thoroughly familiar with your machine tool prior to using.  \nNote that the CNC instruction format may vary from one MTB to the next because they have to meet them to their own specific features of the machines.  \nThus, the CNC functions and command formatting shown in this course may NOT be applicable to the ones used on your machine tool.  \nIn this case, please give the first priority on the manual issued by your machine tool builder.  \nChapter 1  The basic knowledge for programming  \nThis chapter discusses the terms and commands you should know before learning CNC programming.  \n1.1 Configuration of the machine tool (CNC Lathe)  \n1.2 The axes of CNC Lathe  \n1.3 Format of machining program  \n1.4 Address  \n1.5 Sequence number  \n1.6 Preparatory function (G code)  \n1.7 Spindle function (S code)  \n1.8 Tool Function (T code)  \n1.9 Miscellaneous function (M code)  \n1.10 Comment  \n1.1  Configuration of the machine tool (CNC Lathe)  \nLathe is a type of machine tool that removes the material from rotating workpiece (the stock to be machined) with cutting tool (single point tool, or tooling/drilling bits) to make the workpiece form a desired shape.  \nCNC lathes generally consist of various equipment such as the chuck to hold the workpiece, spindle and its motor to rotate the workpiece, servo motor(s) to move the cutting tool to the machining points.  \nSpindle  \nChuck  \nWork piece  \nCutting tool (single point tool)  \n Tool post  \nSpindle motor  \nServo motor  \nFeed screw  \nBelt  \n1.3  Format of machining program  \nMachining program is a measure to tell the CNC how and in which order it makes the machine tool move.  \nThe primary unit of CNC command that constitutes the machining program is made in the combination of an alphabetical letter and the numerical value.  \nThis primary unit (alphabetical letter + numerical value) is called a “word”.  \nThe alphabetical letter at the head of a word is called an “address”.  \nWord  \n| G | 28 |\n| --- | --- |\n\n\n| X | -1 . 234 |\n| --- | --- |\n\nAlphabet ","cbCaisAxag7O5c99","https://ap.wps.com/l/cbCaisAxag7O5c99","pdf",1022571,38,"English","# Introduction\n## Objectives of this course\n## Contents of this course\n## How to use this e-Learning tool\n## For your safety\n# Chapter 1 The basic knowledge for programming\n## Configuration of the machine tool (CNC Lathe)\n## The axes of CNC Lathe\n## Format of machining program\n## Address\n## Sequence number\n## Preparatory function (G code)\n## Spindle function (S code)\n## Tool Function (T code)\n## Miscellaneous function (M code)\n## Comment\n# Chapter 2 Positioning and interpolation\n# Chapter 3 Coordinate system\n# Final test","[{\"question\":\"Who is this course intended for?\",\"answer\":\"The course is intended for people who operate CNC lathe machine tools with computer numerical control equipment.\"},{\"question\":\"What is the course goal?\",\"answer\":\"The goal is to help learners prepare basic machining programs by referring to CNC or machine tool manuals and using common control instructions.\"},{\"question\":\"What safety guidance is included?\",\"answer\":\"The material recommends verifying programs with MITSUBISHI CNC software (NC Trainer2) before using a machine tool, and emphasizes learning machine-tool operations and safety procedures first because instruction formats may vary by machine.\"}]","The Basics of CNC Machining Programming (for Lathe) | PDF",1792763849,96,[148,152,155,159],{"page_no":22,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/06484037e05495b5bcc8f645b5d96ce3.webp",983,716,{"page_no":26,"url":153,"width":154,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/90d47146f0199fdcab0f433780b564b1.webp",982,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/972b5e9e304561e1ce3c3a610bc97c51.webp",981,715,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/beae2f54be986859420b8f1c15d4cbe4.webp",980,714,{"list":164,"token":11},[165,171,177,183,189,196,202,208,214,220],{"doc_id":166,"doc_title":167,"file_type":138,"home_preview_img_url":168,"slug":169,"view_count":97,"category_name":29,"create_tm":170},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=1796109059&Signature=LbIXQ43h0DszhA%2F4AA2DCjOpYt0%3D","lnc-mill-programming-manual-v400-version-400",1795382199,{"doc_id":172,"doc_title":173,"file_type":138,"home_preview_img_url":174,"slug":175,"view_count":30,"category_name":29,"create_tm":176},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=1796109059&Signature=J%2FXSI%2BO1w%2FsxxC%2FNkaVT%2FsVBk%2Fk%3D","centroid-lathe-g-codes-chapter-11",1795381900,{"doc_id":178,"doc_title":179,"file_type":138,"home_preview_img_url":180,"slug":181,"view_count":97,"category_name":29,"create_tm":182},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=1796109059&Signature=SfruWK6lIRmg7K4V7KweYlbTJFg%3D","study-of-g-codes-and-m-codes-used-in-cnc-lathe-hmt-cnc-t70-cnc-machining-centre-codes",1795381890,{"doc_id":184,"doc_title":185,"file_type":138,"home_preview_img_url":186,"slug":187,"view_count":33,"category_name":29,"create_tm":188},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=1796109059&Signature=K9sCcrqthIec41IRbvOfSuei12w%3D","mach4-cnc-gcode-programming-mill-programming-guide-version-11-build-3775",1795382204,{"doc_id":190,"doc_title":191,"file_type":138,"home_preview_img_url":192,"slug":193,"view_count":194,"category_name":29,"create_tm":195},651398,"cnc_turning_courseware - Section 1 - CNC Lathe Basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229973494802/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109059&Signature=s%2FXTMXuWZt%2FcL7c1yI4VSm%2BRzis%3D","cnc_turning_courseware-section-1-cnc-lathe-basics",12,1792873861,{"doc_id":197,"doc_title":198,"file_type":138,"home_preview_img_url":199,"slug":200,"view_count":33,"category_name":29,"create_tm":201},732715,"Programming Workbook - Haas Automation, Inc. - CNC Milling Machine Codes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031410776/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109059&Signature=d6Od1ftNykIDRYc88obwodKHHJY%3D","programming-workbook-haas-automation-inc-cnc-milling-machine-codes",1795381885,{"doc_id":203,"doc_title":204,"file_type":138,"home_preview_img_url":205,"slug":206,"view_count":33,"category_name":29,"create_tm":207},732695,"CNC - What is CNC Machining?","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031778004/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109059&Signature=FSz1%2BohVx9FxqVlmkYKF4IxzWGg%3D","cnc-what-is-cnc-machining",1795381744,{"doc_id":209,"doc_title":210,"file_type":138,"home_preview_img_url":211,"slug":212,"view_count":33,"category_name":29,"create_tm":213},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=1796109059&Signature=eDzjQqBZfH9RnDUydU4G%2BSe1gYQ%3D","g-and-m-programming-for-cnc-milling-lathes",1794026983,{"doc_id":215,"doc_title":216,"file_type":138,"home_preview_img_url":217,"slug":218,"view_count":33,"category_name":29,"create_tm":219},693680,"Haas TL Series Tool Room Lathe Operator Training Manual - Revised 06-2012","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230007411842/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109059&Signature=jAEXdxO8apgZry1v%2BN9EWYMcEE8%3D","haas-tl-series-tool-room-lathe-operator-training-manual-revised-06-2012",1794341188,{"doc_id":221,"doc_title":222,"file_type":138,"home_preview_img_url":223,"slug":224,"view_count":30,"category_name":29,"create_tm":225},698250,"Machine tool pocket reference guide - Tool guide - M-codes & G-code addresses","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010258391/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109059&Signature=9%2BEe2vj%2FEvLYXmPUA6FBaDN9oNY%3D","machine-tool-pocket-reference-guide-tool-guide-m-codes-g-code-addresses",1794450286]