Implementing Heidenhain F-PRINT for Accurate Part Counting

Heidenhain F-PRINT

You will need Option 18 turned on to use this functionality.

Heidenhain F-PRINT

In order to capture part counts from a Heidenhain CNC with ethernet, we need to print out a command from the CNC program to say is complete.

A few things you need to do

  1. Enable SMB 3.0 on the server (You can also enable SMB 1.0 if IT will allow it for older controls)
  2. Create a local user account on the FactoryWiz server
  3. Share a folder on the FactoryWiz server and give the new user account access to this folder. In the example below we have a root folder called DPRNT and a sub folder for each CNC.
  4. Map a drive from the CNC to the shared folder above.
  5. Add 2 files to the main TNC drive (fwcount.h and fwcount.txt attached)
  6. Add a sub program call from the footer of the main program to call fwcount.h)
  7. Set the DPRNT path in FactoryWiz machine settings for each machine.
We assume you or your IT department know how to do 1, 2 and 3.

Map a network drive on the CNC


1. Open the network sharing menu from the Linux menu

2. Add new drive

3. The drive will be S:

4. Windows share
5. Server name = the server IP address (no backslashes etc). Share name is the root folder and any sub folders (use forward slash, not back slash)

6. Add the username and password of the newly created user account.

7. Auto mount = true
8. Parameters for mount option: sec=ntlm (case sensitive)

9. Apply
10. Mount
11. Complete

Testing F-PRINT

  1. Copy the files attached to the TNC root.
  2. Add the following line of code to the main cnc program. It needs to be inserted in the second to lasrt of the CNC program, before the M30: PGM CALL TNC:\FWCOUNT.H
  3. Add the DPRNT file location with file name of FWIZ.txt to the machine settings in FactoryWiz and then restart the RYM Heindenhainservice.
  4. Run the program to test.