CHECKLISTCommon 5-axis mistakes

A 5-axis machine can move in ways a 3-axis machine cannot. Check the points listed here before running a program for the first time. Checking only marks items; nothing is saved anywhere.

Singularities in detail — which orientation, and why the C axis swings

C axis lineTool axisCBB=0° (tool straight down)= singularityThe tool axis and the C axis lineline up in a straight lineHowever much C is turned,the tool direction does not change→ the C angle is undeterminedTool direction seen from abovePath of the tool directionStraight down (singularity)Dashed circle: cone inside which C is held (half angle 0.5°–1°)Red line = C angle. While passing by,the direction changes by almost 180°The closer the pass, the faster C turnsAt 1° away: 57 times; at 0.1°: 573 timesThe singular orientation depends on the machine configuration(some machines have it at B=90°, etc.)

Real example: axis motion when passing a singularity

A axisC axis
0.827°−0.075°
−0.001°−90°
1.043°−179.72°

How fast does it turn?

For the angle from the singularity and the C axis speed, see 5-axis calculations (singularities).

How to avoid it

Shop tip: when finishing a flat face, don't use simultaneous 5-axis with the tool pointing straight down. Use 3+2 indexing, or tilt the tool slightly to keep away from the singularity.

Details

Frequently Asked Questions

What is a singularity in 5-axis machining?
It is an orientation in which the tool axis is parallel (or nearly parallel) to a rotary axis. That axis's angle becomes undefined, and passing nearby makes the C axis try to swing about 180° at once. On a machine with B and C in the head, B=0° with the tool pointing straight down is a singularity.
How can I stop the C axis from spinning suddenly near a singularity?
Do not finish flat faces in simultaneous 5-axis with the tool pointing straight down; use 3+2 or tilt the tool slightly. Another method is to define a cone with a half-angle of 0.5° or 1° around the singularity in the CAM or post, inside which C is not moved.
Why do 5-axis programs use G93 (inverse time feed)?
Moving rotary axes in G94 is interpreted differently by different CNCs—the feed may become degrees per minute or apply only to the XYZ path. So 4- and 5-axis programs from CAM often use G93, and then every cutting block needs an F word.
How much mismatch does a wrong tool length cause in 5-axis machining?
If the registered tool length is off by ΔL, tilting the tool by θ creates a mismatch of 2ΔL·sin(θ/2) with the surface cut with the tool pointing straight down (about 10 µm for ΔL = 20 µm and θ = 30°). When you change tools, re-enter the tool length measured from the gauge line.

Other 5-axis machining pages

