Skip to main content

Heidenhain Troubleshooting

Connection Issues​

Problem: Cannot Connect to Control

Possible causes:

  • Incorrect IP address
  • Network connectivity issue
  • Firewall blocking communication
  • No connectivity option installed (TNC 640/730 requires Option 56 or Option 18)
  • Control not powered on or Ethernet disabled

Solutions:

  1. Verify IP address is correct and control is reachable (ping test)
  2. Check physical Ethernet cable connection
  3. Verify connectivity option is installed:
    • TNC 640/730: Requires Option 56 (recommended) or Option 18
    • Check SIK page to confirm option is active
  4. Check network settings on control (IP, subnet mask, gateway)
  5. Verify firewall rules allow port 19090 communication
  6. Restart control and Edge device

Problem: Intermittent Connection

Possible causes:

  • Network instability
  • DHCP IP address changing
  • Control restarting during production
  • High network traffic or latency

Solutions:

  1. Use static IP address instead of DHCP
  2. Check network switch/router for errors
  3. Verify network cable quality (replace if old/damaged)
  4. Monitor network latency with continuous ping
  5. Check for IP conflicts on network

Data Collection Issues​

Problem: No Data Items Populating

Possible causes:

  • Adapter configuration incorrect
  • Control not exposing data
  • Polling interval too high
  • Data mapping not configured

Solutions:

  1. Review adapter configuration for typos or errors
  2. Verify control type matches configuration (TNC530 vs TNC640)
  3. Check Data Mapping settings in MachineMetrics
  4. Review adapter logs for specific errors
  5. Reduce poll_interval to 1000ms (1 second)

Problem: Specific Data Items Missing

Possible causes:

  • Control does not support specific data type
  • Data item not configured in adapter
  • PLC data not exposed

Solutions:

  1. Verify control model supports requested data
  2. Check adapter configuration includes all desired data items
  3. Review Heidenhain control capabilities documentation
  4. Contact MachineMetrics support for control-specific limitations

Part Counting Issues​

Problem: Part Count Not Incrementing

Possible causes:

  • Incorrect PLC WORD address
  • Part counter disabled on control
  • M-code not executing
  • Data mapping not configured

Solutions:

  1. Verify PLC WORD address is correct (check on control)
  2. Ensure part counter is enabled in control settings
  3. Check CNC program includes M53 (or appropriate M-code)
  4. Verify Data Mapping and Data Rules are configured
  5. Review adapter logs for part count events
  6. Test manual increment on control

Problem: Part Count Incorrect or Resetting Unexpectedly

Possible causes:

  • Reading wrong PLC WORD address
  • Multiple counters in use (pallet changer, etc.)
  • Data Rules reset behavior misconfigured
  • Control resetting counter on program start

Solutions:

  1. Verify correct PLC WORD address with machine documentation
  2. Check for multiple part counters (select appropriate one)
  3. Review Data Rules reset configuration
  4. Disable automatic reset if not desired
  5. Consult machine operator on expected behavior

Problem: Cannot Find Part Counter in PLC WORD Table

Possible causes:

  • Part counter stored in different location
  • Custom machine configuration
  • No native part counter implemented

Solutions:

  1. Review complete PLC WORD table for any counter-like variables
  2. Contact machine builder for PLC WORD documentation
  3. Check for M-code based counting instead (M53/M54)
  4. Consider implementing custom macro for part counting
  5. Contact MachineMetrics support for alternative methods

Network Configuration Issues​

Problem: Control Not Obtaining IP Address (DHCP)

Possible causes:

  • DHCP server not responding
  • Network cable issue
  • Control Ethernet settings incorrect

Solutions:

  1. Check physical cable connection
  2. Verify DHCP server is functioning (check other devices)
  3. Try static IP configuration instead
  4. Restart control and network switch
  5. Check control Ethernet settings are set to DHCP/Automatic

Problem: Cannot Ping Control from Edge Device

Possible causes:

  • Different subnets
  • Firewall blocking ICMP
  • Incorrect IP configuration
  • Network routing issue

Solutions:

  1. Verify Edge and control are on same subnet
  2. Check firewall settings (disable temporarily to test)
  3. Verify IP address, subnet mask, and gateway settings
  4. Test with another device on same network
  5. Check network switch configuration