Dpv Tutorial
Dpv Tutorial
Teamcenter 12.2
Dimensional
Planning and
Validation Tutorial
PLM00150 • 12.2
Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Overview of defining an inspection quality process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Understanding what you are measuring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
This tutorial steps you through the process of defining an inspection process to measure features
(geometric locations) on an all-terrain vehicle (ATV) to understand and monitor the profile of the right
hood, left hood, and grille relationship. It takes approximately an hour to run the entire tutorial.
Tutorial time: 1 hour
Basic requirements:
• You are familiar with Teamcenter.
• Have Microsoft Excel 2003 with compatibility pack for Excel 2007 installed or a later version of
Excel.
Note
The tutorial does not cover configuring DPV Extraction, Translation, and Loading (ETL).
3. Create a process structure (bill of process) also using the templates the administrator created.
Dimensional Planning and Validation provides a standard set of feature attributes. For this tutorial,
you use the standard attributes for locations and deviations (X_ACT, Y_ACT, Z_ACT, X_DEV, Y_DEV,
and Z_DEV). You will also create a custom attribute to capture the radius of the holes.
Administrators create templates from which users can quickly create new routines and inspection
devices. The templates are generic placeholders. Users create the actual occurrences of these
objects from the templates.
There are two types of templates:
• Inspection device
An inspection device represents an actual inspection device on the factory floor monitoring
the manufacturing process.
• Measurement routine
A measurement routine is an operation within a plant that defines the measurement data to be
collected from a specific type of inspection device.
Administrators can also use the Teamcenter Business Modeler IDE to configure inspection devices
and measurement routines, so some or all of the forms are automatically created when the device or
routine is created. For more information, see the section of the Business Modeler IDE Guide about
configuring Dimensional Planning and Validation.
In this lesson you create both types of templates.
• Creating the forms that define the inspection device, such as to specify error notification.
In this activity, you will create an inspection device and one of its forms.
Step 2: From the list, select Dimensional Planning And Validation Inspection Device.
Step 5: Type in the name for the template, Inspection device template.
Step 6: Type a description to help a user identify the template. For this tutorial, type Inspection
device template.
Step 4: In the New Form dialog box, select Dimensional Planning And Validation Device
Location.
At this point, you could also enter values for the form, which would become the default
values for routines created from this template, but for this tutorial, you will not define
values.
• Creating the forms that define the measurement routine, such as specify error notification.
The type of operation you create depends on the type of inspection device being used to collect
the measurement data. For this tutorial, you will create a measurement routine with an operation
of the type Manufacturing Engineering Visual Inspection, indicating that it is a vision inspection
station collecting the data.
In this activity, you will create a measurement routine template and one of its forms.
Step 2: In the New Operation dialog box, select Manufacturing Engineering Visual
Inspection.
Step 6: In the Description box, type Measurement routine template to help a user identify
the template.
Step 2: In the Attachments view, select the measurement routine, Measurement routine
template, you just created (the top line).
Step 4: In the New Form dialog box, select Dimensional Planning And Validation Error
Notification.
A bill of resource lets you see the actual resources that are used to measure a routine, including:
• The plant where the measurements are being taken. It is the top level of the bill of resource. You
can have stations below it.
• Inspection devices.
• Parsing scripts, which translate the raw measurement data from inspection devices to the
standard loading format (Document Markup Language) so the data can be stored in Teamcenter
for analysis and backup in a bill of resource in Teamcenter.
The following is the bill of resource with a plant called ATV plant, one inspection device, which has
device instance information and a parsing script, which translates the raw measurement data from
inspection devices to the standard loading format (Document Markup Language) so the data can be
stored in Teamcenter for analysis and backup.
For this activity, you will create a simple plant structure with only one level.
□ In the Find template by name dialog box, in the Name box, type *template*.
□ Click Find.
The templates that match the criteria appear in the dialog box.
Tip
Click Add to Favorites to save the template to a favorites palette so it
can be quickly accessed and used.
The Item Details section at the bottom of the dialog box is completed with the
information for the template you selected.
Step 3: Click the Configuration tab and choose the cloning rule Cloning.
Step 4: In the Item Details section, change the name of the device to
ATV_process_inspection_device and the description to ATV process
inspection device.
All other values (ID, revision, and type) are automatically set for you.
Copy the inspection device to the bill of resource and create forms
Step 1: Copy the inspection device to your bill of resource:
□ Select the inspection device revision, and choose Edit→Copy.
□ Choose Edit→Paste.
The inspection device appears in the ATV_plant tab.
Tip
Double-click the plant to see the inspection device beneath it.
Step 2: In the Attachments view, view the form created for the inspection device. There should
be one named Inspection device location.
You define engineering data in a process structure or bill of process. A bill of process is a
hierarchical structure designed in Teamcenter Manufacturing Process Planner that represents the
measurement or inspection process within a given plant. The structure defines the locations where
the measurement routines are executed throughout the plant. The measurement routine itself defines
the actual elements that are measured. Feature data, which you will add in Task 4, is stored in a
dataset. The plant in the bill of process must have the same name as the plant you created for the bill
of resource. They are different objects in Teamcenter, however.
Step 2: In the New Process dialog box, from the Process Type list, select MEPrPlantProcess.
Note
You must select the plant process in the Attachments view to create a form.
Step 4: In the New Form dialog box, select Dimensional Planning And Validation Location.
When you create the measurement routine from a template, Teamcenter creates all the necessary
forms you need to define the routine. You then edit the forms. To simplify the process for this tutorial,
the administrator created only one form, of the type Dimensional Planning And Validation Error
Notification, named Error Notification.
□ Click Find.
The templates that match the criteria appear in the dialog box.
Tip
Click Add to Favorites to save the template to a favorites palette so it
can be quickly accessed and used.
The Item Details section at the bottom of the dialog box is completed with the
information for the template you selected.
Step 5: Click the Configuration tab and choose the cloning rule Mapping_Consumes.
Step 6: In the Name box, type ATV_routine and in the Description box, type ATV routine.
All other values (ID, revision, and type) are automatically set for you.
Step 8: In the Attachments view, view the form Error Notification created for the measurement
routine.
You can enter the initial feature definitions in either XML or Excel. When you import the initial feature
definitions into Teamcenter, they are attached to the routine as a DPV Excel Engineering dataset.
Therefore, all edits are done in Excel.
In this activity, you import a DPV Engineering Excel worksheet into Teamcenter and add features
and feature attributes to it. Then, you edit the routine to remove and change features. As you import
it, the worksheet is automatically associated with the default rule set provided, which validates the
data according to DPV requirements. In your normal workflow, you would also associate it with a
custom rule set, which would validate the feature data according to your company’s standards. For
this tutorial, you will not associate the dataset with a custom rule set.
As explained in Understanding what you are measuring, you are creating features that monitor the
right and left hood and grille relationship. You are going to create ten features and their attributes.
The Excel Engineering workbook sample contains worksheets for defining the features and tolerances
and displaying errors and comments:
• FeatureInfo
Worksheet where you enter all the feature-level information and nominal data of the feature
attributes. Each row represents a different feature. Each feature can have many feature attributes.
• Discrepancy worksheets
The default rule set creates a worksheet called Discrepancy to display any validation errors,
such as if you entered a name that contains characters that are not allowed. A custom rule
set also creates a tab (usually named User Discrepancy) to display custom validation errors,
such as if you entered a name that is inconsistent with your company’s standards. When you
correct errors in the feature data, the corresponding entries are deleted from the Discrepancy
and User Discrepancy worksheets.
• Comment worksheets
You can add comment worksheets or comment columns to the DPV Excel Engineering workbook
to assist you in understanding the entered data. Comment columns must be added after all
other required columns.
Tip
Use Excel functionality, such as sorting and filtering, to help you enter and manage the data.
• The feature name is an alphanumeric string. All characters are allowed except:
,<>\/“‘&`@#(){}[]|: ;*^%
• Feature IDs are unique within a given routine. Feature IDs should be generated automatically
and not edited.
In addition, if you add a feature, it is added to the attributes worksheets. If you delete a feature, it is
deleted wherever it occurs in the DPV Excel Engineering workbook.
The data is also validated when you import the Excel workbook (Tools→Import Feature data),
and whenever you save it.
b. On the left, click Customize Ribbon and make sure Add-Ins is in your list of
displayed tabs. If it is not, click add it and click OK.
c. On the left, click Trust Center and then click Trust Center Settings.
f. Under Developer Macro Settings, select Trust access to the VBA project object
model.
Step 4: In Manufacturing Process Planner, click the tab associated with the ATV_process.
Step 8: From the Type list, select Dimensional Planning and Validation Excel.
Step 2: Click the Add-Ins tab and from the Apply XLSB (RULESET) menu, click the .xlsb file.
The following shows how the worksheet appears in Excel 2003 with a custom rule set
called customRuleB.xlsb and the default rule set (siemens.xlsb).
When the rule set is run, the default rule set creates a discrepancy worksheet called Discrepancy, if
one is not already available, in which it writes error and warning messages. The cells with errors are
also highlighted in red or yellow, depending on the level of error.
Tip
To keep the headers visible when scrolling in the worksheet, freeze the top row.
As you create the feature, the default rule set automatically adds the feature name to the
specification set worksheets to assist you later in defining tolerances (specifications). If you had
more specification sets, it adds the feature to all of the worksheets.
Note
All child elements of feature nominals are required. If there are no I2, J2, and K2 values,
enter the feature nominals with empty elements.
• On the FeatureInfo worksheet, type 0 in the columns X, Y, Z, I, J, K, I2, J2, and K2.
As you create the attribute, DPV validation automatically adds the name to the
specification set worksheets just as it added the feature.
For this tutorial, you also wanted to capture data about the radius of the holes. This is not
a standard attribute but you can simply add it to the feature definition.
Step 2: Add the custom attribute for radius. The text for the attribute is shown below. It will be
Attribute 7. You will need to create the columns for it.
Note
More steps are required to define a custom feature attribute depending on how
the feature attribute is displayed in the raw measurement data file and if you
want abbreviations used for it when it appears in DPV Reporting & Analysis
and reports. These steps are explained in the online help.
Step 2: Type the specification limits for the first feature attribute, by typing the following:
Note
USL and LSL are the upper and lower limits for the data range.
Step 2: Copy the features, their attributes, and specifications from the
ATV_routine_complete.xlsx file.
Note that the ATV_routine_complete.xlsx file contains the first feature you made in
the previous steps.
Your next steps would be to continue to configure the measurement routine for processing and
configure the collection of data. For more information, refer to the Defining the inspection quality
process help in the DPV or Teamcenter documentation.
Headquarters
Europe
Granite Park One
Stephenson House
5800 Granite Parkway
Sir William Siemens Square
Suite 600
Frimley, Camberley
Plano, TX 75024
Surrey, GU16 8QD
USA
+44 (0) 1276 413200
+1 972 987 3000
Asia-Pacific
Americas
Suites 4301-4302, 43/F
Granite Park One
AIA Kowloon Tower, Landmark East
5800 Granite Parkway
100 How Ming Street
Suite 600
Kwun Tong, Kowloon
Plano, TX 75024
Hong Kong
USA
+852 2230 3308
+1 314 264 8499