Sources

  1. DR. JOHANNES HEIDENHAIN GmbH, “TNC 640 User's Manual Programming of Measuring Cycles for Workpieces and Tools, NC Software 34059x-18, 10/2023 (1303409-23)”
  2. Siemens AG, “Milling with SINUMERIK — 5-axis machining Manual, Edition 05/2009 (DocOrderNo. 6FC5095-0AB10-0BP1)”
  3. Okuma America Corporation (Okuma), “MU-V Series 5-Axis Vertical Machining Centers catalog”
  4. FANUC Corporation, “FANUC Series 30i/31i/32i-MODEL B Plus catalog (English edition FS30i-BPlus(E)-01)”
  5. Yamazaki Mazak Corporation, “5-axis machine VORTEX i-V product information”
  6. Renishaw plc, "Brochure: AxiSet Check-Up — Fully automated tests for accurate and consistent results"
  7. DMG MORI (US site), “DMU 65 (FD) monoBLOCK 2nd Generation product page (description of 3D quickSET)”
  8. Japan Society for Precision Engineering (S. Ibaraki), “Measurement and Compensation of Motion Errors of Five-Axis Machine Tools (review)”, Journal of the Japan Society for Precision Engineering 78(9) (2012) (in Japanese)
  9. Fuji Technology Press (S. Ibaraki, Y. Ota), “Error Calibration for Five-Axis Machine Tools by On-the-Machine Measurement Using a Touch-Trigger Probe, Int. J. of Automation Technology 8(1) (2014)”
  10. Elsevier (S. Ibaraki et al., Hiroshima University repository), “A machining test to evaluate thermal influence on the kinematics of a five-axis machine tool, Int. J. Machine Tools and Manufacture 163, 103702 (2021)”
  11. Fuji Technology Press (S. Ibaraki, W. Knapp), “Indirect Measurement of Volumetric Accuracy for Three-Axis and Five-Axis Machine Tools: A Review, Int. J. of Automation Technology 6(2) (2012) (abstract)”
  12. Google Patents (applicant FANUC), “US8283884B2 Numerical controller controlling five-axis machining tool”
  13. Japanese Standards Association (JSA), “JIS B 6336-6:2018 Test conditions for machining centres — Part 6: Accuracy of feeds, speeds and interpolations (ISO 10791-6:2014), preview”
  14. Renishaw plc, "Application note: ISO 10791-6 using QC20 ballbar"
  15. Japan Society for Precision Engineering (Y. Ihara, M. Tsutsumi, T. Eguchi, S. Ibaraki), “A Study of Measurement and Compensation Techniques for Volumetric Accuracy of 5-Axis Machine Tools”, Journal of the Japan Society for Precision Engineering 85(10) pp.809-812 (2019) (in Japanese)
  16. Japanese Standards Association (JSA), “JIS B 6336-7:2018 Test conditions for machining centres — Part 7: Accuracy of a finished test piece (ISO 10791-7:2014), preview”
  17. Hiroshima University, Ibaraki Laboratory, “Research introduction: Machining tests for diagnosing the causes of errors in five-axis machine tools”
  18. Osaka Institute of Technology, Faculty of Engineering, Department of Mechanical Engineering, Precision Engineering Laboratory (Yukitoshi Ihara Laboratory), “A Study of Machining Accuracy Test Methods for 5-Axis Machining Centers (research introduction poster)”
  19. Fuji Technology Press (author: Masako Sudo, FANUC Corporation), “Development Report: Advanced Control Technologies for 5-Axis Machining, Int. J. of Automation Technology Vol.1 No.2, pp.108-112, 2007 (DOI 10.20965/ijat.2007.p0108, CC BY-ND 4.0)”
  20. FANUC America Corporation, “5-Axis Machining — CNC systems for high-performance machine tools (MBA-025-EN_03_1308, 2013)”
  21. Mitsubishi Electric Corporation, Naoki Nakamura, “Improved usability of indexed machining on the ‘MITSUBISHI CNC M700V Series’,” Mitsubishi Denki Giho Vol.85 No.4 (2011)
  22. DR. JOHANNES HEIDENHAIN GmbH, “TNC 640 User's Manual Conversational Programming, NC Software 340590-01 / 340591-01 / 340594-01, 4/2012 (892903-20)”
  23. Haas Automation, Inc., “G254 Dynamic Work Offset (DWO) (G-code reference page)”
  24. Kitagawa, “V75V 5-axis centering vise (product list page)”
  25. LANG Technik GmbH, “41111: Makro•Grip Stamping Jaws (product page)”
  26. Yamazaki Mazak Corporation, “5-axis machine VARIAXIS C product information”
  27. Hokkaido University, Makoto Yamada, “A Study on Spindle-Tilting Machining with a 5-Axis NC Machine Tool,” abstract of doctoral dissertation (Engineering) (2006)
  28. Kanagawa Institute of Industrial Science and Technology (KISTEC), Tomohiro Yokota, “A Study of Machined Surface Quality in Ball End Milling,” KISTEC Research Report 2020
  29. Union Tool Co., “UT End Mill Newsletter, April 2022 vol.12 ‘My Focus: Barrel Tools (1)’”
  30. Google Patents (applicant FANUC), “US11003157B2 Numerical controller for machine tool with installation error compensation unit”
  31. ICAM Technologies, “How to eliminate unnecessary rotary moves due to singularity (2014)”
  32. Haas Automation, Inc., “G93 Inverse Time Feed Mode (G-code reference page)”
  33. National Institute of Standards and Technology (NIST), “The NIST RS274NGC Interpreter – Version 3 (NISTIR 6556, 2000)”
  34. Haas Automation, Inc., “G234 Tool Center Point Control (TCPC) (G-code reference page)”
  35. FIDIA S.p.A., “Functions for 5-axis machine tools (RTCP)”
  36. Haas Automation, Inc., “G268 / G269 Feature Coordinate System (G-code reference page)”
  37. University of Birmingham (Z. Jiang), “Characterising Geometric Errors in Rotary Axes of 5-axis Machine Tools (PhD thesis, 2015)”
  38. MDPI, “Trajectory-Based Identification of Rotary-Axis Position-Independent Geometric Errors Considering Excitation Projection Effects, Micromachines 17(2) 256 (2026)”
  39. Japan Society for Precision Engineering (S. Ibaraki et al.), “Measurement and Compensation of Motion Errors of Five-Axis Machine Tools Using an R-test (Report 1)”, Proceedings of the 2009 JSPE Autumn Meeting (in Japanese)
  40. Japanese Standards Association (JSA), “JIS B 6190-1:2016 Test code for machine tools — Part 1: Geometric accuracy of machines operating under no-load or quasi-static conditions (ISO 230-1:2012), preview”
  41. Chinese Standard (standards sales site), “GB/T 39953-2021 Five-axis simultaneous machining centers — RTCP accuracy inspection (overview and table of contents)”
  42. Japan Society for Precision Engineering (S. Ibaraki et al.), “Measurement and Compensation of Motion Errors of Five-Axis Machine Tools Using an R-test (Report 2)”, Proceedings of the 2009 JSPE Autumn Meeting (in Japanese)
  43. Hiroshima University, Ibaraki Laboratory, “Research introduction: R-test”
  44. Elsevier (S. Ibaraki, C. Hong et al., Kyoto University repository), “Non-contact R-test with laser displacement sensors for error calibration of five-axis machine tools, Precision Engineering (2013)”
  45. Hiroshima University, Ibaraki Laboratory, “Research introduction: Ballbar measurement (DBB5)”
  46. Japanese Standards Association (JSA), “JIS B 6190-7:2019 Test code for machine tools — Part 7: Geometric accuracy of axes of rotation (ISO 230-7:2015), preview”
  47. Singapore Standards eShop, “ISO/TR 16907:2015 Machine tools — Numerical compensation of geometric errors (abstract)”
  48. HAL (archives ouvertes), “Kinematical smoothing of rotary axis near singularity point”
  49. University of Bath (R.J. Cripps et al.), “Singularities in five-axis machining: cause, effect and avoidance, Int. J. Machine Tools and Manufacture 116 (2017) (abstract)”
  50. BazTech (bibliographic record of the cited paper), “Bibliographic record of A. Affouard et al., ‘Avoiding 5-axis singularities using tool path deformation’, Int. J. Machine Tools and Manufacture 44(4) (2004)”
  51. Google Patents, “JP2011003176A Numerical control device for 5-axis machine tool”