Control Definitions and Post Processors

In Mastercam, the post processor is tightly linked to the machine and control definition.

  • Use the Machine Definition Manager to select a post or change to a different post. This selection is stored as part of the machine definition.
  • The list of posts that you can select from is stored in the control file. After you select a control file in the Machine Definition Manager, you will be able to select the post.

You will only be allowed to use posts that have been properly configured in the control file. Use the Control Definition Manager to do this and ensure that it is available to be selected by the machine definition. The only place to select a different post processor is as part of the machine definition.

Many of the settings in the control definition replace the numbered questions found in posts for earlier versions of Mastercam, so that settings that previously required editing the .pst file should now be set in the control definition. Also, custom text that was stored in the .txt file in earlier versions of Mastercam is now stored in the .pst file and accessed through the control definition.

When you configure a post for use with a control definition, Mastercam writes a header with a unique control definition key, followed by control-specific text. Each individual .pst file can maintain separate sets of:

  • Post text, including custom cycles and parameters
  • Canned text
  • Miscellaneous integer/real variables and default values

This lets you configure the same post processor for use with several different controls, entirely independently of each other.

The control definition will work equally well with binary posts (*.psb files) and text-based posts (*.pst files).

NOTE
  • Creating the control definition is not a substitute for writing, editing, and properly testing a .pst file to make sure that it works with a particular machine, and is not intended to be a general purpose post editor. Instead, use control definitions to separate the control-specific content and settings from the processing logic of the .pst files, so that both will be easier to manage and maintain.
  • Many of the parameters that you see in the individual pages in the Control Definition Manager set specific post variables. If any post blocks inside the .pst file set a value for a variable that is set in the control definition, the value from the control definition will take precedence.

Learn more