
axismd.ai
Heidenhain Controller
System · Intermediate · 30-120 minutes
HEIDENHAIN 130-0067 -
This alarm stems from the TNC control's numerical calculation engine encountering a value that exceeds its internal representation limits during program execution. The most frequent trigger is tool radius compensation attempting to calculate offset paths on geometrically problematic contours, though kinematic transformations and parameter calculations can also cause overflow conditions.
HEIDENHAIN 130-0067 -
This TNC7/TNC 640 error (130-0067) relates to ''. Arithmetical error. Value too large.
Root Cause Summary
This alarm stems from the TNC control's numerical calculation engine encountering a value that exceeds its internal representation limits during program execution. The most frequent trigger is tool radius compensation attempting to calculate offset paths on geometrically problematic contours, though kinematic transformations and parameter calculations can also cause overflow conditions.
Safety
Causes and Fixes
Locate Compensation Problem Area
In Test Run mode, single-block through the program approaching the alarm point. Watch the path graphics closely for unusual tool path deviations or compensation loops that indicate problematic geometry.
Use the 'Show Path' function (soft key in Program Run) with radius compensation display enabled to visualize where the compensation path becomes extreme.
Analyze Contour Geometry
Examine the NC blocks before the alarm for segment lengths less than 2× tool radius, or angles between consecutive moves sharper than 10 degrees. Check for duplicate points or micro-segments from CAM post-processor errors.
Toggle Q INFO ON in MDI to display all calculated coordinates - values approaching ±999999999 indicate impending overflow.
Modify Contour or Disable Compensation
Either smooth the contour by removing micro-segments and adding blend radii (RND or CHF), or strategically cancel and reactivate compensation around the problem area using G40, reposition, then G41/G42.
When repositioning with G40, ensure adequate clearance from the workpiece to avoid crashes when reactivating compensation.
Adjust Tool Radius
If geometry cannot be changed, reduce the tool radius value in the tool table (Tool.T) temporarily. Smaller radius reduces the severity of offset calculations on tight geometry.
Check MP7680 (max permissible deviation for radius comp) - increasing this slightly allows the control more tolerance in compensation calculations.
Call a technician if:
Prevention
Common Mistakes
Seeing Multiple Alarms?
Seeing another alarm with this one? Enter the code.
AxisMD logs alarms against your actual machines, tracks patterns, and gives AI context your manual doesn't have.
Start freeWas this guide helpful?
Always verify with your machine manual or a certified technician before performing service procedures.