Heidenhain codes
HeidenhainSystemIntermediate30-120 minutes

231-C340

HEIDENHAIN 231-C340 - C340 Unknown counter component

C340 Unknown counter component

This TNC 640 error indicates an internal control fault. The issue relates to Parameter error at the active axis in machine parameter spee.

Root Cause Summary

The Heidenhain 231-C340 alarm, 'C340 Unknown counter component,' is typically caused by a parameter error in the machine's speedEncoderInput setting, hardware issues with the drive control board, or a defective motor encoder. The most likely fix involves verifying and correcting the machine parameters or replacing faulty hardware components. Software version mismatches can also trigger this alarm and should be checked early in the diagnostic process.

Safety

  • Refer to Heidenhain service manual
  • Ensure qualified technician performs repairs

Causes and Fixes

  1. 1

    Access Machine Parameters

    Log into the Heidenhain control system using appropriate credentials and navigate to the machine parameter settings menu. Locate the speedEncoderInput parameter for the active axis.

    Take a screenshot or note down the current settings before making any changes for future reference.

    Ensure the machine is powered down or in a safe mode before accessing parameters to avoid accidental activation.

  2. 2

    Verify Parameter Values

    Compare the current speedEncoderInput value with the recommended setting in the Heidenhain service manual or machine-specific documentation. Look for discrepancies in encoder type or input channel assignments.

    If unsure about the correct value, consult the machine manufacturer’s support line for the exact parameter configuration.

    Incorrect parameter settings can cause further alarms or machine malfunction; double-check before saving.

  3. 3

    Correct and Test Parameter

    If a mismatch is found, update the speedEncoderInput parameter to the correct value. Save the changes, restart the control system, and test the axis for proper operation without the alarm.

    Run a short test cycle at low speed to confirm the alarm is cleared before resuming full operation.

    Monitor the system closely during testing to prevent damage if the issue persists.

DIY Feasiblemedium confidence

Call a technician if:

  • ·If parameter corrections and basic hardware swaps do not resolve the issue
  • ·If there is uncertainty about software updates or hardware compatibility

Prevention

  • Regularly back up machine parameters and software configurations to avoid loss during updates.
  • Schedule periodic inspections of encoder and control board hardware to catch wear early.
  • Train operators to report unusual machine behavior immediately to prevent escalation of minor issues.

Common Mistakes

  • Overlooking parameter settings and jumping straight to hardware replacement, wasting time and resources.
  • Failing to document changes made during troubleshooting, leading to confusion in future diagnostics.

Related Alarms

Seeing Multiple Alarms?

Seeing another alarm with this one? Enter the code.

Get machine-aware diagnosis

AxisMD logs alarms against your actual machines, tracks patterns, and gives AI context your manual doesn't have.

Start free

Was this guide helpful?

Always verify with your machine manual or a certified technician before performing service procedures.