The RTCP Function of Five Axes, From Principle to Shop Floor
RTCP keeps the tool tip on the programmed path while the rotary axes move. This page explains the kinematics, the setup values that decide whether it works, and the part shapes where it earns its keep. Written for programmers, setup engineers and buyers who have to judge a five-axis quote.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
Key takeaways
What the RTCP function of five axes actually corrects
A five-axis machine has three linear axes and two rotary axes. The rotary axes carry the workpiece or the spindle. When either one turns, the tool tip drifts away from the point the CAM system wrote. Without correction, the tip swings along an arc, and the part comes out with a gouge or a step where the surface should be smooth.
RTCP, short for Rotation Tool Center Point, makes the control hold the tip on the programmed point while the rotary axes move. The controller solves the forward kinematics for the current A, B or C angle, then offsets X, Y and Z by the amount the tip would otherwise shift. That offset is recalculated every interpolation cycle, not once per block.
The effect is easiest to see on a table-table machine. Spin the C table 90° with RTCP off and the tool tip sweeps a curve through the part. Turn RTCP on and the tip stays at the commanded point. The rotary axes still move. Only the linear axes pick up the difference.
This is why the function is often called the center point function rather than a compensation option. It does not correct tool wear or thermal drift. It corrects the geometry that the rotary axes introduce by design.
- 1Forward kinematicsThe control computes where the tip is, given the current axis positions.
- 2Inverse offsetIt then moves X, Y, Z so the tip returns to the programmed point.
- 3Per-cycle updateThe offset is refreshed at the interpolation rate, not per G-code block.
Which five-axis layout needs which RTCP variant
Not every five-axis machine uses the same correction. The layout decides what the control has to solve. A head-head machine tilts the spindle, so the pivot point sits inside the spindle head. A table-table machine tilts the workpiece, so the pivot point sits in the rotary table. A mixed layout has one rotary axis on the spindle and one on the table.
On a head-head machine the tool tip moves when the head tilts. RTCP offsets X, Y, Z to hold the tip at the programmed point. The rotary center is a fixed machine constant that you measure once with a dial indicator or a test bar. If that number is wrong, every tilted cut is wrong by the same amount.
On a table-table machine the workpiece rotates, so the tool tip appears to move relative to the part. Here the control has to work in two frames at once: the machine frame and the part frame. The pivot distance from the table face to the intersection of the two rotary axes is the critical value. Measure it with a gauge block stack or a ball bar, then store it in the machine parameters.
Mixed layouts are the most sensitive. The spindle-side rotary axis and the table-side rotary axis each carry their own offset. Both must be correct before RTCP can do anything useful. A 0.02 mm error in either offset shows up as a taper on a tilting cut.
- 1Head-headPivot inside the spindle head. One rotary center to measure.
- 2Table-tablePivot inside the rotary table. Pivot distance is critical.
- 3MixedTwo offsets, one on each side. Both must be correct.
The numbers that decide whether RTCP holds tolerance
RTCP only works as well as the data you feed it. Three values matter most: the tool gauge length, the pivot distance, and the rotary center offsets. Each one is a measured value, not a nominal one. A printed tool length from the holder catalog is a starting point, not an answer.
The gauge length is the distance from the spindle gauge line to the tool tip. Measure it on a presetter or with a tool setter on the machine. A 0.05 mm error in gauge length becomes roughly a 0.05 mm error at the tip on a tilted cut, and more when the tilt angle is large. On a 45° tilt the error projects directly into the surface.
The pivot distance is the distance from the rotary axis intersection to the mounting face. On a trunnion table it is often given by the builder, but it changes if the table is rebuilt or if a riser is added. Re-measure after any mechanical work. Store it with at least three decimal places.
Rotary center offsets are the X, Y and Z positions of the rotary axis intersection in machine coordinates. Find them with a dial indicator swept around the axis, or with a ball bar on a circular test. Write them into the work offset or the machine parameter, depending on the control. Do not carry them over from a different machine.
- 1Gauge lengthSpindle gauge line to tool tip. Measure on a presetter.
- 2Pivot distanceRotary intersection to mounting face. Re-check after rebuilds.
- 3Rotary offsetsAxis intersection in machine coordinates. Sweep with an indicator.
Turning RTCP on: G43.4, TCPM and what follows
Fanuc controls use G43.4 for tool center point control, with G49 to cancel it. Some builders map it to M-code pairs instead. Siemens uses TRAORI, and Heidenhain uses TCPM or M128 depending on the generation. The name changes, the job does not. You enable the function, hand it the tool data, and it holds the tip.
The order matters. Call the tool length offset first, then the RTCP activation, then the rotary moves. Cancelling RTCP before the rotary axes return to zero leaves the tip in the wrong place for the next block. On most controls the safe sequence is: retract Z, cancel RTCP, index the rotary axes, re-enable RTCP if needed.
Feed rate behaves differently once RTCP is on. The control now moves linear axes to compensate for rotary motion, so the programmed feed is applied to the tip, not to each axis. That is usually what you want. It also means a large rotary move at a high feed can demand axis speeds the machine cannot reach. Watch the axis load meters on the first run.
Look-ahead matters too. Controls with a five-axis look-ahead buffer can pre-read the rotary motion and smooth the linear compensation. Without it, tight corners on a tilting cut show faceting. Check the block processing time and the look-ahead depth in the machine parameters before blaming the CAM output.
- 1FanucG43.4 on, G49 off. Tool offset first.
- 2SiemensTRAORI, with the tool data in the active frame.
- 3HeidenhainTCPM or M128, depending on control generation.
Where RTCP stops helping
RTCP corrects the geometry of the rotary axes. It cannot correct the machine. If the A axis is not square to the Z axis, the error appears in the part whether RTCP is on or off. The function assumes a rigid, aligned machine. On a worn machine it simply moves the error to a different place.
Backlash is the classic case. RTCP commands small linear moves to compensate for rotary motion. If the linear axis has 0.01 mm of backlash, those small moves are partly lost. The result is a surface that looks fine in one direction and rough in the other. Check backlash before you tune RTCP parameters.
Thermal growth is the other limit. The spindle grows as it warms, so the gauge length changes during a long cycle. RTCP uses the gauge length you entered. If the machine has no thermal compensation, a long roughing cycle followed by a finishing pass can drift outside ±0.005 mm even with RTCP active.
Tool deflection is a third one. RTCP keeps the tip on the path, but if the tool bends under load, the cutting edge is not where the tip is. On thin ribs and deep pockets, keep the radial depth of cut modest and the tool as short as the geometry allows. RTCP cannot see deflection.
- 1SquarenessAxis alignment errors pass straight through RTCP.
- 2BacklashSmall compensation moves get lost in the lash.
- 3Thermal driftGauge length changes as the spindle warms up.
- 4DeflectionThe cutting edge moves even when the tip is correct.
How to prove RTCP is working before you cut the part
Run a circular test. Mount a ball bar between the spindle and the table, command a circular path with the rotary axes tilting through the motion, and read the roundness and squareness values. A healthy machine holds the circle within a few micrometres. A large lobing pattern points at a wrong pivot distance or a bad rotary offset.
Cut an air pass first. With the part offset well clear, run the full program and watch the tip position on the control display. The commanded tip point and the actual tip point should track within the machine's stated accuracy. If they diverge during rotary moves, the setup values are wrong.
Then cut a test block. A simple 100 mm × 100 mm block with a 45° face and a contoured pocket shows most RTCP problems. Measure the face with a height gauge and the pocket with a CMM. Compare the measured profile to the CAD nominal. A constant offset means a setup value is wrong. A varying offset means a mechanical problem.
Keep a record. Note the gauge length, pivot distance and rotary offsets for each machine, plus the date they were measured. When a job drifts, you can check whether the data changed or the machine did. That record saves more time than any parameter tweak.
- 1Ball bar testCircular path with rotary motion. Read roundness and squareness.
- 2Air passWatch commanded vs actual tip position on the display.
- 3Test block45° face plus contoured pocket. Measure on a CMM.
- 4Setup logRecord the three key values and their measurement dates.
RTCP on vs RTCP off: what changes on the floor
Conditions assume a well-aligned machine with measured setup values.
| Item | RTCP off | RTCP on |
|---|---|---|
| Tool tip path on tilts | Sweeps an arc | Stays on programmed point |
| Tool length handling | Manual trig in CAM | Entered as a control value |
| Typical surface error | 0.05–0.5 mm on tilted cuts | Within machine accuracy |
| Setup time per job | Longer, offset hand-calculated | Shorter, data reused |
| Short tool use | Limited by reach | Reach not tied to offset |
| Best fit | Simple 3+2 indexing | Continuous 5-axis contouring |
| Control codes | G49 active | G43.4 or TCPM active |
| Error visibility | Hidden in CAM output | Shows on control display |
The judgment call
If your part is indexed into position and cut with three axes, leave RTCP off and keep the setup simple. If the rotary axes move while the tool is in the cut, turn it on and measure the pivot data first. RTCP does not make a worn machine accurate, but on an aligned machine it is the difference between a blended surface and a visible step.
Common questions
Does RTCP change the CAM output?
No. The CAM system still posts the tool tip path in the part frame. RTCP is a control-side function that keeps the tip on that path while the rotary axes move.
You do need to give the control the correct tool length and pivot data. If you post a tool length that does not match the physical tool, RTCP will hold the wrong point.
Can I use RTCP with a 3+2 setup?
Yes, but the benefit is small. In a 3+2 setup the rotary axes index to position and then stop. There is no rotary motion during the cut, so there is nothing for RTCP to correct.
Some shops still enable it for safety, so a mistaken rotary move does not crash the tool into the part. That is a reasonable habit.
Why does my surface show a step at a rotary move?
The most common cause is a wrong pivot distance or rotary offset. The control compensates by the wrong amount, so the tip lands off the path at the moment the rotary axis moves.
Backlash is the second cause. Small compensation moves get absorbed by lash in the linear axis. Check the ball bar result before changing RTCP parameters.
How often should the pivot data be re-measured?
After any mechanical work on the rotary axes, after a crash, and at least once a year on a machine that runs hard. A rebuild or a riser change invalidates the old value.
If the machine holds tolerance on a ball bar test, the data is probably still good. If roundness drifts, re-measure before you touch anything else.
Does RTCP help with tool wear?
No. Tool wear changes the cutting edge, not the tip position. RTCP holds the tip on the path regardless of wear.
For wear control you need in-process measurement or a tool life management routine in the control. Those are separate functions from RTCP.
What tolerance can a five-axis machine hold with RTCP?
That depends on the machine, the setup and the part. At GreatLight we work to ±0.005 mm on five-axis work where the geometry allows it, with finishes down to Ra 0.2–0.8 μm on request.
Every part is inspected before shipment, and reports are available on request. The RTCP settings are part of the setup record for each job.
Send us the five-axis part you are struggling with
Upload a STEP file and we will review the geometry, the rotary motion and the setup values it needs. Quotation and free DFM analysis within 12 hours.
12-hour quoteNo minimum order quantity100% inspection before shipmentNDA on request