{"id":1836,"date":"2026-11-26T09:41:21","date_gmt":"2026-11-26T07:41:21","guid":{"rendered":"https:\/\/macromillcnc.com\/2026\/11\/26\/write-test-and-run-a-fanuc-macro\/"},"modified":"2026-11-26T09:49:53","modified_gmt":"2026-11-26T07:49:53","slug":"write-test-and-run-a-fanuc-macro","status":"publish","type":"post","link":"https:\/\/macromillcnc.com\/2026\/11\/26\/write-test-and-run-a-fanuc-macro\/","title":{"rendered":"Write a FANUC macro, test it in MacroMill, then run it on your machine"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">A CNC macro is only useful if you can trust it. The way to get that trust is straightforward: write the logic, test it in a simulator, then take the same program to the machine and prove it out.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The software is for training and simulation only. Yes, programs and macros you write and test in a MacroMill simulator can be saved or exported and run on a real CNC machine. As with any new program, prove it out first with single block, reduced rapids and a dry run before you cut.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The language itself \u2014 variables, IF\/GOTO, WHILE loops and G65 calls \u2014 is covered in the <a href=\"https:\/\/macromillcnc.com\/2026\/11\/19\/cnc-macro-programming-guide\/\">practical guide to FANUC Custom Macro B<\/a>. This post is about the habit that makes that language useful, with a short rectangular pocket example you can step through.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why write a macro instead of a fixed program<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A fixed G-code program is a list of moves for one size. Change the pocket length, the depth or the tool, and you are editing lines, or writing the program again. A Custom Macro B program takes those values as inputs, checks them, and calculates the path.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That is worth doing when the same method will be used on more than one size, when a loop is cleaner than a long copied pattern, or when a bad input should stop the program before it cuts. For shop-floor examples, see <a href=\"https:\/\/macromillcnc.com\/2026\/11\/08\/what-problems-do-cnc-macros-solve-fanuc-macro-b\/\">What problems do CNC macros solve?<\/a> and <a href=\"https:\/\/macromillcnc.com\/2026\/11\/10\/cnc-macros-productivity-write-once\/\">Unlock CNC macros productivity on the shop floor<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A short example: a rectangular pocket<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The calling program sets a tool, then G65 passes a centre, a final depth, the pocket length and width, a depth per pass, a tool diameter, a stepover, a clearance height and a feed. The macro checks the required inputs, then uses one WHILE loop for depth and a second WHILE loop to mill across the pocket in steps.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The figures are metric training values, not a job setup. With a centre at X0 Y0, an 80 mm by 50 mm pocket, a 12 mm tool and a 6 mm stepover, the tool-centre path should stay inside the pocket by one tool radius, and the last pass should finish on the far edge.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>O8010 (RECTANGULAR POCKET CALL)\nG90 G54 G17 G21 G40 G49 G80\nT1 M06\nG00 X0. Y0.\nG43 Z50. H01\nS2000 M03\nG65 P8011 X0. Y0. Z-8. I80. J50. K2. D12. W6. R2. F200.\nG00 Z50.\nM05\nM30\n\nO8011 (RECTANGULAR POCKET MACRO)\n(X=#24 CENTRE X)\n(Y=#25 CENTRE Y)\n(Z=#26 FINAL DEPTH)\n(I=#4 POCKET LENGTH X)\n(J=#5 POCKET WIDTH Y)\n(K=#6 DEPTH PER PASS)\n(D=#7 TOOL DIAMETER)\n(W=#23 STEPOVER)\n(R=#18 CLEARANCE HEIGHT)\n(F=#9 FEED)\n\nIF[#24 EQ #0]GOTO900\nIF[#25 EQ #0]GOTO900\nIF[#26 EQ #0]GOTO900\nIF[#26 GE 0]GOTO900\nIF[#4 EQ #0]GOTO900\nIF[#5 EQ #0]GOTO900\nIF[#6 EQ #0]GOTO900\nIF[#7 EQ #0]GOTO900\nIF[#23 EQ #0]GOTO900\nIF[#18 EQ #0]GOTO900\nIF[#9 EQ #0]GOTO900\nIF[#4 LE 0]GOTO900\nIF[#5 LE 0]GOTO900\nIF[#6 LE 0]GOTO900\nIF[#7 LE 0]GOTO900\nIF[#23 LE 0]GOTO900\nIF[#18 LE 0]GOTO900\nIF[#9 LE 0]GOTO900\nIF[#4 LE #7]GOTO900\nIF[#5 LE #7]GOTO900\nIF[#23 GE #7]GOTO900\n\n#27=#7\/2.\n#31=[#4\/2.]-#27\n#32=[#5\/2.]-#27\n#28=#24-#31\n#29=#25-#32\n#8=#24+#31\n#10=#25+#32\n\n#30=0\nWHILE[#30 GT #26]DO1\n#30=#30-#6\nIF[#30 GE #26]GOTO10\n#30=#26\nN10\n#33=#29\nWHILE[#33 LE #10]DO2\nG00 Z#18\nG00 X#28 Y#33\nG01 Z#30 F#9\nG01 X#8 Y#33\n#11=#33\n#33=#33+#23\nIF[#33 LE #10]GOTO20\nIF[#11 EQ #10]GOTO20\n#33=#10\nN20\nEND2\nG00 Z#18\nEND1\nM99\n\nN900\n(INVALID POCKET INPUT - CHECK THE CALL)\nM99;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The vacant tests come first, because a missing G65 argument is empty, not zero, and using it in arithmetic can alarm. X and Y can be zero, so a centre at X0. Y0. is valid as long as those letters are passed. The pocket must be larger than the tool, and the stepover must be smaller than the tool diameter. After each depth step, the macro clamps Z so it does not go past the final depth. After each stepover, it adds one last pass on the far edge if the step would have skipped it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is a teaching skeleton: a raster pocket, one tool, and no cutter compensation. Change I, J or Z in the G65 call and the same program should produce the new size. For the variable map, IF\/GOTO and WHILE rules behind this, see the <a href=\"https:\/\/macromillcnc.com\/2026\/11\/19\/cnc-macro-programming-guide\/\">FANUC Macro B guide<\/a> and <a href=\"https:\/\/macromillcnc.com\/2026\/11\/10\/fanuc-macro-while-loop\/\">How a FANUC macro WHILE loop works<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Test the macro in a MacroMill simulator<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Load the caller and the macro into a MacroMill simulator and run it there first. Use single block so you can see each assignment, each test and each move. Watch the variable values as the loops count, and check the 2D and 3D toolpath graphs against the pocket you had in mind.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If a path overshoots the edge, a loop does not finish, or a vacant argument raises an alarm, you want to find that on the simulator. Then change one input at a time \u2014 the depth, the length, the stepover \u2014 and confirm the path still makes sense. That is the same habit described in <a href=\"https:\/\/macromillcnc.com\/2026\/11\/25\/practise-fanuc-g-code-on-your-pc-first\/\">Practise FANUC G-code on your PC first<\/a>, applied here to macro logic.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <a href=\"https:\/\/macromillcnc.com\/#mmx-vmc-title\">FANUC VMC Advanced Control Suite<\/a> is the milling simulator with a FANUC 0i-MF Plus style control, and it is a solid place to practise this kind of pocket macro. For turning macros, use the <a href=\"https:\/\/macromillcnc.com\/fanuc-oi-tf-plus-lathe-simulator\/\">FANUC 0i-TF Plus lathe simulator<\/a>. The <a href=\"https:\/\/macromillcnc.com\/#mmx-aaxis-title\">A-axis VMC simulator<\/a> is a separate product for 4th-axis training, and <a href=\"https:\/\/macromillcnc.com\/macromill-vmc-pro\/\">VMC Pro<\/a> is a separate product that adds a probing suite. Do not treat one as a substitute for another.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Yes, you can run it on your machine<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, you can run that macro on a real CNC machine. Save or export the programs from the MacroMill simulator, load them onto your FANUC control the way you normally would, and prove them out with single block, reduced rapids and a dry run before you cut.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The simulator is for training and simulation. It does not replace a check of your own tooling, offsets, clearances, spindle speeds and feeds, and it does not replace the Custom Macro B manual for your control. Addresses and features can vary between FANUC series, so confirm the program on your own machine before you cut metal.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How else MacroMill can help<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you already have a CAM program with a lot of repeated motion, <a href=\"https:\/\/macromillcnc.com\/macrofusion\/\">MacroFusion<\/a> is CNC macro automation software that helps turn suitable repetitive CAM-generated G-code into compact, variable-driven macro logic. It does not replace CAM, it does not convert every program, and it is not a machine simulator. Review the result, then test it and prove it out in the same way as any other macro.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For a structured path from these basics into fuller cycles and family-of-parts work, use <a href=\"https:\/\/macromillcnc.com\/cnc-automation-pro-2026\/\">CNC Automation Pro 2026<\/a>. It is MacroMill\u2019s training platform for CNC macro programming, with structured lessons, pre-written macros, video tutorials and a certification pathway. It starts with the fundamentals and builds toward reusable macro logic. MacroFusion is a separate product and is not included in CNC Automation Pro.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For reference material, start with the <a href=\"https:\/\/macromillcnc.com\/free-cnc-macro-resources\/\">free CNC macro resources<\/a> page. When you want complete programs to study, open the <a href=\"https:\/\/macromillcnc.com\/cnc-macro-program-library\/\">CNC macro program library<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can find the FANUC VMC Advanced Control Suite on <a href=\"https:\/\/macromillcnc.com\/#mmx-vmc-title\">macromillcnc.com<\/a>. For tips and updates, join the MacroMill WhatsApp group: <a href=\"https:\/\/chat.whatsapp.com\/Htae97asBiD14QiwMXjGJA\" target=\"_blank\" rel=\"noopener\">chat.whatsapp.com\/Htae97asBiD14QiwMXjGJA<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>The software is for training and simulation only. Yes, programs and macros you write and test in a MacroMill simulator can be saved or exported and run on a real CNC machine. As with any new program, prove it out first with single block, reduced rapids and a dry run before you cut. The code in this post is for learning and simulation. Addresses, tool offsets, clearances, spindle speeds and feeds must be confirmed against your machine, your tooling and your control\u2019s Custom Macro B manual.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>MacroMill<\/strong><\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>Write and test a FANUC Custom Macro B program in a MacroMill simulator, then save or export it and run it on a real CNC machine after a normal prove-out.<\/p>\n","protected":false},"author":279632934,"featured_media":1597,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_seo_llms_txt_always_include":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1378],"tags":[],"class_list":["post-1836","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/phcvZP-tC","jetpack-related-posts":[{"id":1852,"url":"https:\/\/macromillcnc.com\/2026\/11\/28\/stop-learning-cnc-on-a-live-machine\/","url_meta":{"origin":1836,"position":0},"title":"Stop learning CNC on a live machine: get job-ready faster","author":"MacroMill","date":"November 28, 2026","format":false,"excerpt":"Learning CNC on a live machine is slow and expensive. See how programmers get job-ready on a MacroMill simulator first, then take the program to the machine.","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/macromillcnc.com\/category\/tutorials\/"},"img":{"alt_text":"MacroMill FANUC CNC simulator all-in-one bundle","src":"https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/macromill-fanuc-simulator-all-in-one-bundle.png?fit=1080%2C1080&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/macromill-fanuc-simulator-all-in-one-bundle.png?fit=1080%2C1080&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/macromill-fanuc-simulator-all-in-one-bundle.png?fit=1080%2C1080&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/macromill-fanuc-simulator-all-in-one-bundle.png?fit=1080%2C1080&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/macromill-fanuc-simulator-all-in-one-bundle.png?fit=1080%2C1080&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1827,"url":"https:\/\/macromillcnc.com\/2026\/11\/24\/how-to-choose-a-cnc-simulator\/","url_meta":{"origin":1836,"position":1},"title":"How to choose a CNC simulator for FANUC G-code and macro training","author":"MacroMill","date":"November 24, 2026","format":false,"excerpt":"A practical checklist for how to choose a CNC simulator for FANUC G-code and macro training, and a clear look at where MacroMill\u2019s simulators fit.","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/macromillcnc.com\/category\/tutorials\/"},"img":{"alt_text":"MacroMill VMC simulator for FANUC 0i-MF Plus style controls","src":"https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/macromill-fanuc-0i-mf-plus-vmc-simulator.png?fit=1080%2C1080&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/macromill-fanuc-0i-mf-plus-vmc-simulator.png?fit=1080%2C1080&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/macromill-fanuc-0i-mf-plus-vmc-simulator.png?fit=1080%2C1080&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/macromill-fanuc-0i-mf-plus-vmc-simulator.png?fit=1080%2C1080&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/macromill-fanuc-0i-mf-plus-vmc-simulator.png?fit=1080%2C1080&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1841,"url":"https:\/\/macromillcnc.com\/2026\/11\/26\/fanuc-macro-mistakes\/","url_meta":{"origin":1836,"position":2},"title":"Common FANUC macro mistakes that crash machines, and how to catch them first","author":"MacroMill","date":"November 26, 2026","format":false,"excerpt":"Common FANUC macro mistakes that crash machines, and how to catch them first with input checks, single block, and a test in a MacroMill simulator.","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/macromillcnc.com\/category\/tutorials\/"},"img":{"alt_text":"MacroMill VMC simulator for FANUC 0i-MF Plus style controls","src":"https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/macromill-fanuc-0i-mf-plus-vmc-simulator.png?fit=1080%2C1080&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/macromill-fanuc-0i-mf-plus-vmc-simulator.png?fit=1080%2C1080&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/macromill-fanuc-0i-mf-plus-vmc-simulator.png?fit=1080%2C1080&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/macromill-fanuc-0i-mf-plus-vmc-simulator.png?fit=1080%2C1080&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/macromill-fanuc-0i-mf-plus-vmc-simulator.png?fit=1080%2C1080&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1840,"url":"https:\/\/macromillcnc.com\/2026\/11\/26\/black-art-of-cnc-macro-programming\/","url_meta":{"origin":1836,"position":3},"title":"The black art of CNC macro programming, and what it can do for your career","author":"MacroMill","date":"November 26, 2026","format":false,"excerpt":"CNC macro programming is often called a black art. See what parametric programs do in the shop, how to practise them, and what the skill can do for your career.","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/macromillcnc.com\/category\/tutorials\/"},"img":{"alt_text":"CNC operator at a machine control, writing a program \u2014 CNC macro programming","src":"https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/cnc-macro-programming-rare-skill.jpg?fit=1200%2C1200&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/cnc-macro-programming-rare-skill.jpg?fit=1200%2C1200&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/cnc-macro-programming-rare-skill.jpg?fit=1200%2C1200&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/cnc-macro-programming-rare-skill.jpg?fit=1200%2C1200&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/cnc-macro-programming-rare-skill.jpg?fit=1200%2C1200&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1611,"url":"https:\/\/macromillcnc.com\/2026\/11\/08\/fanuc-cnc-simulators-built-in-cycles\/","url_meta":{"origin":1836,"position":4},"title":"FANUC CNC Simulators With Built-In Cycles: What MacroMill&#8217;s Simulators Solve","author":"MacroMill","date":"November 8, 2026","format":false,"excerpt":"Learn CNC without machine time, prove macros before cutting and generate code for threads, grooves, pockets and patterns. See the built-in cycles in MacroMill's FANUC-style lathe and VMC simulators.","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/macromillcnc.com\/category\/tutorials\/"},"img":{"alt_text":"MacroMill FANUC CNC simulator all-in-one bundle","src":"https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/macromill-fanuc-simulator-all-in-one-bundle.png?fit=1080%2C1080&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/macromill-fanuc-simulator-all-in-one-bundle.png?fit=1080%2C1080&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/macromill-fanuc-simulator-all-in-one-bundle.png?fit=1080%2C1080&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/macromill-fanuc-simulator-all-in-one-bundle.png?fit=1080%2C1080&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/macromill-fanuc-simulator-all-in-one-bundle.png?fit=1080%2C1080&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1880,"url":"https:\/\/macromillcnc.com\/2026\/12\/03\/fanuc-macro-while-vs-if\/","url_meta":{"origin":1836,"position":5},"title":"WHILE vs IF in FANUC macros: a lesson on repeating and deciding","author":"MacroMill","date":"December 3, 2026","format":false,"excerpt":"A FANUC macro lesson on WHILE vs IF: IF decides once, WHILE repeats. See both work together in a real MacroMill depth loop and practise them in the simulator.","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/macromillcnc.com\/category\/tutorials\/"},"img":{"alt_text":"WHILE and IF in a FANUC macro on the MacroMill simulator: O9011 shows WHILE[#154LT#110]DO2, an IF clamp and END2","src":"https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/12\/while-if-fanuc-macro-depth-loop.jpg?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/12\/while-if-fanuc-macro-depth-loop.jpg?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/12\/while-if-fanuc-macro-depth-loop.jpg?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/12\/while-if-fanuc-macro-depth-loop.jpg?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/12\/while-if-fanuc-macro-depth-loop.jpg?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/macromillcnc.com\/wp-content\/uploads\/2026\/11\/macromill-fanuc-0i-mf-plus-vmc-simulator.png?fit=1080%2C1080&ssl=1","_links":{"self":[{"href":"https:\/\/macromillcnc.com\/wp-json\/wp\/v2\/posts\/1836","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/macromillcnc.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/macromillcnc.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/macromillcnc.com\/wp-json\/wp\/v2\/users\/279632934"}],"replies":[{"embeddable":true,"href":"https:\/\/macromillcnc.com\/wp-json\/wp\/v2\/comments?post=1836"}],"version-history":[{"count":2,"href":"https:\/\/macromillcnc.com\/wp-json\/wp\/v2\/posts\/1836\/revisions"}],"predecessor-version":[{"id":1838,"href":"https:\/\/macromillcnc.com\/wp-json\/wp\/v2\/posts\/1836\/revisions\/1838"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/macromillcnc.com\/wp-json\/wp\/v2\/media\/1597"}],"wp:attachment":[{"href":"https:\/\/macromillcnc.com\/wp-json\/wp\/v2\/media?parent=1836"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/macromillcnc.com\/wp-json\/wp\/v2\/categories?post=1836"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/macromillcnc.com\/wp-json\/wp\/v2\/tags?post=1836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}