Renishaw-Productivity-for-Mastercam-Tutorial
Renishaw-Productivity-for-Mastercam-Tutorial
PRODUCTIVITY+ FOR
MASTERCAM TUTORIAL
June 2018
RENISHAW PRODUCTIVITY+ FOR MASTERCAM TUTORIAL
June 2018
© 2018 CNC Software, Inc. – All rights reserved.
Software: Mastercam 2019
Terms of Use
Use of this document is subject to the Mastercam End User License Agreement. The Mastercam End User License
Agreement can be found at:
http://www.mastercam.com/companyinfo/legal/LicenseAgreement.aspx
ii
TABLE OF CONTENTS
Introduction 5
Installation Requirements 5
Minimum Requirements 5
Usage Prerequisites 5
Support 7
Part setup 9
Remachining 9
Associativity 9
Probe Operations 10
Posts 12
Tool Setting 15
Measuring 18
Machine Updates 18
Remachining 21
Reporting 24
iii
Conclusion 31
Mastercam Resources 31
Contact Us 31
iv
INTRODUCTION
This introduction to Mastercam's probing application using Renishaw’s Productivity+™ in Mastercam to combine prob-
ing with machining. It introduces you to some sample operations, addresses requirements, and discusses how
probe operations and posts work in Mastercam.
WARNING: Screen colors in the tutorial pictures were modified to enhance image quality; they may not
match your Mastercam settings or the tutorial results. These color differences do not affect the lesson or
your results.
l The tutorials cannot be used with Mastercam Demo/Home Learning Edition. The Demo/HLE file format
(emcam) is different from Mastercam (mcam), and basic Mastercam functions, such as file conversions and post-
ing, are unavailable.
l Each lesson in the tutorial builds on the mastery of the preceding lesson's skills. We recommend that you com-
plete them in order.
l Additional files may accompany a tutorial. Unless the tutorial provides specific instructions on where to place
these files, store them in a folder that can be accessed from the Mastercam 2019 workstation, either with the
tutorial or in any location that you prefer.
l You will need an internet connection to view videos that are referenced in the tutorials. All videos can be
found on our YouTube channel:
www.youtube.com/user/MastercamTechDocs
l All Mastercam tutorials require you to configure Mastercam to work in a default Metric or Inch configuration.
The tutorial provides instructions for loading the appropriate configuration file.
Installation Requirements
To take advantage of Productivity+ in Mastercam, you must have a Renishaw probe, which is operational and accur-
ate, installed on your machine tool, as well as functioning Inspection+ software. Productivity+ software generates
the necessary NC code.
Minimum Requirements
To run Mastercam 2019 with Renishaw Productivity+, you must have at least Mastercam 2019 Mill (Renishaw Pro-
ductivity+ is not compatible with Mastercam Lathe, or Mastercam Mill-Turn. For more information on Mastercam
product levels, please visit http://www.mastercam.com/Solutions.
Usage Prerequisites
In addition to experience working in Mastercam 2019, it is helpful to have a working knowledge of the Renishaw Pro-
ductivity+ suite.
5
Renishaw Productivity+ for Mastercam Tutorial—1: Introduction
When you use Productivity+, you need to alter the MP post and then post that output with a Renishaw post. CNC
Software, Inc. provides a HAAS post and supporting files with the install. Please contact your local Mastercam
Reseller about post customization for other machine tools.
6
Renishaw Productivity+ for Mastercam Tutorial—1: Introduction
Support
Productivity+ is a product of the Renishaw company. CNC Software, Inc. and it's approved Resellers support only the
integration and usage of Renishaw Productivity+ within Mastercam 2019.
l Part setup
l Inspection/reporting of basic geometric features (points, lines, planes, circles, web, and pocket sizes)
Notes:
When you post a part with a properly configured Mastercam 2019 post, it interacts with the .RenMF file to create
both probing and metal-cutting code. If your Mastercam 2019 post processor has not been properly configured,
probing operations will not be incorporated in the NC output.
7
8
PRODUCTIVITY+ IN MASTERCAM 2019
Renishaw Productivity+ allows you to use to program and simulate a Renishaw probe for your machine tool. It per-
forms simple measurements and alignments, and allows the set up and validation of your parts at the machine tool.
This can lead to better process control and reporting of the performance of your machine tool.
Part setup
Probing operations can calculate the position of part components and features and automatically update and/or set
your machine offsets.
Note: At this time, Productivity+ in Mastercam 2019 cannot be used on types of features with free-flowing surfaces,
such as ports.
Remachining
Productivity+ in Mastercam 2019 provides automated probing of your part during the machining process. This can
update your tooling parameters on features that might be undersized, set the offsets (i.e. diameter and wear off-
sets), and remachine the feature. This functionality also detects features that are oversized (out of spec) and cannot
be remachined, which can be set to end the process, eliminating wasted machine time.
Associativity
Probe toolpaths are associative to part geometry. If a part's geometry is moved or changed, the probe toolpaths
will update accordingly. Editing part geometry or moving a part in space, may result in dirty toolpaths. Regenerate
the dirty operations to update the toolpaths.
9
Renishaw Productivity+ for Mastercam Tutorial—2: Productivity+ in Mastercam 2019
Probe Operations
The probe operation is stored in Mastercam 2019’s Toolpaths Manager. Edit the operation, as needed, to make
adjustments. The operation is a snapshot of your model at the time the operation was created.
To create a probe operation, select Probe from the Mill Toolpaths or Router Toolpaths contextual tab.
Probe operation parameters are set in the Probing Dialog box. Your selections generate the following:
l Probe calibration
l Tool settings
l Reports
l Label statements to use as reference points in conjunction with the probe operation tree
10
Renishaw Productivity+ for Mastercam Tutorial—2: Productivity+ in Mastercam 2019
See Mastercam’s Help for more information on the functions and options available in this dialog box.
Use Renishaw’s embedded Help for more detailed information on the parameters you set for each function. Hover
over a setting, or click it to display Help information at the bottom of the dialog box. If the Help topic contains more
information than will fit in that section, you can either use the vertical scrolling bar, or resize the Probing Dialog win-
dow.
Note: A warning symbol or a red X to the left of a setting indicates a missing or erroneous value/parameter. Hover
over the setting for more information.
11
Renishaw Productivity+ for Mastercam Tutorial—2: Productivity+ in Mastercam 2019
Posts
Probing operations require an additional processing step before they are posted to your machine. This additional
processing incorporates instructions from the selected Renishaw machine file (.RenMF) and is initiated from the
Probing Post Tool dialog box which displays after you accept the settings in Mastercam’s standard Post processing
dialog box. (See Mastercam’s Help for more information on the Post Processing dialog box.)
12
Renishaw Productivity+ for Mastercam Tutorial—2: Productivity+ in Mastercam 2019
In order to successfully create probing output, you must have a post processor with probing enabled and a .RenMF
customized for your specific machine. Select the .RenMF after you have initiated the post from the Probing Post
Tool dialog box, or when you configure your probe operation from the Probe Configuration dialog box.
For more information on post files and posting probe operations in Mastercam 2019, see Productivity+ and
Mastercam Posts .
This guide uses the part file PROBINGEXAMPLE, which is provided with the tutorial, to demonstrate some of the avail-
able probe operations. The post file for the Generic Haas 4-axis machine (Generic Haas 4X Mill.pst) and the
mill machine definition (Generic Haas 4X Mill MM.mcam-mmd) is also provided.
13
Renishaw Productivity+ for Mastercam Tutorial—2: Productivity+ in Mastercam 2019
The mill machine definition must be placed in the following file location:
C:\Users\Public\Documents\shared Mcam2019\CNC_MACHINES
Before you can create a probing operation, your probe and stylus information needs to be communicated to the
Renishaw software within Mastercam 2019. The Select probe dialog box opens the first time you create a probe
operation.
l Edit: Opens the Edit Probe dialog box, where you can edit the properties of the current probing module and
stylus.
l Create: Opens the Edit Probe dialog box, where you can create a new probing module and stylus.
l Delete: Deletes the selected probing module from the database (completing this action requires con-
firmation).
14
Renishaw Productivity+ for Mastercam Tutorial—2: Productivity+ in Mastercam 2019
l Advanced: Expands the Select probe dialog box to display properties of the current probing module and
stylus.
Configure your probe and stylus by editing the following parameters. Be sure to change the Tool change ID, which
is intentionally set to require input. (You do not need to do this as part of the tutorial. This is a general procedure
that you can refer to as needed.)
1. Change the default Probe name to more easily identify your machine/probe installation.
2. Set the Tool change ID to the tool slot that your machine uses for the probe.
3. Click the Probe module drop-down to choose the probing module installed on your machine.
4. Click the Stylus drop-down to choose the stylus attached to your probe module.
The Probing Dialog dialog box opens after you have configured your probe and stylus information.
Note: Calibrate your probe with your controller as well as with your Productivity+ software before attempting to
use it in production. Create a calibration cycle from within Mastercam 2019 by selecting Probe Calibration on the
Probing Dialog toolbar.
Tool Setting
Prior to machining, if you have a tool setter on the machine, use Productivity+ to check tool offsets. Use the probe’s
breakage detection during processing to determine aberrations in tool diameter and length.
15
Renishaw Productivity+ for Mastercam Tutorial—2: Productivity+ in Mastercam 2019
1. To create a probe operation, select Probe from the Mill Toolpaths or Router Toolpaths contextual tab.
2. Select your tool setter type (contact or non-contact) from the Tool Setting menu. The most common tool set-
ter is the contact OTS.
3. From the fly-out menu, choose a tool length/diameter for your control, or select the generic option.
6. Click OK.
16
Renishaw Productivity+ for Mastercam Tutorial—2: Productivity+ in Mastercam 2019
Breakage Detection
Probe operations can monitor tool integrity during the cutting process. The procedure below describes the basic
steps that are required to create a tool inspection cycle. Specific settings are determined by your machine control
and tool setter.
3. From the fly-out menu, select the appropriate option. Choose the cycles that correspond to the macros that
are loaded on your control.
6. Click OK.
17
Renishaw Productivity+ for Mastercam Tutorial—2: Productivity+ in Mastercam 2019
Measuring
Probing operations use measurements obtained from selected or constructed entities to execute process control
tasks. Select a probe method from the options on the Probing Dialog toolbar and enter data, as necessary, to create
an inspection cycle.
l Webs or Pockets
Machine Updates
Operation 1 in the sample part shows an example of using a probe operation to establish the part position and then
updating the machine settings based on the measurements.
As with other Mastercam toolpaths, you can click in the Toolpaths Manager to view the operation’s settings. Open
the Operation 1 parameters to see how each inspection cycle is used to update the machine.
18
Renishaw Productivity+ for Mastercam Tutorial—2: Productivity+ in Mastercam 2019
Update2 redefines the selected WCS by changing the Z coordinate to equal the measured point in Cycle1.
You can make the following machine updates with Productivity+ by selecting an option from the Update Type drop-
down list. The availability of these options depends on the type of cycle you are referencing.
19
Renishaw Productivity+ for Mastercam Tutorial—2: Productivity+ in Mastercam 2019
Feature characteristics obtained from a probe can be reported to the user, used in calculations, or used in logic
statements.
Update6 redefines the selected WCS by changing the X and Y coordinates to equal those measured in Cycle2a,
establishing the part center.
20
Renishaw Productivity+ for Mastercam Tutorial—2: Productivity+ in Mastercam 2019
Update2 redefines the selected WCS by changing the X and Y coordinates to equal those measured in Cycle2a,
establishing the part center.
Note: The options listed for WCS to Update are populated by the planes that are created in Mastercam’s Planes
Manager. Work offset numbers assigned in the Planes Manager will automatically be used when the plane is
changed in the probing operation. See Mastercam’s Help for more information about the Planes Manager.
Remachining
Operation 7 in the sample part shows an example of creating a probe operation to check the feature for out-of-tol-
erance measurements. If the probing cycle picks up out-of-tolerance measurements, you can program Pro-
ductivity+ to modify the tool offsets (length, diameter, or wear) and remachine the feature. In cases where
remachining cannot repair the feature (i.e., oversized holes), you can also program Productivity+ to stop the
machine.
Open the Operation 7 parameters to see how Productivity+ uses logic statements to remachine features.
21
Renishaw Productivity+ for Mastercam Tutorial—2: Productivity+ in Mastercam 2019
The Measure Circle function probes points within the hole to establish its inner diameter (ID).
l If...Then
l Else If
l Else
To enter or edit a condition statement—the If or Else If portions of the logic branch—open the Condition Builder dia-
log box. From the Probing Dialog click the condition field, and then click Browse on the right side of the field. A hard
value may also be entered here.
22
Renishaw Productivity+ for Mastercam Tutorial—2: Productivity+ in Mastercam 2019
In the Condition Builder dialog box, a Controlling Condition defines the relationship between any two of the fol-
lowing:
l Nominal values
Condition options (Condition 1 and Condition 2) can refer to any feature you have defined in any probing cycle or to
a nominal value that you enter.
Note: In the Condition Builder, you can right-click on a feature to quickly select an entity attribute or the nominal
value of a entity.
In Operation 7, the If statement checks the probed diameter of Circle1 to a nominal value of 19.5 mm.
Add the actions you would like performed to the Then or Else portions of the logic branch. Action statements would
typically be a machine update, g-code block, or GoTo statement.
Operation 7 lists two different courses of action based on whether the measured diameter is less than 19.5 mm or
not:
23
Renishaw Productivity+ for Mastercam Tutorial—2: Productivity+ in Mastercam 2019
If the diameter of Circle1 is less than 19.5 mm, the Then statement programs a machine update that modifies the
tool diameter offset and then returns the process to a label (Label2) established in Operation 5, so that the part can
be remachined with the Contour toolpath (Operation 6).
Else (if the diameter is not less than 19.5 mm), the process should proceed to Label 4, which is located in Operation
8.
Note: Open the parameters for Operations 5 and 8 to view Label2 and Label4.
Reporting
With any probe cycle, you have the option to output measured data into a report to a file or RS232 port. Operation
3 in the sample part uses a probe operation to inspect part features after machining and generate a report. This
reporting happens by whichever means your machine currently dprints (for example, via RS232 or to a file).
Note: The report format is generated by your control’s library macros and depends on your machine control. The
current DPrint setting is used to output the report.
24
Renishaw Productivity+ for Mastercam Tutorial—2: Productivity+ in Mastercam 2019
Cycle3 – Inspect
Cycle3 inspects three selected points to establish a plane.
Cycle6 – Report
Cycle6 generates a report that lists the outcome of Cycle3.
25
Renishaw Productivity+ for Mastercam Tutorial—2: Productivity+ in Mastercam 2019
The sample part generates a report fairly early in the cutting process. However, you can generate reports at any
time: before, during, or after machining. If you want to show Tolerancing, you must turn tolerancing on in the
report cycle.
26
PRODUCTIVITY+ AND MASTERCAM POSTS
When you post a part with a properly configured Mastercam 2019 post, it interacts with the .RenMF file to create
both probing and machining code. If your Mastercam 2019 post processor has not been properly configured, prob-
ing operations will not be incorporated in the NC output.
Please contact your local Mastercam 2019 Reseller about post customization for other machine tools.
The following exercises require both a Productivity+ enabled machine definition and post processor.
Note: If your part was not created with a Productivity+ enabled machine definition, replace its current
machine definition with one that points to a properly configured post in the Machine Group Properties dialog
box.
27
Renishaw Productivity+ for Mastercam Tutorial—3: Productivity+ and Mastercam Posts
3. Click OK. Also, click Save in the Save As dialog box that appears.
28
Renishaw Productivity+ for Mastercam Tutorial—3: Productivity+ and Mastercam Posts
4. The posting process begins and the Probing Post Tool dialog box displays.
Note: Select Strip NC to remove all probing calls from the posted NC code. Remember that the Renishaw
machine file must be customized for your specific machine before you can run the posted code. Refer to your
Renishaw product documentation.
7. Select Process. When processing completes, the Log Output tab displays the processing results.
29
Renishaw Productivity+ for Mastercam Tutorial—3: Productivity+ and Mastercam Posts
The following picture shows how some sample posted code looks in Mastercam's Code Editor.
30
Renishaw Productivity+ for Mastercam Tutorial—Conclusion
CONCLUSION
Congratulations! You have completed the Renishaw Productivity+ for Mastercam Tutorial! Now that you have
mastered the skills in this tutorial, explore Mastercam's other features and functions.
You may be interested in other tutorials that we offer. Mastercam tutorials are being constantly developed, and we
will add more as we complete them. Visit our website, or select Help, Tutorials from the File tab.
Mastercam Resources
Enhance your Mastercam experience by using the following resources:
l Mastercam Documentation—Mastercam installs a number of helpful documents for your version of software
in the Documentation folder of your Mastercam 2019 installation.
l Mastercam Help—Access Mastercam Help by selecting Help, Contents from Mastercam's File tab or by press-
ing [Alt+H] on your keyboard.
l Mastercam Reseller—Your local Mastercam Reseller can help with most questions about Mastercam.
l Mastercam Tutorials—We offer a series of tutorials to help registered users become familiar with basic
Mastercam features and functions. Visit our website, or select Help, Tutorials from Mastercam's File tab to
see the latest publications.
l Mastercam University—Mastercam University, an affordable online learning platform, gives you 24/7 access to
Mastercam training materials. Take advantage of more than 180 videos to master skills at your own pace and
help prepare for Mastercam Certification. For more information on Mastercam University, please contact
your Authorized Mastercam Reseller, visit www.mastercamu.com, or email [email protected].
l Online Communities—You can find a wealth of information at www.mastercam.com. For tech tips and the
latest Mastercam news, follow us on Facebook (www.facebook.com/mastercam), Twitter
(www.twitter.com/mastercam), or Google+ (plus.google.com/+mastercam). Visit our YouTube channel to see
Mastercam in action (www.youtube.com/user/MastercamCadCam)! Registered users can search for inform-
ation or ask questions on the Mastercam Web forum, forum.mastercam.com, or use the knowledgebase at
kb.mastercam.com.
Contact Us
For questions about this or other Mastercam documentation, contact the Technical Documentation department by
email at [email protected].
31
ATTENTION! UPDATES MAY BE AVAILABLE.
PLEASE REFER TO MASTERCAM.COM/SUPPORT
FOR THE LATEST DOWNLOADS.