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 have CNCnetPDM up and running in a few minutes:
Download CNCnetPDM.zip and extract ALL files to a folder of your choice. Please do NOT use folders ‘Program Files’ or ‘Program Files (x86)’.
Double click on CNCnetPDM, click on [Start Thread] to start CNCnetPDM as a foreground program. Click [Close].
Configuration file CNCnetPDM.ini (automatically created on first startup) is setup to find devices by their IP-Addresses (UseDNS = 0), change that to 1 if you’d like to use DNS Hostnames.
In section [RS232] of CNCnetPDM.ini one device is configured:
Means, CNCnetPDM uses your PC as remote device also (127.0.0.1 and localhost), device driver is device.dll.
This simulation driver creates random values for all items (similar to the Fanuc device driver).
To create an additional device copy the first line, change the sequential number of the device (1), assign a new device number (2) and name (3). Change IP-Address (4) and/or DNS Hostname (6). For some device drivers port (5) has to be changed if you query your device via Ethernet on a specific port, (e.g. 8193 = Fanuc FOCAS default). If you query part counter values from Fanuc controllers change the number in PLC Addr. (7), here 6711 a Fanuc parameter is used. If you’re using one of the controller specific device drivers change device.dll to the name of the driver, here fanucconf.dll (8).
FIG 1: Add an additional device
Optional: Repeat step 6 for additional devices.
For a new installation CNCnetPDM automatically creates entry StartOffline = 1 in sections [OPC UA Server], [MTC Adapter] and [Connect] of the INI file. In this mode the program does not automatically start it's OPC UA Server, the MTConnect Adapter and a database connection. You can change that according to your needs.
Start CNCnetPDM again (see 3.) and double click CNCnetControl, the GUI shows your connected devices on the left (1) and the incoming data on the right (2)