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.






    • Related Articles

    • Heidenhain Confirming Option 18 Enabled

      Heidenhain Controller – Confirming Option 18 FactoryWiz has learned that not all of the i530 controllers have the option 18 enabled from the factory. New option for ALL Heidenhain controllers – including those which have RS232 but not Ethernet (we ...
    • Mazak RYM DPRNT Transmitter Service

      .Net Framework 2.0 is required. Mazak RYM DPRNT Transmitter Service This is a windows server that sends received DPRNT commands from the Mazak CNC to FactoryWiz. This service is installed on a windows service. Installing the DPRNT Service 1. Create a ...
    • Does my Fanuc CNC have FOCAS?

      How to determine if Fanuc CNC has FOCAS Ethernet check The best way to find out if you have FOCAS on your Fanuc i Series, is to check if you have Ethernet. This walk through will show you how to find out, without looking in any cabinets. Start by ...
    • Determining If You Have Fanuc Focas

      How to determine if you have Fanuc Focas The best way to find out if you have FOCAS on your Fanuc i Series, is to check if you have Ethernet. This walk through will show you how to find out, without looking in any cabinets. Start by pressing [SYS] ...
    • TCP & UDP ports used by various machine connection types

      Please note that this list is not exhaustive. There are some types where the firewall rules will depend on where and MTConnect adapter, agent, or both is installed on your network. This is a summary of the most common ports: Machine Type Port(s) ...