CALIBRATION & SETUPCalibration, collision, workholding and tools
Unless the NC knows exactly where the rotary axis centers are, a 5-axis machine's shapes will be off when the rotary axes move. This covers how to calibrate, how to verify accuracy, checks to avoid crashes, and workholding and tool selection specific to 5-axis.
◎Kinematics calibration (measuring the center of rotation)
- Why it's neededOne cause of error in multi-axis machining is the offset between the kinematics held by the NC (a model of the positions and orientations of the rotary axes) and the real machine. When the rotary axes move, this offset becomes error in the part, so the model must be brought closer to the real machine. The rotary axis vectors change with temperature and so on, so periodic checks are needed.[1][2][3]
- How it's doneMount a rigid reference sphere (calibration sphere) on the table and, with a calibrated touch probe, measure the sphere center with the rotary axes turned to several angles. From the measured values, calculate the center position and orientation of the rotary axes and rewrite the NC's machine configuration parameters (kinematics table).[2][1][4][3][5][6]
Example procedure
- Calibrate the touch probe (a prerequisite for kinematics measurement)[1]
- Fix a rigid reference sphere of accurately known radius on the table (any position, as long as nothing collides when the rotary axes turn)[1][2]
- Before measuring, save the current kinematics (so you can restore it if the result is bad or after a power failure)[1]
- Measure the sphere at 3 or more angles for each rotary axis. Siemens CYCLE996 measures 3 times per axis, at angles about 120° apart (ideally forming an equilateral triangle)[2]
- After measuring all rotary axes, calculate and write the correction values (you can choose measure only or measure and rewrite)[2][1]
- Changing the kinematics also changes the presets (workpiece origins). Reset the presets after correcting[1]
Each maker's calibration functions
| Maker | Function |
|---|---|
| Siemens | CYCLE996 (kinematics measuring cycle)[2] |
| Heidenhain | KinematicsOpt (option 48): Cycle 450 save and restore, 451 measure and optimize kinematics, 452 preset compensation, 453 kinematics grid[1] |
| FANUC | Rotary axis center position measuring cycle for 5-axis machines[4] |
| Okuma | 5-axis auto-tuning system (up to 11 geometric errors)[3] |
| Yamazaki Mazak | MAZACHECK (5-axis high-accuracy tuning function)[5] |
| DMG MORI | 3D quickSET[7] |
| Renishaw | AxiSet Check-Up: measures around a single-sphere calibration artifact and, where possible, automatically corrects the pivot (center of rotation) parameters of the rotary axes. Pass/fail judgment of the result and history management[6] |
- Example prerequisitesConditions for using KinematicsOpt: the touch probe is calibrated, the tool axis is Z, the kinematics description is complete with dimensions entered to about 1 mm accuracy, and the geometry of the whole machine has been measured by the machine maker. Coordinate transformations (datum shift, mirror, rotation, scaling) must be turned off (collision risk).One source / reference[1]
≡Accuracy test standards and the ballbar
- JIS B 6336-6:2018 (ISO 10791-6:2014) Test conditions for machining centres — Part 6: Accuracy of feeds, speeds and interpolationsAccuracy tests of spindle speed and feed rate, and of interpolated paths made by simultaneous control of two or more linear and rotary axes. Applies to machines with three orthogonal axes plus one or two rotary axes (A, B, C). The annexes specify the motion tests for 5-axis machines for each configuration (two axes on the spindle head side = Annex A, two on the table side = Annex B, one each on the spindle head and table sides = Annex C).[8][9]
- 5-axis interpolation test with a ballbarWith tool center point control enabled, move the rotary and linear axes simultaneously and use the ballbar to measure whether the distance between the tool tip and the workpiece stays constant. Most ISO 10791-6 tests can be done with a ballbar. Enter the tool length accurately as ‘from the gauge line to the center of the setting ball.’ The first time, run the program without the ballbar attached to check it.One source / reference[9]
- JIS B 6336-7:2018 (ISO 10791-7:2014) Part 7: Accuracy of a finished test pieceEvaluates machining accuracy by cutting a standard test piece under finishing conditions. Covers 3- to 5-axis machining centers.One source / reference[10]
- Example test piece at a university (square frustum)In research at Osaka Institute of Technology, a test piece from the then-proposed ISO/CD 10791-7 (a square frustum cut with simultaneous 5-axis linear motion) was machined using tool center point control, tool orientation control and workpiece setup error compensation, and evaluated by straightness, squareness and parallelism of the slopes. They identified abrupt feed changes and ‘a setting error in the C-axis center of rotation coordinates’ as error sources, and the result improved after resetting the center of rotation and lowering the feed.One source / reference[11]
- Related standards (names only)JIS B 6336 is organized in parts from Part 1 (geometric accuracy of machines with horizontal spindle) to Part 10 (thermal distortion tests). Part 4 covers positioning accuracy of linear and rotary axes. It cites JIS B 6190-1 (corresponding to ISO 230-1:2012), the general rules for machine tool test methods.[8][10]
!Collision checking and simulation
- 5-axis machines and multitasking machines have complex motion, and there is a risk of the spindle and table colliding not only in automatic operation but also during manual operation. There are two methods: constant checking with a simplified model in the NC (boxes, cylinders, planes), and checking ahead of time by running a 3D model close to the real shape on a PC.One source / reference[12][13]
- Within the CAM workflow, run toolpath simulation and collision checking before outputting NC code with the post-processor. The post-processor normally outputs the path of the tool tip (TCP).One source / reference[2]
- There is also a way to verify the program before the real machine with a virtual machine (Siemens VNCK) that runs the control software the same as the real machine.One source / reference[2]
- Even with 3+2 indexing the tool and workpiece may collide, so there are times you want to index while watching with manual feed (handle).One source / reference[14]
For CAM-side checks, see the CAD/CAM page.
⊓Holding the workpiece (5-axis vises)
- Grips the bottom of the stock with a minimum gripping depth of 3.5 mm for 5-face machining. The low-profile body gives the tool easy access.One source / reference[17]
- Stamps the jaw shape into the stock in advance under high pressure (stamping) and holds it by form fit (positive locking). Gripping depth is 3 mm. Standard stamping jaws are for materials up to 35 HRC.One source / reference[18]
- Kitagawa describes the V75V as a 5-axis centering vise with repeatability of ±0.01 mm that can do roughing and finishing on one vise.One source / reference[17]
⌀Choosing tools
- When you tilt a ball end mill, use an angle at which the tool center does not take part in cutting. Tilting and cutting with the center still digging in left marks (KISTEC experiment). The boundary angle is θ = arccos(1 − ap/R).One source / reference[21]
- Barrel tool: a tool whose profile is barrel-like when rotated. In addition to the tip radius, several radius edges run along the periphery and back end, the peripheral edge in particular having a large radius. The large radius edge on the side allows high-efficiency cutting in 5-axis machining, tilting spindles and indexed machining.One source / reference[22]
For the tilt angle calculation, use5-axis calculations. For ball end mill speed and feed, use theBall end mill calculator.
Other 5-axis machining pages
5-axis machining basics
The difference between 3+2 and simultaneous 5-axis machining, the advantages of 5 axes, and terminology.
⟲5-axis machine configurations
The three types (head-head, table-table, head-table) with their advantages and drawbacks, the names and directions of rotary axes A, B, C, vertical vs. horizontal machines, and multitasking machines.
G5-axis NC functions
Tool center point control, tilted working plane commands, and 3D tool radius compensation. A comparison of commands by NC maker, G93 inverse time feed, tool length and the center of rotation.
!Common 5-axis mistakes
Singularities, the two solutions of a rotary axis and the long way around, feed units, forgotten tool length, and forgetting to cancel a tilted plane. A checklist to verify on the shop floor.
÷5-axis calculations
F value for G93 inverse time feed, ball end mill tilt angle, angles from a direction vector, and the shortest way for a rotary axis to turn.
⌗CAD/CAM
CAM workflow, toolpaths, a list of software, and data formats.
📚Sources
The function names and descriptions of each maker are key points from public documents. Availability depends on the model and options.
- 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)”
- Siemens AG, “Milling with SINUMERIK — 5-axis machining Manual, Edition 05/2009 (DocOrderNo. 6FC5095-0AB10-0BP1)”
- Okuma America Corporation (Okuma), “MU-V Series 5-Axis Vertical Machining Centers catalog”
- FANUC Corporation, “FANUC Series 30i/31i/32i-MODEL B Plus catalog (English edition FS30i-BPlus(E)-01)”
- Yamazaki Mazak Corporation, “5-axis machine VORTEX i-V product information”
- Renishaw plc「Brochure: AxiSet Check-Up — Fully automated tests for accurate and consistent results」
- DMG MORI (US site), “DMU 65 (FD) monoBLOCK 2nd Generation product page (description of 3D quickSET)”
- 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”
- Renishaw plc「Application note: ISO 10791-6 using QC20 ballbar」
- 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”
- 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)”
- 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)”
- FANUC America Corporation, “5-Axis Machining — CNC systems for high-performance machine tools (MBA-025-EN_03_1308, 2013)”
- Mitsubishi Electric Corporation, Naoki Nakamura, “Improved usability of indexed machining on the ‘MITSUBISHI CNC M700V Series’,” Mitsubishi Denki Giho Vol.85 No.4 (2011)
- DR. JOHANNES HEIDENHAIN GmbH, “TNC 640 User's Manual Conversational Programming, NC Software 340590-01 / 340591-01 / 340594-01, 4/2012 (892903-20)”
- Haas Automation, Inc., “G254 Dynamic Work Offset (DWO) (G-code reference page)”
- Kitagawa, “V75V 5-axis centering vise (product list page)”
- LANG Technik GmbH, “41111: Makro•Grip Stamping Jaws (product page)”
- Yamazaki Mazak Corporation, “5-axis machine VARIAXIS C product information”
- Hokkaido University, Makoto Yamada, “A Study on Spindle-Tilting Machining with a 5-Axis NC Machine Tool,” abstract of doctoral dissertation (Engineering) (2006)
- Kanagawa Institute of Industrial Science and Technology (KISTEC), Tomohiro Yokota, “A Study of Machined Surface Quality in Ball End Milling,” KISTEC Research Report 2020
- Union Tool Co., “UT End Mill Newsletter, April 2022 vol.12 ‘My Focus: Barrel Tools (1)’”
- Haas Automation, Inc., “G93 Inverse Time Feed Mode (G-code reference page)”
- National Institute of Standards and Technology (NIST), “The NIST RS274NGC Interpreter – Version 3 (NISTIR 6556, 2000)”
- Haas Automation, Inc., “G234 Tool Center Point Control (TCPC) (G-code reference page)”
- Haas Automation, Inc., “G268 / G269 Feature Coordinate System (G-code reference page)”