{"id":456,"date":"2026-08-03T13:41:08","date_gmt":"2026-08-03T12:41:08","guid":{"rendered":"https:\/\/makeinsalford.com\/wiki2\/?p=456"},"modified":"2026-08-03T13:41:08","modified_gmt":"2026-08-03T12:41:08","slug":"function-codes","status":"publish","type":"post","link":"https:\/\/makeinsalford.com\/wiki\/cnc-machining\/axyz-cnc-router\/machine-operation-axyz-cnc-router\/456\/function-codes\/","title":{"rendered":"Function Codes"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">To perform certain common operations the CNC router uses function codes &#8211; F13 will move the spindle to the current origin point, for example. Often you can pass a variable to the function code, such as picking up a particular tool &#8211; F31.1 &#8211; or the function will ask further questions once it has loaded.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">General Functions<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Code<\/strong><\/td><td><strong>Description<\/strong><\/td><td><strong>Example<\/strong><\/td><\/tr><tr><td>F 1<\/td><td>Machine Information<\/td><td><\/td><\/tr><tr><td>F 9<\/td><td>Delete\/Abort Jobs<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">X\/Y Co-ordinate Functions<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Code<\/strong><\/td><td><strong>Description<\/strong><\/td><td><strong>Example<\/strong><\/td><\/tr><tr><td>F 10<\/td><td>Set new user origin (G55) Move to a new position then F10, Enter.<\/td><td><\/td><\/tr><tr><td>F 11.nn<\/td><td>Change current work co-ordinate system.<\/td><td>F 11.56 &#8211; change to WCS G56.<\/td><\/tr><tr><td>F 13<\/td><td>Move to current origin<\/td><td><\/td><\/tr><tr><td>F 16<\/td><td>Enable parking mode<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Z Co-ordinate Functions<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Code<\/strong><\/td><td><strong>Description<\/strong><\/td><td><strong>Example<\/strong><\/td><\/tr><tr><td>F 24<\/td><td>Manual tool height measure (for large diameter tools)<\/td><td><\/td><\/tr><tr><td>F 25.n<\/td><td>Automatic tool height measure<\/td><td>F25.2 &#8211; auto measure the height of tool 2.<\/td><\/tr><tr><td>F 26<\/td><td>Automatically measure all tools in the ATC.<\/td><td><\/td><\/tr><tr><td>F 28.1<\/td><td>Set wasteboard height<\/td><td>F28.1, then jog to wasteboard, press enter.<\/td><\/tr><tr><td>F 28.2<\/td><td>Plane wasteboard<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">ATC\/Spindle Functions<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Code<\/strong><\/td><td><strong>Description<\/strong><\/td><td><strong>Example<\/strong><\/td><\/tr><tr><td>F 31.n<\/td><td>Pickup tool from ATC<\/td><td>F31.1 &#8211; Pickup tool 1<\/td><\/tr><tr><td>F 32<\/td><td>Open ATC cover and pop up tools<\/td><td><\/td><\/tr><tr><td>F 34<\/td><td>Deposit tool in spindle into ATC<\/td><td><\/td><\/tr><tr><td>F 39<\/td><td>Warmup Spindle<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Miscellaneous Functions<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Code<\/strong><\/td><td><strong>Description<\/strong><\/td><td><strong>Example<\/strong><\/td><\/tr><tr><td>F 40<\/td><td>Job Timer<\/td><td><\/td><\/tr><tr><td>F 42<\/td><td>Rotate Knife (N\/A)<\/td><td>Not application with our machine (no rotary knife attachment)<\/td><\/tr><tr><td>F 46<\/td><td>Measured move<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>To perform certain common operations the CNC router uses function codes &#8211; F13 will move the spindle to the current origin point, for example. Often you can pass a variable to the function code, such as picking up a particular tool &#8211; F31.1 &#8211; or the function will ask further questions once it has loaded. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[103],"tags":[153,15,155,112,150],"class_list":["post-456","post","type-post","status-publish","format-standard","hentry","category-machine-operation-axyz-cnc-router","tag-axyz","tag-cnc","tag-function-codes","tag-operation","tag-router"],"_links":{"self":[{"href":"https:\/\/makeinsalford.com\/wiki\/wp-json\/wp\/v2\/posts\/456","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/makeinsalford.com\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/makeinsalford.com\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/makeinsalford.com\/wiki\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/makeinsalford.com\/wiki\/wp-json\/wp\/v2\/comments?post=456"}],"version-history":[{"count":1,"href":"https:\/\/makeinsalford.com\/wiki\/wp-json\/wp\/v2\/posts\/456\/revisions"}],"predecessor-version":[{"id":457,"href":"https:\/\/makeinsalford.com\/wiki\/wp-json\/wp\/v2\/posts\/456\/revisions\/457"}],"wp:attachment":[{"href":"https:\/\/makeinsalford.com\/wiki\/wp-json\/wp\/v2\/media?parent=456"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/makeinsalford.com\/wiki\/wp-json\/wp\/v2\/categories?post=456"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/makeinsalford.com\/wiki\/wp-json\/wp\/v2\/tags?post=456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}