iTNC 530 Touch-Probe Cycles
On a Fanuc/Haas machine, probing means a vendor macro pack (G65 P9810…) loaded into macro memory. On a Heidenhain iTNC 530 the probing cycles are part of the control: press the TOUCH PROBE key, pick a cycle from soft keys, and fill in a prompted dialog with a help graphic. Results land in fixed Q parameters (Q150–Q160 actuals, Q161–Q167 deviations) and can write the preset table or a datum table directly. This article covers the iTNC 530 generation only — the 4xx-numbered cycle set. The 14xx probing cycles found on newer TNC controls do not exist on this control.
How TNC Probing Differs from G65 Macro Packs
Cycles above 400 take Q parameters as transfer parameters with stable meanings across cycles — Q260 is always the clearance height, Q261 the measuring height, Q320 the set-up clearance. A cycle definition looks like this and is DEF-active: it runs as soon as the block executes, with no separate CYCL CALL:
5 TCH PROBE 410 DATUM INSIDE RECTAN.
Q321=+50 ;CENTER IN 1ST AXIS
Q322=+50 ;CENTER IN 2ND AXIS
Q323=60 ;1ST SIDE LENGTH
Q324=20 ;2ND SIDE LENGTH
Q261=-5 ;MEASURING HEIGHT
Q320=0 ;SET-UP CLEARANCE
Q260=+20 ;CLEARANCE HEIGHT
Q301=0 ;MOVE TO CLEARANCE
Q305=10 ;NO. IN TABLE
Q303=+1 ;MEAS. VALUE TRANSFER
...
Global probing behavior lives in machine parameters instead of macro variables:
| MP | Controls |
|---|---|
MP6120 / MP6150 / MP6151 | Probing feed rate / pre-positioning feed / whether pre-positioning uses rapid |
MP6130 | Maximum traverse to touch point — no trigger within this distance = error message |
MP6140 | Safety clearance added to every calculated touch point (cycle parameter Q320 is added on top) |
MP6165 / MP6166 | Orient infrared probe to probing direction / respect basic rotation in Manual mode (recalibrate after changing MP6165) |
MP6170 / MP6171 | Multiple measurements per point (up to 3) / confidence interval between them |
Positioning logic for the 4xx cycles: if the stylus south pole is below the cycle’s clearance height, the TNC retracts in the probe axis first, then moves in the plane; otherwise plane first, then straight down to measuring height. Program a TOOL CALL before the cycle definition — that is how the TNC knows the touch-probe axis. Tool data must be active from calibration or the last TOOL CALL (MP7411 selects which).
Manual Probing Functions
In Manual Operation / El. Handwheel mode the TOUCH PROBE soft key opens the setup family: calibrate effective length, calibrate effective radius, basic rotation from a line (PROBING ROT), datum in any axis, corner as preset, circle center as preset, centerline as preset, plus basic rotation / preset from two or more holes or studs. Every manual function can hand its result off three ways: ENTER IN DATUM TABLE (workpiece coordinates), ENTER IN PRESET TABLE (REF/machine coordinates, file PRESET.PR), or the PRINT soft key, which appends the measured values to the ASCII file %TCHPRNT.A in TNC:\. Mind the manual’s collision warning: with an active datum shift, the probed value is referenced to the active datum even though the shift shows in the position display.
Raw Measuring Cycles — TCH PROBE 0, 1, 3
These are the building blocks OEM packs are made of — single touches with the result in a Q parameter of your choice. All three leave stylus length and ball radius uncompensated, and Cycles 0/1 additionally store the trigger position in Q115–Q119:
| Cycle | What it does | Example blocks (from the manual) |
|---|---|---|
TCH PROBE 0 REF. PLANE (DIN/ISO G55) | One paraxial touch; saves the measured coordinate in the Q parameter you name | 67 TCH PROBE 0.0 REF. PLANE Q5 X-68 TCH PROBE 0.1 X+5 Y+0 Z-5 |
TCH PROBE 1 POLAR REFERENCE PLANE | One touch at any polar angle (moves two axes simultaneously); probing axis defines the plane | 67 TCH PROBE 1.0 POLAR REFERENCE PLANE68 TCH PROBE 1.1 X ANGLE: +3069 TCH PROBE 1.2 X+5 Y+0 Z-5 |
TCH PROBE 3 MEASURING | OEM-cycle workhorse: direct measuring range, feed rate F, retraction MB, ACT/REF system choice; writes X/Y/Z to three successive Q parameters, and a 4th status parameter (−1 = no valid touch, 2.0 = stylus already deflected with ERRORMODE 1). MP6130/MP6120 do not apply here | 4 TCH PROBE 3.0 MEASURING5 TCH PROBE 3.1 Q16 TCH PROBE 3.2 X ANGLE: +157 TCH PROBE 3.3 DIST +10 F100 MB1 REFERENCE SYSTEM:08 TCH PROBE 3.4 ERRORMODE1 |
Cycle 4 MEASURING IN 3-D (FCL 3) probes along an I/J/K vector the same way but is flagged as an auxiliary cycle for external software.
Calibration — Cycles 2, 9, 460
| Cycle | Calibrates | Notes |
|---|---|---|
TCH PROBE 2 CALIBRATE TS | Effective ball radius, in a ring gauge or on a stud | Ring/stud center must be pre-set in MP6180.x (REF coordinates); probes X+, Y+, X−, Y− |
TCH PROBE 9 CALIBRATE TS LENGTH | Effective length at a point you supply | Choose ACT or REF reference system in the block |
TCH PROBE 460 CALIBRATE TS (DIN/ISO G460) | Radius, or radius + length, on an exact calibration sphere | Pre-position roughly over the sphere; 3- or 4-point plane measurement (Q423); Q433=1 adds length calibration against sphere-center datum Q434 |
5 TCH PROBE 2.0 CALIBRATE TS
6 TCH PROBE 2.1 HEIGHT: +50 R +25.003 DIRECTION: 0 ; 0=inside, 1=outside
5 TCH PROBE 460 CALIBRATE TS
Q407=12.5 ;SPHERE RADIUS
Q320=0 ;SET-UP CLEARANCE
Q301=1 ;MOVE TO CLEARANCE
Q423=4 ;NO. OF PROBE POINTS
Q380=+0 ;REFERENCE ANGLE
Q433=0 ;CALIBRATE LENGTH
Q434=-2.5 ;DATUM
Manual-mode calibration (soft keys CAL. L / CAL. R) does the same job during setup and can manage multiple calibration data blocks per probe.
The Workpiece Cycle Set — Master Table
| Cycle | DIN/ISO | Purpose |
|---|---|---|
| Misalignment (basic rotation) — 40x | ||
400 BASIC ROTATION | G400 | Two points on a straight surface → compensate via basic rotation |
401 ROT OF 2 HOLES / 402 ROT OF 2 STUDS | G401/G402 | Angle through two hole/stud centers → basic rotation (Q307 offsets a known reference angle) |
403 ROT IN ROTARY AXIS / 405 ROT IN C AXIS | G403/G405 | Compensate misalignment by physically rotating the table instead |
404 SET BASIC ROTATION | G404 | Write any basic-rotation value directly (e.g. reset to 0) |
| Datum setting — 408–419 | ||
408 / 409 | G408/G409 | Slot center / ridge center as datum (FCL 3 functions) |
410 / 411 | G410/G411 | Rectangle inside / outside → center as datum |
412 / 413 | G412/G413 | Circle inside (bore) / outside (stud) → center as datum |
414 / 415 | G414/G415 | Corner outside / inside → intersection as datum |
416 | G416 | Bolt-hole-circle center from three holes |
417 | G417 | Datum in the touch-probe axis (single Z touch) |
418 / 419 | G418/G419 | Intersection of 4 holes / datum in one selectable axis |
| Workpiece inspection — 42x/43x | ||
420 MEASURE ANGLE | G420 | Angle of any straight surface (result: Q150) |
421 / 422 | G421/G422 | Hole / circular stud: position + diameter, with tolerance check |
423 / 424 | G423/G424 | Rectangle inside / outside: position, length, width |
425 / 426 | G425/G426 | Slot width / ridge width |
427 | G427 | Single coordinate in a selectable axis |
430 / 431 | G430/G431 | Bolt hole circle (position + diameter) / plane (A and B angles from 3 points) |
| Special & kinematics | ||
440 MEASURE AXIS SHIFT | G440 | Thermal axis-shift measurement (results in Q185–Q187) |
441 FAST PROBING | G441 | Sets global probing parameters (FCL 2); contains no machine movement |
450 SAVE KINEMATICS / 451 MEASURE KINEMATICS / 452 PRESET COMPENSATION | G450–G452 | KinematicsOpt (software option): back up, measure/optimize rotary-axis kinematics on a calibration sphere, align interchangeable heads |
Where the Results Go
Datum-setting cycles (408–419) route their result with two parameters — this is the pattern to memorize:
| Q305 | Q303 | Result |
|---|---|---|
0 | any | Set display (active datum) directly; also written to line 0 of the preset table |
| ≠ 0 | 0 | Write line Q305 of the active datum table (workpiece coordinates) — activate later with Cycle 7 |
| ≠ 0 | 1 | Write line Q305 of the preset table (REF coordinates) — activate later with Cycle 247 |
| ≠ 0 | -1 | Error — legacy TNC 4xx programs must define Q303 explicitly |
Measured values land in globally effective Q parameters (each cycle’s description lists its exact set):
| Parameter | Meaning |
|---|---|
| Raw trigger position | |
Q115–Q119 | Spindle position at probe contact, axes 1–5 — no stylus length/radius compensation |
| Actual values (Q15x) | |
Q150 | Angle of a straight line |
Q151 / Q152 | Center in reference axis / minor axis |
Q153 | Diameter |
Q154 / Q155 | Pocket length / width |
Q156 / Q157 | Length in the selected axis / position of centerline |
Q158 / Q159 | Angle in the A / B axis (Cycle 431) |
Q160 | Coordinate in the selected axis (Cycle 427 etc.) |
| Deviations & angles | |
Q161–Q163 | Deviation: center ref axis / center minor axis / diameter |
Q164–Q166 | Deviation: pocket length / pocket width / measured length |
Q167 | Deviation: centerline position |
Q170–Q172 | Space angles about A / B / C |
| Status | |
Q180 / Q181 / Q182 | Classification: 1 = good / rework required / scrap |
Q185–Q187 | Deviations measured by Cycle 440 |
Q199 | TT tool measurement: 0 in tolerance, 1 worn, 2 broken |
Inspection cycles can also write a measuring log (parameter Q281: 0 none, 1 to file — e.g. TCHPR421.TXT next to the program, 2 on-screen with program stop), stop the program on tolerance violation (Q309), and do tool monitoring (Q330 > 0): measured deviation goes into the tool’s DR column, and if it exceeds RBREAK the tool is locked (TL = L) with an error. Results are always referenced to the active (possibly shifted/rotated/tilted) coordinate system.
Tool Measurement with the TT — Cycles 30–33 / 480–484
TT table-probe cycles exist in two formats with identical behavior: the old numbers 30–33 (selectable status parameter) and the new 480–483 (DIN/ISO G480–G483, status always in Q199). Cycle 30/480 calibrates the TT (measuring the calibration tool’s center misalignment via a 180° spindle turn); Cycle 484 calibrates the wireless TT 449. Cycles 31/481, 32/482, 33/483 measure tool length, radius, or both — rotating (finds the longest tooth, offset by TT:R-OFFS), at standstill (drills, tools smaller than the probe contact), or tooth-by-tooth (up to 99 teeth). Speed and feed for rotating measurement are computed from MP6570 (max cutting speed) and MP6510/MP6507 (measuring tolerance strategy); standstill probing uses MP6520. Requirements: TOOL.T active, and approximate L, R, CUT, and DIRECT. entered before first measurement. First measurement writes the geometry (DL/DR = 0); check mode writes the deviation into DL/DR and locks the tool if LTOL/RTOL/LBREAK/RBREAK is exceeded.
; Old format - measure a rotating tool for the first time
6 TOOL CALL 12 Z
7 TCH PROBE 31.0 TOOL LENGTH
8 TCH PROBE 31.1 CHECK: 0
9 TCH PROBE 31.2 HEIGHT: +120
10 TCH PROBE 31.3 PROBING THE TEETH: 0
; New format - inspect a tool, probing the individual teeth
6 TOOL CALL 12 Z
7 TCH PROBE 481 TOOL LENGTH
Q340=1 ;CHECK (0 = first measurement)
Q260=+100 ;CLEARANCE HEIGHT
Q341=1 ;PROBING THE TEETH
Worked Example — Measure, Then Finish to Size
The manual’s BEAMS program is the classic adaptive loop: rough a stud oversize, measure it with Cycle 424, subtract the measured deviations (Q164/Q165) from the target lengths, and finish with the corrected dimensions:
0 BEGIN PGM BEAMS MM
1 TOOL CALL 69 Z ; roughing tool
3 FN 0: Q1 = +81 ; X length, roughing (1 mm over)
4 FN 0: Q2 = +61 ; Y length, roughing
5 CALL LBL 1 ; rough the stud
7 TOOL CALL 99 Z ; touch probe
8 TCH PROBE 424 MEAS. RECTAN. OUTS.
Q273=+50 ;CENTER IN 1ST AXIS
Q274=+50 ;CENTER IN 2ND AXIS
Q282=80 ;1ST SIDE LENGTH ; nominal finished size
Q283=60 ;2ND SIDE LENGTH
Q261=-5 ;MEASURING HEIGHT
Q260=+30 ;CLEARANCE HEIGHT
Q301=0 ;MOVE TO CLEARANCE
...
9 FN 2: Q1 = +Q1 - +Q164 ; correct X by measured deviation
10 FN 2: Q2 = +Q2 - +Q165 ; correct Y by measured deviation
12 TOOL CALL 1 Z S5000 ; finishing tool
13 CALL LBL 1 ; finish with corrected Q1/Q2
15 LBL 1 ; subprogram: Cycle 213 stud finishing
16 CYCL DEF 213 STUD FINISHING
Q218=Q1 ;FIRST SIDE LENGTH ; variable dimensions
Q219=Q2 ;SECOND SIDE LENGTH
...
17 CYCL CALL M3
18 LBL 0
19 END PGM BEAMS MM
The same pattern with datum setting: probe a bolt-hole circle with Cycle 416 into preset line 1 (Q305=1, Q303=+1), activate it with CYCL DEF 247 Q339=1, then call the machining program.
Common Gotchas
| Gotcha | Detail |
|---|---|
| No TOOL CALL before the cycle | The touch-probe axis comes from the last TOOL CALL — datum-setting examples in the manual start with TOOL CALL 69 Z just to define it |
| Cycles fire on definition | Touch probe cycles are DEF-active: the probe moves the moment the definition block executes — there is no CYCL CALL to delay it |
| Pre-position distance is two numbers | Approach stand-off = MP6140 plus the cycle’s Q320; small values demand accurately programmed touch points |
| Q115–Q119 are raw | Stylus length and ball radius are not compensated in these — use the cycle’s Q15x results for real coordinates |
| Status markers always set | Q180–Q182 are written even if you left tolerance fields at 0 — don’t treat Q181=1 as meaningful unless you defined limits |
| Datum table vs. preset table | Q303=0 writes workpiece coordinates (activate with Cycle 7); Q303=1 writes REF coordinates (activate with Cycle 247) — mixing them up shifts the part by the preset |
| Basic rotation + datum table | Cycles 408–419 may run during an active basic rotation, but don’t let Cycle 7 from a datum table change the rotation afterwards |
| Old TNC 4xx programs | Programs from a TNC 4xx (or missing Q303) raise an error until you define measured-value transfer explicitly |
| Heidenhain probes only | The warranty statement is explicit: probing-cycle function is guaranteed only with HEIDENHAIN touch probes |
| No 14xx cycles here | The iTNC 530 generation ends at the 4xx cycle set (plus 0/1/2/3/4/9 and 30–33). If a setup sheet calls for Cycle 1420/1444-style probing, that is a newer TNC — different control, different article |
References
- HEIDENHAIN, iTNC 530 Cycle Programming User's Manual, NC software 606 42x-04, 670388-25 (chapters 13–19).
- HEIDENHAIN, iTNC 530 Touch Probe Cycles User's Manual, NC software 340 49x generation.
- HEIDENHAIN, iTNC 530 Conversational Programming User's Manual, 737759-24 (manual probing, chapter 14).
Have a question or want to contribute?
Contact us with corrections, additions, or topics you'd like covered.
Get in Touch