Moving Machine Definitions, Control Definitions, and Posts to a Network
By default, Mastercam stores all machine and control definitions in the ..\<Shared Data Folder>\CNC_MACHINES folder. Creating machine definitions in a network location or creating control definitions based on posts in a network location, is no different than creating them on a local workstation. However, if you move a machine definition from a local workstation to a network location, you need to reconfigure it so that it works properly. Complete the tasks outlined below. Click on any task to learn more and see detailed step-by-step instructions.
The following files need to be moved or copied to the network location:
- Machine definition (.mcam-mmd, .mcam-lmd, .mcam-rmd, .mcam-wmd)
- .mcam-control file which contains the desired control definition
- The post processor (.pst/.mcpost, .psm/.mcdpost, .psb/.mcbpost)
For example, to move the Mill 4-axis VMC machine definition to a network drive, you need to move Mill 4-Axis VMC.mcam-mmd, Generic Fanuc 4X Mill.mcam-control, and Generic Fanuc 4X Mill.pst. It does not matter whether or not you copy them to the same folder.
- Start the Control Definition Manager from the Machine tab.
-
Select Open to open a .control file.
If your current Mastercam file already has an active machine group, you will find this button in the Control Definition Manager toolbar.
-
Navigate to the network location and open the .mcam-control file that you just moved there. The title bar should display the proper network path:
-
Make sure that the Control type displays the desired machine type.
- Click Post Processors .
- Click Add files and select the desired post processor from the network location. Click OK.
-
Select the network post from the Post Processors drop-down menu.
-
Save the new control definition:
- Click Save to save the new control definition in the current control file, or;
- Click Save As to create a new control file with the control definition.
Now that you have created a new control definition that points to the post on the network, you need to copy the control definition settings from the original control definition (the one that points to the local copy of the post processor) to the new one. The data that you will be copying are the values from all the control definition pages (except for the Operation Defaults page and the Text page).
- Go to any data page for example, Tolerances, and right-click. (Right-click in a gray area, not inside a field.)
- Select Import, All pages.
- Select the .control file that you copied to the network location and click Open.
-
Mastercam should display all of the control definitions in the selected control file. There should be two that list the same post processor: one that points to the version on your local drive, and one that points to the version on your network drive. Select the one that points to your local drive and click OK.
- Save the control definition.
If necessary, you can copy the post text from the original control definition to the new control definition. You only need to do this if you did a Save As earlier and renamed the new control file on the network. If you kept the same name, skip ahead to Delete the original control definition below.
- Go to the Text page.
- Right-click in any data cell and choose Import, All sheets, From post.
- Select the post that contains the original post text. This can be either the network copy or the local copy.
-
Mastercam will display the names of all the control definitions to which the post has been added. Select the name of your original control definition and click OK.
- Save the control definition.
At this point, your control file has two control definitions with the same post name: one points to the local copy of your post, the other points to the network copy of your post. Mastercam will not allow you to keep both versions, so you need to delete your original control definition.
- Click Post processors.
-
Select the local copy of your post processor.
- Click Delete files and OK.
- Click the Post processors drop list. The local copy should no longer be visible, just the network copy.
- Save the control definition.
- Close the Control Definition Manager.
The final procedure is to edit the machine definition so that it points to the new, network version of the control file, not the version on your local drive.
- Start the Machine Definition Manager from the Machine tab. If your part file already has an active machine group, you will first see an alert message about editing the current machine definition; click OK to continue.
- Click Open and navigate to the network location where you copied the machine definition.
- Select the desired machine definition and click Open.
-
Click the folder under Control Definition.
- Select the network folder with the new control file and click OK.
- Select the new post processor.
- Save the machine definition and exit.
Complete all of the control definition procedures in a single session of the Control Definition Manager. If you exit the Control Definition Manager before completing all the steps, you will need to start over from the beginning.





