News CNCnetPDM About us Success Stories  
         
  

DEVICE DRIVER TESTER

This utility program allows you to easily test and adjust the output of all available device drivers without the need to setup a device in CNCnetPDM. It also enables to verify correct communication with controllers and informs you about any issues.

DOWNLOAD | SETUP | USAGE | ADJUST INI FILE | TROUBLESHOOTING

SOFTWARE DOWNLOAD

TOP

SETUP

  • Extract devicedrivertester.exe from devicedrivertester.zip to the folder where you have installed CNCnetPDM.
  • If needed, install a device driver and all required DLL files into the same directory.

TOP

USAGE

Double click devicedrivertester.exe

CNCnetPDM Device Driver Tester

FIG 1:    Utility program devicedrivertester.exe
  • Enter the DNS hostname or IP Address of your controller (1)
  • Enter the device driver DLL name (2) here fanucext.dll
  • Input the port number used by your device driver if needed (3) here 8193 for Fanuc Focas
  • Some drivers support different methods to access the controller (e.g. Fanuc Ethernet or HSSB). Enter a specific method (4) if needed.
  • For device drivers that identify controllers by manufacturer specific machine numbers (e.g. Mitsubishi or Citizen) enter this number here (5)
  • If you query part counter values from your controller via parameter number or PLC address enter this number (6) here 6711 for Fanuc Focas

Click button [Query] (7)

Output is shown in the right pane (8)

The program first tries to ping your controller by using it’s IP Address or DNS Hostname. If successful you see output like ‘Device IP Address or DNS Hostname can be contacted’

After that, the program automatically creates an INI file for your device driver without a device number extension with default values, you can change that later. In case of fanucext.dll this would be fanucext.ini

Then it attempts to initialize communication with the controller via the selected device driver DLL. If successful it outputs ‘Initialization of device driver DLL name succeeded’

If the previous step worked the program tries to read data from your controller as specified in the INI file.

Any errors reported by the device driver are shown at the bottom of the output area. If none the program outputs ‘No errors reported by device driver name’.

TOP

ADJUST INI FILE

Most of the device drivers work with adjustable INI files that allow you to configure the driver according to your needs. To do so proceed as follows.

Open the automatically generated INI file with a text editor f.i. notepad. There’s no need to close the program. Adjust the INI file e.g. change active state, commands, names or output sections and save it.

To force the program to reload the INI file while running you can simply change a parameter that is NOT used by the current driver and click button [Query] again. For example for a Fanuc driver you could change ‘API Machine Number’ to a different value.

Tip:      An INI file customized with devicedrivertester.exe can also be used for CNCnetPDM. You simply have to copy the file and add an underscore + the device number to the file name f.i. fanucext_1000.ini for device number 1000.

TOP

TROUBLESHOOTING

If you see an error message like ‘Error: Device cannot be contacted!’ your controller is not reachable at all. Please check your network connection.

A message like ‘Error: Initialization of device driver failed!’ + ‘INIT: Windows socket error’ means that the controller is reachable but the device driver does not get data from the controller. In this case either the port number is wrong or the port number is blocked by your firewall.

If you get results from the controller but errors show up for single functions you most likely query a function which is not supported by your device. You can either change the function call or deactivate it in the INI file.

If everything looks ok but the only error you get is ‘Error: Initialization of device driver failed!’ the most likely reason is that you try to execute the program in a folder different to the one where CNCnetPDM is installed. Please run the program in the correct directory.

TOP

 

Support | CNCnetPDM | Release Notes
Release Notes tell you what’s new in CNCnetPDM. As always, we welcome your feedback .... [read more]
Release Notes
Support | CNCnetPDM | Overview
Welcome to CNCnetPDM online support! Below you can find everything you need to install, setup, configure and troubleshoot CNCnetPDM. For device-specific support topics please... [read more]
Overview
Support | CNCnetPDM | Quick Start Guide
Version 4.9.0.1 If you don’t want to go through all the steps described in the user manual and you know what you’re doing simply follow the steps below to... [read more]
Quick Start Guide
Support | CNCnetPDM | User Manual
CNCnetPDM Version 4.7.0.0 User Manual | Here you can find everything you need to... [read more]
User Manual
Support | CNCnetPDM | Device Port Scanner
In case you're going to connect to a remote device with an Ethernet network connection that uses a specific TCP-Port for communication you can use the utility CNCScan.exe to... [read more]
Device Port Scanner
Support | CNCnetPDM | Changes in Version 4.8.0.0
Compared to version 4.7.0.0 this version includes some major changes. DATABASE TABLES The structure of database table MTH_RAW_DATA that now receives all raw data from devices has... [read more]
Changes in Version 4.8.0.0
Modified: 2017-10-02