News CNCnetPDM About us Support  
         
TNC Machine Data | Heidenhain | Support | inventcom
  

TNC MACHINE DATA

For Heidenhain TNC and iTNC controllers CNCnetPDM enables you to acquire and monitor machine-, process- and quality-data. Seamless integration of the data with your business information systems as well as modification of parameters at these controllers is also supported by CNCnetPDM.

This document describes setup and test of data acquisition from Heidenhain TNC 426, 430, 320, 620, 640 and iTNC 530 controllers.

CONTROLLER SETUP | PC SETUP | SOFTWARE DOWNLOAD | LICENSING | SOFTWARE SETUP & USAGE | DEFAULT OUTPUT | ITNC 530 OUTPUT | TROUBLESHOOTING | ADAPTED CONTROLLERS

CONTROLLER SETUP

At the controller you have to make sure that external access via LSV 2 protocol is enabled. To do so switch to programming mode click [MOD]. If a dialog opens, select ‘Machine settings -> External access’ and check if soft key ‘External access’ at the bottom is set to ‘Yes’.

It may be that external access is restricted by specific settings in file TNC.SYS in the root directory of your controller. In this case TNC.SYS contains one or more entries like:

REMOTE.PERMISSION=PC2225;PC3547
REMOTE.TNCPASSWORD=KR1402
REMOTE.TNCPRIVATEPATH=TNC:\RK

If there is an entry for TNCPASSWORD and none for TNCPRIVATEPATH the whole TNC drive is password protected and cannot be accessed by this test program. Remove the line with TNCPASSWORD to get access. If entry PERMISSION is present, add the name of your PC to the list.

TOP.

PC SETUP

Make sure that your controller is connected via Ethernet to your company network and you get a reply when you ping the controller from your PC by using it’s IP Address. (Open an elevated command prompt and type in ping IP Address of the device e.g. ping 192.168.1.100).

TOP.

SOFTWARE DOWNLOAD

TOP.

LICENSING

If you have installed CNCnetPDM on your PC with a license other than a ‘free license’ and run this program from the folder where CNCnetPDM is installed you get unlimited output. Otherwise the program outputs a restricted set of items. Please see licensing for details or contact us if you have any questions.

  • Note: If you like to run this program from a different location on your PC you can simply copy your CNCnetPDM.ini file to this directory.

TOP

SOFTWARE SETUP & USAGE (PC)

Download HeidenhainData.zip and extract all files to a folder on your PC.

In case you use a firewall at your PC or your company network please make sure that there is an exception for TCP Port 19000. You can use our tool Device Port Scanner to check if your controller is reachable via port 19000..

CNCnetPDM HEIDENHAIN MACHINE DATA

The program enables you to connect to your controller via Ethernet and query various machine data. Double click HeidenhainData.exe and enter the IP Address or DNS Hostname of your controller (1).

After clicking button [Query] (2) the program tries to connect to your controller, you see message ‘Connecting…’ above button [Help].

Heidenhain TNC Machine Data

FIG 1:    CNCnetPDM Heidenhain Machine Data

If successful, the program shows machine data in the area at the right (3).

TOP.

DEFAULT OUTPUT

Initially HeidenhainData queries data that is known to be output by all adapted controllers. At the top of the output area you can see information returned by your controller:

CONTROLLER INFORMATION

TNC type, NC and PLC version.

PROGRAM INFORMATION

After that, you get information about the currently selected program and the actual block number.

EXECUTION MODE

Next you can see the current execution mode of the machine. Possible values are:

  • Manual(0)
  • MDI(1)
  • Pass References(2)
  • Single Step(3)
  • Automatic(4)
  • Undefined(5)

PROGRAM STATUS

Next you get information about the program state, this may be one of the following:

  • Started(0)
  • Stopped(1)
  • Finished(2)
  • Cancelled(3)
  • Interrupted(4)
  • Error(5)
  • Error cleared(6)
  • Idle(7)
  • Undefined(8)

OVERRIDE INFORMATION

Override information is output in percent for Feed, Speed and Rapid.

AXIS DATA

Axis information output depends on the number of available axes on your machine. The output unit may be metric or inch according to the setup of your controller.

TOP.

iTNC 530 OUTPUT

If you have a Heidenhein iTNC 530 controller and activate checkbox ‘Heidenhain iTNC 530’ (4) before querying data you get additional information:

TOOL INFORMATION

(requires NC software >= 34049x SP 04!):

  • Tool number
  • Tool index
  • Tool axis
  • Tool length
  • Tool radius

