About Subprograms in Mastercam Wire

Mastercam Wire provides the capability to include subprograms in an operation. A subprogram is an NC program that is called from the main NC program. It is used to repeat code (XY moves) within an operation. Using subprograms creates a shorter NC program.

Both contour and 4-axis wirepaths can use subprograms. In 4-axis wirepaths, subprograms are used to repeat passes that are the same. For contour wirepaths, subprograms are used to repeat passes that are the same, and also to create copies of the same part. All contours use the same subprogram.

NOTE
  • Use the Subprogram page of the wirepath dialog box to create and set parameters for wirepath subprograms.
  • You can use subprograms on a multi-contour operation where the contours are not identical. In this case, Mastercam Wire gives each contour its own subprogram numbers.

Learn more