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 service that sends received DPRNT commands from the Mazak CNC to FactoryWiz. This service is installed on the Mazak's Windows based controller. Installing the DPRNT ...
    • 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) ...
    • Okuma THiNC Monitoring Configuration

      Configuring Okuma THiNC How to add an Okuma Machine The Okuma thinc api and thinc startup service must be installed prior to installing FactoryWiz onto the Okuma CNC. Getting the right files We need to know the api version for each Okuma you have so ...
    • 4.1 Reports

      Change the Report Name dropdown to select the report you would like to run, then modify the specific criteria and then either click Preview or Download to view the report. There is an existing list of close to 20 "canned" reports that come with the ...