Adding a Post to the Machine Definition

Before you can use a post (.pst file) to generate NC code for your machine tool, a control definition has to be created for it. This ensures that you can select the post in the Machine Definition Manager:

The "post-processor" drop-down menu in the Machine Definition Manager.

When a post is properly configured, the following conditions are met:

  • Mastercam has created the proper headers in the post file for the post text and miscellaneous values.
  • Mastercam has verified that the post file exists.

A properly configured post has a green check mark next to it when you see it in the Control Definition Manager:

A post with a green checkmark.

If your post has a different status icon, or does not appear in the list, follow these steps to configure it.

  1. Open the desired control file in the Control Definition Manager.
  2. Select the Control type.

    The "machine/control type" drop-down menu.

  3. Click on the post processor list and select the desired post.

    The "post processor" drop-down list.

  4. Review the post status icons to make sure that it can be properly configured. If the post is not listed at all, click Post processor and choose Add files to add it to the list.
  5. Work through the control definition pages and set the options as appropriate for the new post.
  6. Click Save on the Control Definition Manager toolbar (or Save as to save it in a new control file). The post status icon should change to a green check mark.

If you open the .pst file now and scroll near the bottom, you will see the following header:

[CTRL_MILL|BPT-DX32] 

The CTRL header includes the type of control (MILL) and the name of the control file in which the control definition is saved. In this example, it was saved in the file BPT-DX32.mcam-control. Each time you configure a post to work with a control definition, Mastercam appends a text section with a header indicating the type of control and the name of the control definition file.

NOTE

Creating a control definition and configuring the post as described here is not a substitute for writing, editing, and properly testing the .pst file to make sure that its output is compatible with a particular machine, often referred to as "writing a post". That must be done in addition to the steps described here, and is outside the scope of this help file. For more information, contact your Mastercam Reseller.

Learn more