### Files Used by PC-DMIS NC

The following files are used by PC-DMIS NC

PC-DMIS Program Files - The standard PC-DMIS part program (.prg) and CAD (.cad) files stored in the default location.

NC Program Files - These files are the NC machine programs generated from the PC-DMIS part program and have a .cnc extension. You can place them in any location, but you should probably create a separate CNC subfolder somewhere on your hard drive. Interfaces that do not have direct access to setting work and tool offsets will generate NC programs to update these offsets. Typically the file extension for these programs is .wrk.

Journal Files - Journal files (.cnj and .cnp files) contain the transactions received from the NC machine during execution of the NC program file (.cnc file). They are stored in the journal subdirectory of the directory displayed in the Program tab of the MachineDefinition dialog box of the PC-DMIS CNC Server program.

Journal files are not used for PC-DMIS NCI.

Example: If PC-DMIS NC was installed to C:\PCDMISW\, journal files for PC-DMIS program Block.prg would be stored in C:\PCDMISW\Journal\Block\.

Machine Definition Files - These files are stored in the <PCDMISINSTALL>/CncMachineData folder. Sub-directories for each machine contain compens.dat, .PRB files, and the rotary table calibration files.

Machine Related Files - Controller files are located in the following directories that must be copied to the controller:

- Blum - <PCDMISINSTALL>/BLUM

- Fanuc - <PCDMISINSTALL>/FANUC

- Haas - <PCDMISINSTALL>/HAAS

- Heidenhain - <PCDMISINSTALL>/HEIDENHAIN

- Mazak - <PCDMISINSTALL>/MAZAK

- Okuma - <PCDMISINSTALL>/OKUMA

- Siemens - <PCDMISINSTALL>/SIEMENS

Monitor Program Set - The Monitor program set consists of NC programs which perform basic move/measure functions and the Monitor program which interfaces with interfac.dll. The NC Programs for move/measure may also be used in PC-DMIS NC as Wilcox probing macros without the Monitor.

The CNCServer.exe and the Ctrltdefaults.dll files are required for PC-DMIS NCI.
NCFanuc.dll - Interface file for the Fanuc controller that is renamed to interfac.dll as needed.
NCSiemens.dll - Interface file for the Siemens controller that is renamed to interfac.dll as needed.
Monitor Program Set - The set is resident on the NC Control and consists of a group of executable NC programs coordinated by a master Monitor program.
The Monitor program is started by the Operator when requested by PC-DMIS NCI to perform move and measure functions. PC-DMIS NCI treats the Monitor as a server and sends requests to it in the form of op codes and attendant data (like target position). When the Monitor completes an operation, the results and status are sent to PC-DMIS NCI and it waits for the next command.
When PC-DMIS NCI goes to Manual mode, it sends an exit command to the Monitor which gracefully terminates. The Cancel button is also active during PC-DMIS execution to immediately stop the Monitor.