Home > Available Help Files > PC-DMIS NC (Numerical Control) > PC-DMIS NCI > Step 2: Generating the Monitor Program
Current Help System: PC-DMIS NC (View Core Help)
Use a Monitor NC measurement routine to communicate between PC-DMIS NCI and the NC Controller. The set of NC measurement routines includes the Monitor measurement routine and all of the support macro measurement routines that it requires to implement movement and single point measurement. You can custom-generate Monitor measurement routines with the NC Gateway server application.
To generate a .CNC File:
Complete "Step 1: Install PC-DMIS NCI and Define a Machine". All parameters must be correctly set.
In the NC Gateway server application, verify that the settings for the machine you created are correct.
From the NC Gateway server application, generate a .cnc file for the control. Format the file name as "Wilcox"<controller Base name>.cnc (for example, WilcoxFanuc.cnc).
Load the newly-created .cnc file onto the NC machine. The name of the monitor set is WilcoxFanuc.cnc for Fanuc controls and WilcoxSiemens.cnc for Siemens controls.
Important Considerations for Generating Your .CNC File
If the generated measurement routine requires modifications to run, you can use the area in the NC Gateway server application that defines the machine to make changes. This ensures that you have a valid parameter set for automatic regeneration. Make the needed changes and exit to the main screen of the NC Gateway server application.
If you have edited the generated .cnc file using an editor such as Notepad, and you do not update the settings inside of the NC Gateway server application to match, then create backup copies of the modified Monitor measurement routine set from the control.
You cannot change the Macro Variable addresses by editing the .cnc file. PC-DMIS NCI uses the machine settings from the NC Gateway server application to define the addresses of these variables for communication.