Heidenhain CNC control connection

Heidenhain CNC controllers are one of the leading CNC controllers in the market. By using the same communication protocol, controls of different series and years of manufacture can be connected in the same way. A Heidenhain CNC machine can be easily connected using OPC Router Heidenhain Plug-in.
The communication protocol is used to retrieve the data points of CNC machines hierarchically and select them for setting up data transfer connections. The data points of the control can be read and written.

The compatible Heidenhain controllers:

  • iTNC 530
  • TNC 128
  • TNC 320
  • TNC 620
  • TNC 640
  • MANUALplus 620
  • CNC PILOT 620/640
  • MillPlusIT V6x0
  • GrindPlus IT/640

Example for Heidenhain connection with process data acquisition and download of tool data:

Example for data recording from a Heidenhain CNC machine into a SQL database
Example for Tool data download into a Heidenhain CNC machine

Achieving more with connected systems

The CNC machine is the birth place of the product. It is therefore more important that machines are integrated into the production IT system. The exchange of parameter specifications as well as the feedback of process values brings great potential for optimization.

Industrie 4.0 and Heidenhain

Industry 4.0 is the new way of producing. Basic idea is the best possible networking and interaction of all involved systems in the production. The Haidenhein plug-in integrates the CNC machine into the industry 4.0 infrastructure.

About OPC Router

With the OPC Router you can realize the networking of your systems in a graphical way. With its plug-ins, it becomes a data hub in industrial environments and enables the integration of your CNC machines into IoT and Industry 4.0. Simple configuration, sophisticated monitoring and robustness characterize it.

Connecting Heidenhain CNC machines

That’s how easy it is.


The transfer object of Heidenhain plug-in allows access to data points of the Heidenhain CNC control.

Data points

The Heidenhain control defines structure and organization of data points. Each data point has a unique name. As client you get the current value from CNC control. The desired data points are selected via browsing. Data points are available in the transfer object of the graphical configuration and can be connected with other fields during transfer.


The Heidenhain plug-in provides different triggers.


The datachange trigger is configured for a CNC datapoint and triggers the transfer when the datapoint is changed.

Limit value trigger

The Limit value Trigger monitors a data point for compliance of limits. It can be checked for exceeding or falling short. A hysteresis can also be configured.


For data transfers, handshakes are often used. The bit trigger is here the simplest way. OPC Router checks whether a bit requests a transfer. Once transferred, the bit is optionally reset or another bit is set as response. The success of the transfer can be transmitted to another data point.


The message trigger is the further development of the bit trigger in form of exchange like in a telegram. Not only a bit, moreover a counter is checked for a value change. In response, the number that triggered the transfer is written back after transfer. Reliability and traceability of this exchange is significantly higher.


The Heidenhain plug-in can browse data points of the CNC control.

Data point hierarchy

The CNC control supplies data points in a hierarchical structure in form of a data point tree. OPC Router reads all data points as a tree and displays them to the user. In this form, even large datapoint quantities are easily accessible. Each data point is identified via the unique path and is taken over including type information.

Heidenhain Plug-in application examples

Process data acquisition

The first step towards optimizing production is to create transparency. This is the only way to uncover and verify potentials. In addition, after implementing measures, transparency makes it possible to check successes. Transparency is achieved by process data acquisition. Important process data are recorded and provide information about condition of the machine and progress of important process values. With Heidenhain Plug-in of OPC Router it is possible to access all data points of the CNC machine and transfer them to any target system. If data is written to an MS SQL database with the SQL Server plug-in, for example, evaluations can be carried out directly in the database and visualized via corresponding clients. Data can also be transferred to IoT platforms via MQTT for evaluation in the cloud or via BigData.

Heidenhain CNC Plug-in
MS SQL Server
SAP systems (PP,PP-PI,PM,QM,...)
Heidenhain CNC Plug-in

Parameter setting for CNC machines

Manual input of production parameters is time-consuming, error-prone and creates costs. According to the approach of Industry 4.0, exactly such processes should be eliminated with help of networking and communication between all systems. With OPC Router and Heidenhain Plug-in it is possible to load production parameters from any source system and transfer them to the CNC machines automatically at the beginning of production. Depending on the structure, ERP systems (SAP, Navision via WebServices, etc.), databases or PLC controls serve as sources.

More Plugins

How do Transfer Objects, Trigger and Browsing work?

Connections in the OPC Router for networking systems can be established with these core functions of the OPC Router.
Depending on Plug-in the functions have different characteristics, depending on functionality of the connected system.


Sources and destinations

Transfer objects are the sources and destinations inside the OPC Router. They contain data fields with read and write functions. Depending on the respective interconnected system, the possible configuration scope of sources and destinations may vary.

Uniform outside, individual inside

In the OPC router configuration, the transfer object abstracts the special features of the respective system into a simple data input/output block.


Trigger of transfers

Triggers determine when data transfer is executed. Any number of triggers can be active in the connections, independent of sources and destinations. Different triggers can be used in combination with AND/OR.
Triggers can also serve as data sources if the triggering event is associated with the reception of data.


Search and find data fields

The configuration of sources and destinations is simplified by browsing. Depending on the system/plug-in type, different browsing options are available.

Reading structures

Even complex structures can be easily selected without detailed knowledge of the subsystem. The plug-ins present the structures of the data sources in a plug-in-specific way.