PLC DATA

  • Speed(p) D356: Programmed speed
  • Speed(s) D364: Target speed
  • Speed(a) D368: Actual speed
  • Feed(p) D360: Programmed feed rate
  • Feed(a) D388: Actual feed rate
  • Override W492: Override (% to be divided by 100)
  • OP Mode W272: Execution mode (subtract 1 to get real mode)
  • Speed(s) W320: Target speed
  • Speed(a) W322: Actual speed

TOOL TABLE DATA

Here HeidenhainData outputs data for Tool No. 1 stored at the tool table of the controller.
Note: file TOOL.T and data for tool No.1 has to exist.

TOP.

TROUBLESHOOTING

If you can ping the controller but still get a ‘Connection to IP Address port 19000: Failed!’ please verify that there’s an exception for port 19000 in your firewall. Use our tool Device Port Scanner to check that your controller is reachable via that port.

As Heidenhain controllers are highly customizable by your machine manufacturer it may be that certain areas are locked or data is stored on areas different from the standard, especially PLC data.

In this case HeidenhainData outputs TNC error numbers together with program error numbers.

If you get errors you can click on button [Copy], paste the output into a text file or e mail and send it to our developers for further analysis when contacting support.

TOP.

ADAPTED CONTROLLERS

Controller

NC Software Version

Major

Service Pack

iTNC 530

340494

002

0

iTNC 530

340494

005

6

iTNC 530

340494

006

7

iTNC 530

340494

007

9

iTNC 530

340494

008

2

iTNC 530

606424

002

9

iTNC 530

606424

003

2

iTNC 530

606424

004

9

TNC 320

340554

004

1

TNC 320

340554

005

5

TNC 320

340554

006

2

TNC 320

771854

001

2

TNC 320

771854

002

1

TNC 320

771854

004

2

TNC 620

340564

002

1

TNC 620

340564

003

5

TNC 620

340564

004

2

TNC 620

817604

001

5

TNC 620

817604

002

5

TNC 620

817604

003

5

TNC 620

817604

004

2

TNC 620

817604

005

0

TNC 640

340594

001

0

TNC 640

340594

002

4

TNC 640

340594

004

6

TNC 640

340594

005

5

TNC 640

340594

006

5

TNC 640

340594

007

2

TNC 640

340594

008

0

DataPilot 4110 V6.4

362834

005

1

DataPilot 4290 V7.1

737133

002

0

DataPilot MP 620

634132

003

1

DataPilot MP 620

634132

004

0

DataPilot MP 620

634132

005

0

DataPilot MP 620

634132

006

1

DataPilot MP 620

634132

007

1

DataPilot MP 620

634132

008

0

DataPilot CP 620

729665

001

1

DataPilot CP 620

729665

002

0

DataPilot CP 620

729665

003

0

DataPilot CP 640

729666

001

0

DataPilot CP 640

729666

002

1

DataPilot CP 640

729666

003

1

DataPilot CP 640

729666

004

0

TNC 426 CA/PA

280460
280461

 

 

TNC 426 CA/PA

280462
280463

 

 

TNC 426 CA/PA

280462
280463

 

 

TNC 426 CB/PB/M

 

 

 

TNC 430 CA/PA/M

 

 

 

TNC 426 CA/CE - PA/PE

 

 

 

TNC 426

28058x
28054x
28056x
280462
280463

 

 

TNC 426 CB/PB

280470/471

 

 

TNC 430 CA/PA

280470/471

 

 

TNC 426 CB/PB

280472/473

 

 

TNC 430 CA/PA

280472/473

 

 

TNC 426 CB/PB

280470/471

 

 

TNC 430 CA/PA

280470/471

 

 

TNC 426 CB/PB

280472/473

 

 

TNC 430 CA/PA

280472/473

 

 

TNC 426 CB/PB/M

280474/475

 

 

TNC 430 CA/PA/M

280474/475

 

 

TNC 426 CB/PB/M

280476/477

 

 

TNC 430 CA/PA/M

280476/477

 

 

TNC 426 CB/PB/M

280474/475

 

 

TNC 430 CA/PA/M

280474/475

 

 

TNC 426 CB/PB/M

280476/477

 

 

TNC 430 CA/PA/M

280476/477

 

 

TOP

Support | Heidenhain | Overview
For Heidenhain TNC and iTNC controllers CNCnetPDM enables you to acquire and monitor machine-, process- and quality-data and integrate it seamlessly with your business... [read more]
Overview
Support | Heidenhain | Release Notes
HEIDENHAIN (3/20/2018) Updated tools for machine data acquisition and Heidenhain device drivers are available. In addition the programs now support the... [read more]
Release Notes
Support | Heidenhain | TNC Device Driver
This highly configurable Heidenhain device driver for CNCnetPDM enables you to acquire and output machine-, process- and quality data from machines with Heidenhain TNC 426, 430,... [read more]
TNC Device Driver
Modified: 2018-03-21