[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-732696-105":59,"doc-detail-732696-en":130,"doc-similar-732696":165},{"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","part-programming-introduction","PART PROGRAMMING - INTRODUCTION","","CNC part programming introduction explains how a program is formed by commands sent to the CNC to operate the machine. It covers essential elements including part geometry information, motion statements for the cutting tool, cutting speed, feed, and auxiliary functions such as coolant control and spindle direction. The document defines CNC program structure through Character, Word, Block, and Program, and distinguishes fixed zero versus floating zero work coordinate systems (WCS). It also distinguishes modal and non-modal commands, then outlines NC part program structure, block formats, and commonly used word addresses like N-code, G-code, and X/Y/Z coordinate codes.",{"@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/part-programming-introduction/732696/",{"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/part-programming-introduction/732696.png","ImageObject",300,407,{"name":92,"@type":93},"Blitz","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-27","2026-11-22",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What components make up a CNC program?","Question",{"text":112,"@type":113},"A CNC program includes information about part geometry, motion statements to move the cutting tool, cutting speed and feed, and auxiliary functions such as coolant on/off and spindle direction.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How are Character, Word, Block, and Program defined in CNC programming?",{"text":117,"@type":113},"Character is the smallest unit (digit/letter/symbol), a Word is a combination of alphanumeric characters forming one instruction, a Block contains multiple words in logical processing order, and the Program is made of multiple blocks executed by the machine control unit.",{"name":119,"@type":110,"acceptedAnswer":120},"What is the difference between fixed zero and floating zero?",{"text":121,"@type":113},"With fixed zero, the origin is always at a defined position on the machine table and tool locations are defined relative to it. With floating zero, the operator sets the zero point at any convenient position, and the coordinate system is known as the work coordinate system (WCS).","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},732696,1795381745,{"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":19,"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":24,"preview_urls":145},24464137899374,"https://us-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","PART PROGRAMMING  \nINTRODUCTION  \nA group of commands given to the CNC for operating the machine is called the program.  \nIt consists of:  \n• Information about part geometry  \n• Motion statements to move the cutting tool  \n• Cutting speed  \n• Feed  \n• Auxiliary functions such as coolant on and off, spindle direction  \n􀂉 CNC program structure  \nThere are four basic terms used in CNC programming  \nCharacter-> Word-> Block-> Program  \n• Character is the smallest unit of CNC program. It can have Digit / Letter / Symbol.  \n• Word is a combination of alpha-numerical characters. This creates a single instruction to the CNC machine. Each word begins with a capital letter, followed by a numeral. These are used to represent axes positions, federate, speed, preparatory commands, and miscellaneous functions.  \n• A program block may contain multiple words, sequenced in a logical order of processing.  \n• The program comprises of multiple lines of instructions,„blocks‟ which will be executed by the machine control unit (MCU) .  \nFIXED ZERO v/s FLOATING ZERO  \nFixed zero:  \n• Origin is always located at some position on M/C table (usually at south west corner/Lower left-hand) of the tables & all tool location are defined W.R.T. this zero  \nFloating Zero:  \n• Very common with CNC M/C used now a days.  \n• Operator sets zero point at any convenient position on M/C table.  \n• The Coordinate system is knows as work coordinate system (WCS)  \nModal and Non modal commands  \n• Commands issued in the NC program may stay in effect indefinitely (until they explicitly cancelled or changed by some other command), or they may be effective for only the one time that they are issued.  \n• The former are referred as Modal commands. Examples include feed rate selection and coolant selection.  \n• Commands that are effective only when issued and whose effects are lost for subsequent commands are referred to as non-modal commands.  \n• A dwell command, which instructs the tool to remain ina given configuration for a given amount of time, is an example of a non-modal command.  \nStructure of an NC part program  \n• An NC part program is made up of a series of commands that are input into the MCU in a serial manner.  \n• The MCU interprets these commands and generates the necessary signals to each of the drive units of the machine to accomplish the required action.  \n• The NC program is required to have a particular structure that the controller can understand and it must follow a specific syntax.  \n• Commands are inputs into the controller in units called blocks or statements.  \n• Each block is made up of one or more machine commands.  \n• In general, several commands are grouped together to accomplish a specific machining operation, hence the use of a block of information for each operation.  \n• Each command gives a specific element of control data, such as dimension or a feed rate. Each command within a block is also called a word.  \n• The way in which words are arranged within the block is called block format.  \n• Three different block formats are commonly used, (Fixed sequential format, Tab sequential format and Word address format)  \nWord Sequential Format : Used on virtually all modern controllers.  \nN50 G00 X50 Y25 Z0 F0  \nN60 G01 Z-1 F50 M08  \nN70 Z0 M09  \n• With this type of format, each type of word is assigned as address that is identified by a letter code within the part program.  \n• Thus the letter code specifies the type of word that follows and then its associated numeric data is given.  \n• For example, the code T represents a tool number. Thus a word of the form T01 would represent tool number 1 .  \n• Theoretically, with this approach, the words in a given block can be entered in any sequence and the controller should be able to interpret them correctly.  \n• With the word address format only the needed words for a given operation have to be included within the block.  \n• The command to which the particular numeric data applies is identified by the precedi","cbCaisN6wC1DXbyh","https://ap.wps.com/l/cbCaisN6wC1DXbyh","pdf",796815,44,"English","# INTRODUCTION\n## CNC program structure\n## Fixed zero vs floating zero\n## Modal and non-modal commands\n## Structure of an NC part program\n## Word sequential format and block formats\n## Commonly used word addresses","[{\"question\":\"What components make up a CNC program?\",\"answer\":\"A CNC program includes information about part geometry, motion statements to move the cutting tool, cutting speed and feed, and auxiliary functions such as coolant on/off and spindle direction.\"},{\"question\":\"How are Character, Word, Block, and Program defined in CNC programming?\",\"answer\":\"Character is the smallest unit (digit/letter/symbol), a Word is a combination of alphanumeric characters forming one instruction, a Block contains multiple words in logical processing order, and the Program is made of multiple blocks executed by the machine control unit.\"},{\"question\":\"What is the difference between fixed zero and floating zero?\",\"answer\":\"With fixed zero, the origin is always at a defined position on the machine table and tool locations are defined relative to it. With floating zero, the operator sets the zero point at any convenient position, and the coordinate system is known as the work coordinate system (WCS).\"}]","PART PROGRAMMING - INTRODUCTION | PDF",111,[146,150,153,157,161],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/1f2ef4ca63e22339868c6fdef690a79f.webp",983,736,{"page_no":14,"url":151,"width":152,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/65c9c28d74ce5823fc5bcd59c67b440d.webp",982,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/fb29956bebaf6bccf21dbb20a876f513.webp",981,735,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/2388f18b9a6495f11ee29f2ad291d064.webp",980,734,{"page_no":24,"url":162,"width":163,"height":164},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/74a72644af9b4838581fb149bfdb5c7c.webp",979,733,{"list":166,"token":66},[167,173,179,185,191,197,204,210,216,222],{"doc_id":168,"doc_title":169,"file_type":137,"home_preview_img_url":170,"slug":171,"view_count":24,"category_name":30,"create_tm":172},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=1796108039&Signature=nbU95o5oXobOfsQHQhjGKwq8o1Q%3D","study-of-g-codes-and-m-codes-used-in-cnc-lathe-hmt-cnc-t70-cnc-machining-centre-codes",1795381890,{"doc_id":174,"doc_title":175,"file_type":137,"home_preview_img_url":176,"slug":177,"view_count":81,"category_name":30,"create_tm":178},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=1796108039&Signature=DpDMyJKppf1MndxumhPK%2BfjrS14%3D","g-and-m-programming-for-cnc-milling-machines-g-and-m-programming-manual",1795381742,{"doc_id":180,"doc_title":181,"file_type":137,"home_preview_img_url":182,"slug":183,"view_count":81,"category_name":30,"create_tm":184},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=1796108039&Signature=dBi%2F2qXaqpUx%2BYyY8iEGT8xfVAQ%3D","machine-tool-pocket-reference-guide-tool-guide-m-codes-g-code-addresses",1794450286,{"doc_id":186,"doc_title":187,"file_type":137,"home_preview_img_url":188,"slug":189,"view_count":19,"category_name":30,"create_tm":190},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=1796108039&Signature=tHBmyIxKlzZwvk3n2kWZPhYnEKI%3D","chapter-12-cnc-program-codes",1795381730,{"doc_id":192,"doc_title":193,"file_type":137,"home_preview_img_url":194,"slug":195,"view_count":24,"category_name":30,"create_tm":196},732703,"Basic ISO Programming Exercise 3 - Turning - ISO G code turning and boring tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031410491/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=MtUQv%2Fbb7vMSvCymBIuAWwg2iok%3D","basic-iso-programming-exercise-3-turning-iso-g-code-turning-and-boring-tutorial",1795381774,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":202,"category_name":30,"create_tm":203},415226,"Fundamentals of CNC Machining - A Practical Guide for Beginners - Desk Copy","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229921754019/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=0zMeFpJpmnKraOZcsqrmkiVfuiQ%3D","fundamentals-of-cnc-machining-a-practical-guide-for-beginners-desk-copy",13,1790600553,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":19,"category_name":30,"create_tm":209},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=1796108039&Signature=WubJdAiK3RGYAN1r8bsMbTdEyMA%3D","g-and-m-programming-for-cnc-milling-lathes",1794026983,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":34,"category_name":30,"create_tm":215},732728,"CNC Laser Machine (AMNC-F) - Programming Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031410891/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=sT2BAZGeLgKQx2ifX2fk%2FvcVe3Q%3D","cnc-laser-machine-amnc-f-programming-manual",1795381940,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":202,"category_name":30,"create_tm":221},686026,"C101 - SINUMERIK Handbook - G codes & M codes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000357163/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=SW7Hi8A%2BHEUGyNOiwuuKdeQVluU%3D","c101-sinumerik-handbook-g-codes-m-codes",1794026972,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":81,"category_name":30,"create_tm":227},732723,"Century Star Milling CNC System Programming Guide - v3.3 - December, 2007","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031778488/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=umKywMay35Ylo6IQJBp5l01NjXU%3D","century-star-milling-cnc-system-programming-guide-v33-december-2007",1795381902]