CIMPLICITY HMI
Statistical Process Control
Operation Manual
GFK-1413C
November 1998
GFL-002
Warning notices are used in this publication to emphasize that hazardous voltages, currents, temperatures, or other
conditions that could cause personal injury exist in the equipment or may be associated with its use.
In situations where inattention could cause either personal injury or damage to equipment, a Warning notice is used.
Caution notices are used where equipment might be damaged if care is not taken.
Note
Notes merely call attention to information that is especially significant to understanding and operating the equipment.
This document is based on information available at the time of publication. While efforts have been made to be accurate,
the information contained herein does not purport to cover all details or variations in hardware or software, not to provide
for every possible contingency in connection with installation, operation, or maintenance. Features may be described
herein which are not present in all hardware and software systems. GE Fanuc Automation assumes no obligation of
notice to holders of this document with respect to changes subsequently made.
GE Fanuc Automation makes no representation of warranty, expressed, implied, or statutory with respect to, and assumes
no responsibility for the accuracy, completeness, sufficiency, or usefulness of the information contained herein. No
warranties of merchantability or fitness for purpose shall apply.
Preface
GFK-1413
iii
Related Publications
For more information about CIMPLICITY HMI software, refer to these publications:
CIMPLICITY HMI for Windows NT and Windows 95 Base System Users Manual
(GFK-1180)
CIMPLICITY HMI for Windows NT and Windows 95 CimEdit Operation Manual
(GFK-1396)
iv
GFK-1413
Contents
Introduction
1-1
SPC Overview
2-1
3-1
4-1
Introduction............................................................................................................................ 4-1
Overview of Data Configuration Steps................................................................................... 4-2
SPC Document ....................................................................................................................... 4-3
Opening a New Document ....................................................................................... 4-3
Defining Document Properties................................................................................. 4-4
Products.................................................................................................................................. 4-6
Adding a New Product............................................................................................. 4-6
Defining Product Properties..................................................................................... 4-6
Variable Quality Characteristics............................................................................................. 4-8
Adding a New Variable Quality Characteristic........................................................ 4-9
Specifying a Variables General Characteristics....................................................... 4-9
Defining a Variables Collection Characteristics.................................................... 4-12
Setting Limits for Variable Quality Characteristics ............................................... 4-16
Setting Alarms for Variable Quality Characteristics .............................................. 4-22
Defect Folders ................................................................................................................. ..... 4-33
Adding a New Defect Group.................................................................................. 4-33
Defining Defect Folder Properties ......................................................................... 4-33
Defect Quality Characteristics.............................................................................................. 4-35
Adding a New Defect Category ............................................................................. 4-35
Specifying a Defect Categorys General Characteristics ........................................ 4-36
Defining Defect Category Collection Properties.................................................... 4-36
SPC Administration Alarms ................................................................................................. 4-39
Document Tools ................................................................................................................... 4-40
Document Tree ...................................................................................................... 4-40
GFK-1413
5-1
6-1
A-1
C-1
D-1
D-1
vi
GFK-1413
F-1
GFK-1413
Glossary of Terms
Index
Contents
vii
Introduction
SPC provides the industry standard set of statistical tools which allow you to analyze
the data and transform it to useful information. Round the clock, CIMPLICITY HMI
with the SPC option can be collecting, analyzing, and through alarms, warning you of
potential quality problems. This frees you up to concentrate on the improvement
phase of your quality program. CIMPLICITY HMI and SPC are also critical during
the control phase, allowing you to monitor the changes you've made and verifying the
results.
The CIMPLICITY HMI SPC option provides you with the tools you need to perform
SPC analysis on your process data. These tools include the following types of charts
and printed reports:
XBar R
XBar S
X Individual
Histogram
Pareto
GFK-1413
1-1
CIMPLICITY HMI SPC also provides centralized configuration. This allows you to
configure and maintain all the various quality characteristics and specification limits
for your process in a centralized location even though your charts may be spread
across several different screens on you HMI system.
CIMPLICITY HMI SPC also provides you with the ability to identify the variables,
their control limits, and defects that you monitor as CIMPLICITY Points.
CIMPLICITY SPC analysis occurs continuously as new data is collected for XBar
R, XBar S and X Individual charts, the collected data is processed and checked
against the industry standard Western Electric rules.
Major features of the CIMPLICITY SPC option include:
1-2
Tabular reports that let you view numeric data in table format.
Access to changing values for sample sizes, control limits and auto
recalculation during runtime.
Calculated data stored in a database via ODBC that lets you use
standard database tools for such things as exporting data, reporting and
maintenance.
GFK-1413
SPC Configuration. This user interface lets you configure the quality
characteristics you want to analyze.
The charts were created using CIMPLICITY HMI v3.1, but you did not
purchase and install the Enhanced SPC software (IC646NSP000A)
prior to making them.
If you attempt to display a screen containing one of these charts, you will see a
message indicating that the charts on the screen must be upgraded.
For information on upgrading old charts, please see Upgrading Quality Charts to
Enhanced SPC Charts in Appendix F.
GFK-1413
Introduction
1-3
2.
3.
1-4
GFK-1413
SPC Overview
SPC Analysis
SPC uses statistical methods to determine whether processes are within required
limits. While CIMPLICITY HMI softwares normal alarm functions detect when
individual points actually exceed limits, SPC analysis can provide early warning by
detecting undesirable systematic variations in your process. This can help you
pinpoint process, machine, operator, or material problems so that actions can be
taken to diagnose and resolve the problem.
CIMPLICITY SPC uses an SPC ActiveX control that supports:
The data is retrieved from ODBC logging, analyzed according to the standard SPC
calculations for the chart, and the results are displayed graphically. This ActiveX
control can be used in CimEdit/CimView screens or other applications, such as
Internet Explorer, that support ActiveX controls.
The SPC charts display values between -8 sigma (-8 ) and +8 sigma (+8 ). Data
outside of this range is not displayed, but it is still used in the chart calculations.
Suggested Readings
This manual shows you how to use the SPC option available for CIMPLICITY HMI
software. If you want more in-depth information about SPC, please consult one of
the many SPC publications that are currently available.
Some suggested publications are:
Easy as SPC, Perry Johnson, Inc., 1986
Statistical Quality Control Handbook, Western Electric Co., Inc., 1959
Quality Control and Industrial Statistics, Charbonneau and Webster, 1978
Introdution to Statistical Quality Control, Montgomery, 1985
Statistical Process Control, Chrysler Corporation, Ford Motor Company and
General Motors Corporation, 1995
Some professional groups that publish manuals and booklets about SPC are:
American National Standards Institute
American Society for Quality Control
American Society for Testing and Materials
GFK-1413
2-1
SPC Configuration tells the Data Collector how and from where to collect the data.
The Data Collector gathers CIMPLICITY point, ODBC and manual entry data,
performs its required calculations and stores the results in the SPC ODBC data
source.
The SPC ActiveX control displays the data from the SPC ODBC data source. It can
also send manual entry data back to the Data Collector for processing.
2-2
GFK-1413
X-Individual chart
XBar-R chart
XBar-S chart
Histogram
In general, a control chart consists of a center line corresponding to the average value
at which the quality characteristic should perform, and lines corresponding to the
upper and lower control limits for the characteristic. The upper and lower control
limits are also referred to as the upper and lower three-sigma control limits.
X-Individual Chart
The X-Individual chart is sometimes called a pre-control chart. This type of chart is
used to determine the stability of the center of the process. The control limits are
calculated by determining the standard deviation of the sample population. The
formulas for calculating the standard deviation and control limits are detailed in
Appendix B.
The SPC ActiveX control for an X-Individual chart looks similar to this:
GFK-1413
SPC Overview
2-3
XBar-R Chart
The XBar-R chart displays two charts, one for the Xbar values and the other for the
Range values. The formulas for calculating the center lines and control limits for the
XBar-R control chart are detailed in Appendix C.
The SPC ActiveX control for an XBar-R chart looks similar to this:
XBar-S Chart
The XBar-S chart displays two charts, one for the XBar values and the other for the
Sigma values. The formulas for calculating the center lines and control limits for the
XBar-S control chart are detailed in Appendix D.
The SPC ActiveX control for an XBar-S chart looks similar to this:
2-4
GFK-1413
Histogram
The Histogram shows you the distribution, the central tendancy and the scatter or
variability of the sample data, and calculates process capability. The formulas for
calculating process capability from the Histogram chart are detailed in Appendix E.
The SPC ActiveX control for a Histogram looks similar to this:
Pareto Charts
The SPC ActiveX control displays the following Pareto chart for defect data:
The Pareto chart displays the data for the defect categories and quantities you define
for a defect folder.
An example of such a chart is:
GFK-1413
SPC Overview
2-5
Reports
You can display and print data from the SPC ActiveX control for each type of SPC
chart. The report looks similar to this:
2-6
GFK-1413
GFK-1413
3-1
Introduction
Important: The SPC Data Collector logs its raw and calculated data to an ODBC data
source. Before you start configuring SPC for a project, make sure that the CIMPLICITY
Database Logger is installed and configured for the project.
You, the applications engineer, can choose from several SPC collection options, including
using points, to track the quality of variables and frequency of defects. You can also
implement several types of control tests, the results of which can be displayed on XBar-R or
XBar-S chart sets.
Therefore, your decision making will benefit if you begin configuration by considering factors
that will be affected by and included in your SPC application or applications. These factors
include:
1.
GFK-1413
2.
3.
4.
4-1
An SPC document.
This document will contain all the products, along with their
variables and defects, that you want to group together.
The document has properties that you specify. For example
you will specify the ODBC data source where you want to
store the calculated data from the SPC Data Collector. That is
where SPC will store information for every product in the
document.
2.
3.
4.
4-2
a.
b.
Collection characteristics
c.
Limits
d.
Alarms
e.
Calculation Type
SPC generates a histogram for any variable you add. In
addition you will choose between an:
XBar-R chart set to view the range between the highest and lowest
point in a sample.
This range is relatively efficient for small subgroup sample sizes
(especially below 9). Although it provides you with a spread, it does not
give you a clear indication of where the points fall relative to your
control limits.
GFK-1413
Defect Description
Collection characteristics
There is one type of measurement for defects. SPC generates Pareto charts.
Of course, you can add, remove or change anything, whenever you want.
Note: If you already know the control limits for a process, simply enter them. If you do not,
for example because the process is new, use SPC auto recalculation to calculate the limits.
When you are comfortable with the calculated limits, enter the calculated limits and turn SPC
auto recalculation off.
SPC Document
Software configuration for SPC begins with opening and configuring an SPC document. You
add one or more products to this document. When the document is active, every product in it
will be tracked, unless you deactivate tracking for one or more of the products at the product
level. See "Defining Product Properties".
The first time you click the SPC Configuration icon, you will open to a new document. The
SPC document appears with one folder, Products, in the left pane. You place all your
products and their accompanying variables and defects in the Products folder.
You can build more than one document in a project.
To create additional new documents:
1.
Click File.
2.
Click New.
3.
GFK-1413
4-3
Important: If you are defining more than one SPC document in a project, use the same data
source for all.
As you build your configuration, you add a hierarchy of subfolders to Products, as
follows:
1.
2.
2.
3.
4-4
GFK-1413
2.
3.
Select Properties.
Active
GFK-1413
Database User
Password
Enter the password that the SPC Data Collector will use
when logging in to the ODBC data source.
4-5
Products
After you define the basic parameters for your document, you can add the products that will be
included in the group. To do this, create a folder for each product. The Product folder will be
a sub-folder to the Products folder.
2.
Select New.
3.
Select Product.
Method 2
1.
2.
3.
The Product Properties dialog box opens when you use either method.
Name
Description
Resource ID
You can also activate or de-activate data collection for this product.
Once the product is set up, you add its variables and potential defects that will be tracked.
4-6
GFK-1413
GFK-1413
Product name
Description
Resource ID
Active
4-7
If you enter specific values during configuration and SPC detects an inconsistency, it will
display an error message and will not let you save the configuration until you fix it.
Example
You select Values to enter a variables control limits and enter 25 for an Upper Control
Limit, 50 for a Lower Control Limit. SPC will display an error message telling you that, "The
upper control limit must be greater than the center line and the center line must be greater than
the lower control limit".
Note: If you use points for general characteristics on limits, rather than specific values, SPC
will alert the user when the values become specific at runtime. If SPC detects configuration
inconsistencies, it will display an $SPC_ADMIN_ALARM in the Alarm Viewer. See "SPC
Administration Alarms".
4-8
GFK-1413
2.
Select New.
3.
Method 2
1.
2.
3.
The Variable Quality Characteristics Properties dialog box opens at the General tab when
you use either method.
Note: When you create a new characteristic, SPC calls it VAR, in the document tree. If there
is more than one variable that you have not named, SPC identifies each with a number, in the
order in which they were created. For example the second variable will be VAR(2). The
document tree also contains a description that you will enter in the General tab. Therefore, all
you have to do is rename it, at any time.
GFK-1413
1.
2.
3.
Gap size
4-9
4-10
Active
Description
Calculation Type
Setpoint ID
Values / Points
Subgroup size
Gap size
Enter the number of units SPC will skip before the next
sample is taken.
GFK-1413
Subgroup size
Gap size
Subgroup size
Enter a specific value for the sample size.
Gap size
Enter a specific value for how many units will be skipped before the next sample is
taken.
GFK-1413
4-11
None
Automatic, either:
Logged
In addition, specify whether or not manual entry will be allowed. Manual entry can be allowed
for any type of data collection you choose. SPC automatically includes manual entry when you
choose None.
When you use a point to collect information, you can also use:
To define these collection characteristics, use the Collection tab in the Variable Quality
Characteristics Properties dialog box.
4-12
GFK-1413
Point ID
Start element
End element
EU conversion
Match Point ID
Match value
GFK-1413
Batch Point ID
4-13
Note: SPC logs all of its data. Therefore, the Logged option is not necessary for saving
data. It refers to using an additional data source for input. The Point collection method is
more efficient.
When you select Logged collection in the Collection tab of the Variable Quality
Characteristics Properties dialog box, its fields change to reflect that choice.
Database user
Password
Enter the password that the database user will use when
logging in to the ODBC data source.
Table ID
Column ID
4-14
GFK-1413
GFK-1413
Is automatically selected.
4-15
Control
Specification
If you enter specific values during configuration and SPC detects an inconsistency, it will
display an error message and will not let you save the configuration until you fix it. For
example, you select Values to enter a variables control limits and enter 25 for an Upper
Control Limit, 50 for a Lower Control Limit. SPC will display an error message telling you
that, "The upper control limit must be greater than the center line and the center line must be
greater than the lower control limit".
If you use Points for general characteristics on limits, rather than specific values, SPC will
alert the user when the values become specific at runtime. If SPC detects configuration
inconsistencies, it will display an $SPC_ADMIN_ALARM in the Alarm Viewer. See "SPC
Administration Alarms".
4-16
GFK-1413
Auto recalculation
Entering values
(Specific) values
Points
Important: The Quality Control rules you have always followed for Control Limits still
apply to both SPC automatic recalculation options. Calculate the limits for a specific process
once, when the process is new or, when the process is in optimum condition.
Once you determine that SPC has automatically collected enough data to calculate the correct
control limits, turn the automatic calculation option off. Use the calculated control limits for
the rest of the life of the process.
Remember that the control limits produced by auto recalculation are valid only when your
process is in control. If you calculate them while your process is going out of control then the
limits will be incorrect.
Selecting Auto recalculation on the Limits tab of the Variable Quality Characteristics
Properties dialog box enables SPC to automatically calculate specific control limit values or
point values.
GFK-1413
4-17
4-18
GFK-1413
All casesWhenever the Force Auto Recalc point is set to either FALSE or
TRUE, and regardless of its previous value, the data collector will drop the current
sample and start fresh.
Setting the point back to FALSE will stop recalculation of control limits, but SPC
will continue to use the last calculated values. However, if you are using points for
control limits, any future point changes will still be honored.
Setpoint ID
If you want to use the current control limit values elsewhere in your project or
download them to a device, enter the name of a floating point array point. This point
should contain six (6) elements for all values to be set.
The order of values in the Setpoint ID array point is:
XBar LCL, XBar CL, XBar UCL, R/S LCL, R/S CL, R/S UCL
GFK-1413
4-19
4-20
Enter the values for the XBar charts Upper Control Limit,
Center Line and Lower Control Limit.
GFK-1413
GFK-1413
Specification limits
4-21
Lower
Upper
4-22
Setpoint ID
GFK-1413
To specify an alarm and Setpoint, enter the information in the top half of the Alarm tab.
Alarm ID
GFK-1413
Setpoint ID
Alarm Enabled
4-23
Note: When you create a control chart, you can select samples for exclusion.
Pictorially, they look like this:
Zone
Std. dev
UCL
Center Line
LCL
Check each field in the lower half of the Alarms tab that represents a test you want to perform.
Tests are:
4-24
GFK-1413
Control Test 1
This test checks to see if any subgroups on the chart have a value greater than the upper
control limit or less than the lower control limit. Subgroups that meet the test criteria will be
marked with a red asterisk.
For example:
Control Test 2
This test checks to see if N subgroups in a row are on the same side of the center line. The
Nth subgroup and all following subgroups that meet the test criteria will be marked with a red
asterisk.
For example, if N=8:
GFK-1413
4-25
Control Test 3
decreasing
This test checks to see if N subgroups in a row are increasing in value or decreasing in value.
The Nth subgroup and all following subgroups that meet the test criteria will be marked with a
red asterisk.
For example, if N=6:
Control Test 4
This test checks to see if N subgroups in a row are alternately increasing in value then
decreasing in value. The Nth subgroup and all following subgroups that meet the test criteria
will be marked with a red asterisk.
For example, if N=14:
4-26
GFK-1413
Control Test 5
M out of N subgroups in a row in Zone A or beyond
(same side of center)
This test checks to see if M out of N subgroups in a row on the same side of the center line are
in Zone A or beyond. The Mth subgroup that meets the test will be marked with a red
asterisk.
For example, if M=2 and N=3:
Control Test 6
M out of N subgroups in a row in Zone B or beyond
(same side of center)
This test checks to see if M out of N subgroups in a row on the same side of the center line are
in Zone B or beyond. The Mth subgroup that meets the test criteria will be marked with a red
asterisk.
For example, if M=4 and N=5:
GFK-1413
4-27
Control Test 7
center
This test checks to see if N subgroups in a row lie in Zone C on either side of the center line.
The Nth subgroup and all the following subgroups that meet the test criteria will be marked
with a red asterisk.
For example, if N=15:
Control Test 8
below center
This test checks to see if N subgroups in a row lie beyond Zone C on either side of the center
line. The Nth subgroup and all following subgroups that meet the test criteria will be marked
with a red asterisk.
For example, if N=8:
4-28
GFK-1413
Important: When calculating control limits, variation must be due to common causes only.
Variation cannot be attributable to special causes or control limits are not valid.
The SPC exclusion process evolves as follows:
1.
2.
3.
2.
3.
Exclusion Mode
GFK-1413
4-29
Method 2: Chart property page of the SPC Control Properties property sheet.
1.
2.
3.
Exclusion Mode
4-30
GFK-1413
GFK-1413
1.
2.
3.
4-31
1b
1a
X
1a
1b
2a
or
2b
2b
2a
4-32
GFK-1413
Defect Folders
In addition to entering product variables information, enter information that SPC needs to
track a products defects. SPC displays each group of defects on a Pareto chart. To configure
defects:
Click the right mouse button and select New Defect Folder
from the pop-up menu.
GFK-1413
Name
Description
4-33
Active
Match Point ID
Match value
Batch Point ID
Collection Method
4-34
GFK-1413
Select the Defect folder in the Products folder, then click the
right mouse button and select New Defect Category from
the pop-up menu.
The Defect Category Properties dialog box opens at the General tab.
When you create a Defect Category, you need to configure the following properties:
GFK-1413
4-35
Assign it a code.
Describe it.
During your configuration and at runtime, if SPC detects configuration inconsistencies, it will
display an $SPC_ADMIN_ALARM in the Alarm Viewer. See "SPC Administration Alarms"
in this chapter.
Description
4-36
GFK-1413
Point ID
Start element
End element
EU conversion
GFK-1413
4-37
Database User
Password
Enter the password that the database user will use when
logging in to the ODBC data source.
Table ID
Column ID
4-38
GFK-1413
Therefore, SPC comes with a built in $SPC_ADMIN_ALARM to alert you and operators to
those conditions. This alarm deals with configuration inconsistencies. It is different from SPC
alarms that deal with process problems.
Each instance of this alarm, which will display in your Alarm Viewer, provides you with:
\\Group Name\Product Name\QC Name\Alarm number
GFK-1413
4-39
Document Tools
The SPC document provides you with three major tools to facilitate finding specific
information. They include the:
Document Tree
Find Function
Document Tree
SPC organizes data in a hierarchy that logically emulates the steps you take to configure the
application.
1.
2.
3.
4.
where:
is the SPC document that holds a number of products.
is a Product folder that holds the variable and defect quality data for a
product.
is a Defect folder for the product that holds a number of defect categories.
4-40
GFK-1413
where:
is a Variable Quality Characteristic for the product. Double-click on this
icon to display its properties. Right-click on this icon to access its pop-up menu.
You can assign a collection point for each Variable Quality Characteristic you create.
In the SPC ActiveX control, when you create X-Individual, XBar-S and XBar-R
charts, or a Histogram, you display the information for a single Variable Quality
Characteristic.
is a Defect folder for the product that holds a number of defect categories.
Double-click on this folder to display its Defect codes in the Details frame.
In the SPC ActiveX control, when you create a Pareto chart, you select a Defect
folder and display the information for its defect categories.
where:
is a Defect Category. Double-click on this icon to display its properties.
Right-click on this icon to access its pop-up menu.
You can assign a collection point for each Defect Category you create.
GFK-1413
4-41
Press Ctrl+A
You can:
You cannot remove the Name attribute from the display. In addition, this attribute is always
displayed first in the grid.
When you are through modifying the display attributes, click OK to close the dialog box and
update the display in the details pane of the SPC Configuration window, or click Cancel to
close the dialog box without making any changes.
4-42
GFK-1413
Press Ctrl+F
You can filter the list of quality and defect characteristics by:
Product name
GFK-1413
4-43
Getting Started
After you create your ODBC data source and configure your SPC data collection,
you can configure SPC ActiveX controls in CimEdit/CimView screens or other
ActiveX containers, such as Internet Explorer, to display your SPC data.
A new SPC chart is placed in the upper left corner of your CimEdit screen.
GFK-1413
Select the position of the upper left corner of the SPC chart, and
click the left mouse button to fix it. The Insert Object dialog box
opens.
5-1
2.
3.
Select OK. A new SPC Control is placed at the position you select
in your CimEdit screen.
The SPC control initially is empty except for the following message:
Double click this chart to edit its properties. First select a group file
on the general property page. Next select a product, and a QC on
the general property page, and select a chart type on the chart
property page.
Once the SPC chart is in the CimEdit screen, you may do one of the following:
Select the chart, then select CIMPLICITY SPC Control object>Properties from the pop-up menu.
Chart
Lines
Axis
Bar Chart
Report
Defines the fields that will appear in a report for the chart.
Any fields that do not apply to the SPC chart you are defining will be grayed out.
At a minimum, you need to enter an SPC document, product, and QC on the General
page and select a chart type on the Chart page. Other chart properties are preconfigured for your convenience. You may use these default properties or tailor
them to your application.
5-2
GFK-1413
General Properties
The General properties define the general appearance of the SPC chart.
Group
You must enter data in this field. Select the SPC document whose data you want to
display. You can use the browse button the document you want.
Product
You must enter data in this field. Select the product in the SPC document that you
want to work with. You can click the drop-down list button to the right of the input
field to display the list of products in the document and select one.
QC
You must enter data in this field. Select the Quality Characteristic (QC) that you
want to examine for the product. You can click the drop-down list button to the right
of the input field to display the list of Quality Characteristics defined for the product.
The QC you select determines the types of charts you can display in the ActiveX
control.
GFK-1413
5-3
Batch ID
If you are using the Batch Processing features of SPC, enter the text that identifies
the batch you want to examine. The chart will display only those points where the
contents of the Batch Point ID matches this identifier.
Duration
Select the time span of the data you want to display.
If you select Show most recent values, the most recent values for the chart are
displayed.
If you select Time span, you can select the starting time and data and ending time
and date of the data to be displayed on the chart.
Chart Properties
The Chart properties define the type of chart to be displayed, the title, chart color,
sample size and update interval.
You can enter the following information.
Type
Select the type of chart you want to display. Click the drop-down list button to the
right of the input fields to display the list of charts for the QC and select one.
For Defect Quality Characteristics, you can select:
Pareto chart
Report
5-4
GFK-1413
Max to display
Enter the maximum number of elements to display on the chart.
Update interval
If you are displaying current data, enter the interval at which you want the chart data
to update in this field.
If you are displaying logged data, this field is disabled.
Exclusion Mode
See Chapter 4 of this manual to apply Exclusion Mode as necessary.
Lines
The Lines properties let you enable or disable the display of the control lines on the
chart.
Use the check boxes to select the control limit lines you want to display on XBarR/S, X-Individuals or Histogram charts.
GFK-1413
5-5
Axis
The Axis properties let you configure the X and Y axis titles and labels.
Use the check boxes to display or hide the titles and labels for the X and Y axes.
You can select Title Font... to change the font for the X and Y axis titles.
You can select Label Font... to change the font for the X and Y axis labels.
In all cases, make sure you select a TrueType font for titles and labels. If you select a
font that is not TrueType, the text will not display correctly.
5-6
GFK-1413
Bar Chart
The Bar Chart properties let you select the display parameters for Histograms and
Pareto charts.
The information you enter depends on whether you are displaying a Histogram or
Pareto chart.
Histograms
For a Histogram, you can select:
Show spec limits
Set this check box if you want to display the Upper and
Lower Specification Limits configured for the data.
Clear this check box if you do not want to display the
USL and LSL.
Max samples
GFK-1413
5-7
Pareto Charts
For a Pareto chart, you can select:
Show fixed number
of bars
Set this check box and enter the number of bars you want
to display on the Pareto chart in the input field. If you
have more defect codes than bars, only the bars for the
most frequently occurring defects are displayed.
Clear this check box if you want to display a bar for each
defect code defined for this product.
Show bar of
remaining defects
Report
The Report properties let you select the fields to be displayed when users view
reports in CimView screens.
Use the check boxes to select the fields you want to display in the report.
You can use Select All to set all the check boxes, or Unselect All to clear all the
check boxes.
5-8
GFK-1413
</BODY>
GFK-1413
void AboutBox( );
5-9
rcl, rlcl)
on the chart
void Print( );
void UseAmbientProperties( );
ActiveX Properties:
BSTR ChartTitle;
BSTR UpdateInterval;
short ChartType;
boolean ByTime;
BSTR StartTime;
BSTR EndDate;
BSTR EndTime;
short MaxDisplay;
boolean Exclusion mode;
OLE_COLOR BackgroundColor;
OLE_COLOR ChartColor;
OLE_COLOR ForegroundColor;
BSTR StartDate;
IFontDisp* TitleFont;
boolean UseAmbientBgColor;
boolean UseAmbientFgColor;
boolean UseAmbientChartTitleFont;
boolean UseAmbientChartColor;
BSTR BatchID;
BSTR ProjectGroup;
BSTR Product;
BSTR QC;
boolean ShowLegend;
boolean ShowChartTitle;
boolean ShowXAxisLabels;
boolean ShowXAxisTitle;
boolean ShowYAxisLabels;
boolean ShowYAxisTitle;
boolean UseAmbientAxisLabelFont;
boolean UseAmbientAxisTitleFont;
IFontDisp* AxisLabelFont;
IFontDisp* AxisTitleFont;
short ReportFields;
ISpcLineProperties* UCLLineProperties;
ISpcLineProperties* CLLineProperties;
ISpcLineProperties* LCLLineProperties;
ISpcLineProperties* ZoneLineProperties;
ISpcLineProperties* SpecLimitLineProperties;
ISpcLineProperties* NormalCurveLineProperties;
boolean ShowUpperControlLimit;
boolean ShowCenterLine;
boolean ShowLowerControlLimit;
boolean ShowZones;
boolean ShowSpecLimits;
boolean ShowNormalCurve;
boolean ShowInfoBox;
boolean ShowFixedNumberOfBars;
boolean ShowRemainingDefects;
boolean ShowValues;
MaxHistogramSamples;
NumberOfZones;
float UpperSpecLimit;
float LowerSpecLimit;
5-10
GFK-1413
Run-time Functions
When you display an SPC ActiveX control, you can move the cursor over the
control, and then click the right mouse button to display the run-time pop-up menu
for the control.
Print...
Exclusion Mode
Properties
About SPC
GFK-1413
6-1
6-2
GFK-1413
Variable QC Data
When you select Manual Data Entry... from the pop-up menu for a Variable QC
chart, the Manual Data Entry (Variable QC) dialog box opens.
2.
Press the
GFK-1413
6-3
Defect QC Data
When you select Manual Data Entry... from the pop-up menu for a Defect QC
chart, the Manual Data Entry (Defect QC) dialog box opens.
Enter the Defect Category name you want in the Defect Code field.
2.
Enter the number of occurrences for the Defect Category in the Num
of Occ field.
3.
Press the
The Defect Category and number of occurrences you enter moves to the
list box.
After you have entered all the manual data, select Submit to send the data to the
SPC Data Collector.
6-4
GFK-1413
GFK-1413
Sample Size
A2
D3
D4
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
0.000
2.660
1.881
1.023
0.729
0.577
0.483
0.419
0.373
0.337
0.308
0.285
0.266
0.249
0.235
0.223
0.212
0.203
0.194
0.187
0.180
0.173
0.167
0.162
0.157
0.153
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.076
0.136
0.184
0.223
0.259
0.284
0.308
0.329
0.348
0.363
0.378
0.391
0.403
0.415
0.425
0.434
0.443
0.451
0.459
0.000
3.267
3.268
2.574
2.282
2.114
2.004
1.924
1.864
1.816
1.777
1.755
1.717
1.692
1.671
1.652
1.637
1.622
1.608
1.597
1.585
1.575
1.566
1.557
1.548
1.541
A-1
A-2
A3
2.659
1.954
1.628
1.427
1.287
1.182
1.099
1.032
0.975
0.927
0.886
0.850
0.817
0.789
0.763
0.739
0.718
0.698
0.680
0.663
0.647
0.633
0.619
0.606
B4
0.000
0.000
0.000
0.000
0.000
0.000
0.030
0.118
0.185
0.239
0.284
0.321
0.354
0.382
0.406
0.428
0.448
0.466
0.482
0.497
0.510
0.523
0.534
0.545
0.555
0.565
3.268
2.568
2.266
2.089
1.970
1.882
1.815
1.761
1.726
1.679
1.646
1.618
1.594
1.572
1.552
1.534
1.518
1.503
1.490
1.477
1.466
1.455
1.445
1.435
GFK-1413
X =
x1 + x 2 +...+ xn
n
where x1 through xn are the values of each item in the set and n is the number of
samples.
(x x)
n
S=
i =1
n 1
The formulas used for calculating the upper and lower control limits are:
UCL = X + 3S
GFK-1413
LCL = X 3S
B-1
X =
x1 + x 2 +...+ xn
n
where x1 through xn are the values of each observation in the sample and n is the
number of observations in the sample.
Because an XBar-R chart displays the average of each sample in the set, its center
line is calculated as:
X =
X 1 + X 2 +...+ X m
m
where X 1 through X m are the averages of each sample, and m is the number of
samples. This grand average becomes the center line of the XBar chart.
R = x max x min
GFK-1413
C-1
R=
R1 + R 2 +...+ Rm
m
The formulas used for calculating the upper and lower control limits for the XBar
chart are:
UCL = x + A2 R
LCL = x + A2 R
Where A2 is a tabulated value based on the sample size. See the XBar Chart Factors
for Control Limits table in Appendix A for values of A2 for sample sizes ranging
from 1 to 25.
If the sample size is greater than 25, the formulas are:
UCL = X + 3S
LCL = X 3S
R=
R1 + R 2 +...+ Rm
m
UCL = RD4
LCL = RD3
where D4 and D3 are tabulated values based on the sample size. See the Range
Chart Factors for Control Limits table in Appendix A for values of D3 and D4 for
sample sizes ranging from 1 to 25.
If the sample size is greater than 25, the formulas are:
UCL = R + 3S
LCL = R 3S
C-2
GFK-1413
X =
x1 + x 2 +...+ xn
n
where x1 through xn are the values of each observation in the sample and n is the
number of observations in the sample.
Because an XBar-S chart displays the average of each sample in the set, its center
line is calculated as:
X =
X 1 + X 2 +...+ X m
m
where X 1 through X m are the averages of each sample, and m is the number of
samples. This grand average becomes the center line of the XBar chart.
GFK-1413
D-1
(x x)
n
s=
i =1
n 1
If s1 through
deviation is:
s=
s1 + s2 +...+ sm
m
The formulas used for calculating the upper and lower control limits for the XBar
chart are:
UCL = x + A3 s
LCL = x A3 s
Where A3 is a tabulated value based on the sample size. See the XBar Chart Factors
for Control Limits table in Appendix A for values of A3 for sample sizes ranging
from 1 to 25.
If the sample size is greater than 25, the formulas are:
UCL = X + 3S
LCL = X 3S
s=
s1 + s2 ...+ sm
m
UCL = sB 4
LCL = sB 3
where B3 and B4 are tabulated values based on the sample size. See the Range
Chart Factors for Control Limits table in Appendix A for values of B3 and B4 for
sample sizes ranging from 1 to 25.
If the sample size is greater than 25, the formulas are:
UCL = s + 3S
LCL = s 3S
D-2
GFK-1413
= R / d 2 = R / d
For XBar-S data, the estimate of the process standard deviation is:
= S / c4 = S / c
Capability Index
Cp is the capability index defined as the tolerance width divided by the process
capability, irrespective of process centering.
For XBar-R data, it is calculated as:
USL LSL
6
R / d2
USL LSL
6
S / c4
GFK-1413
E-1
CPU =
USL X
X LSL
and CPL =
3 R / d
3R / d
2
For XBar-S data, the upper and lower indexes are calculated as:
CPU =
USL X
X LSL
and CPL =
3S / c
3S / c
4
E-2
GFK-1413
The charts were created using CIMPLICITY HMI v3.1, but you did not
purchase and install the Enhanced SPC software (IC646NSP000A)
prior to creating the charts
If you are currently using CIMPLICITY HMI v3.2 or later, and you attempt to
display a screen containing one of these charts, you will see a message indicating that
the charts must upgraded.
Before you begin the upgrade:
Be sure that an SPC ODBC data source exists. See chapter 3 for more
information on creating a data source.
GFK-1413
1.
2.
3.
F-1
F-2
GFK-1413
Glossary of Terms
Average
The sum of values divided by the number, or sample size, of values. This is usually
designated by a bar over the symbol for the values being averaged. The most
common averages in SPC are:
Central Line
The line on the control chart that represents the average value of the items being
plotted.
Characteristic
A distinguishing feature of a process on which variable data can be collected.
Control Chart
A graphic representation of a characteristic of a process. It shows the plotted values
of data for the characteristic, a central line and one or two control limits.
Control Limit
A line, or lines, on a control chart used as a basis for judging the stability of a
process. Control limits are calculated from process data.
Defect Data
Defect data consists of a defect code and a count of the number of units that contain
that defect. It is possible for a unit to contain more than one defect. Defect data is
displayed in a Pareto chart which ranks the defects by number of occurrences.
GFK-1413
Glossary-i
Document
For CIMPLICITY SPC, a document is a collection of products for which you are
going to collect and analyze variable quality characteristics and defect data.
Mean
See Average.
Median
The middle value of a group of measurements when they are arranged in order from
lowest to highest. The median is not an average.
Observation
An observation is a single instance of data.
Pareto Chart
A chart that ranks all potential problem areas according to their contribution to the
total variation. Typically, a few causes account for most of the variation. In
CIMPLICITY SPC, the contents of a Defects folder contain the data displayed in a
Pareto chart.
Process Capability
The total range of a stable processs inherent variation. For variable data:
The processs inherent capability is defined as
The capability index for a stable process is
6R / d
C PK
Process Spread
The extent to which the distribution of individual values of the process characteristic
vary. This is often shown as the process average plus or minus some number of
standard deviations. For example:
X 3
Product
For CIMPLICITY SPC, a product is the entity for which you want to collect Variable
quality characteristics or Defect data for analysis
Glossary-ii
GFK-1413
Range
The difference between the lowest and highest values in a subgroup.
Run
A consecutive number of points consistently increasing or decreasing or above or
below the central line.
Sigma
The Greek letter -
Special Cause
A source of variation that is intermittent and often unpredictable. Sometimes called
an assignable cause, it is signaled by a point beyond the control limits, a run, or other
non-random pattern of points within the control limits.
Standard Deviation
A measure of the spread of the process output.
Subgroup
A subgroup is a set of one or more observations that are used to calculate a point on
an SPC chart. Another term for a subgroup is a sample.
Variable Data
Variable data consists of measurable parameters such as weight, temperature, or
length.
GFK-1413
Glossary
Glossary-iii
Index
Batch ID
Chart properties 5-4
Batch Point ID
Defect folder 4-34
Variable 4-13
Begin Configuration 4-3
A
About
SPC 1-1
Active
Checkbox 4-5
Defect folder 4-34
Document 4-5
Product 4-7
Variable 4-10
ActiveX Methods 5-9
ActiveX Methods and Properties 5-9
ActiveX Properties 5-10
Adding a New
Defect Category 4-35
Defect group 4-33
Product 4-6
Variable quality characteristic 4-9
Alarm ID
Control tests 4-23
Alarm Numbers 4-39
Alarms
Setpoint 4-23
Setting 4-22
SPC Administration 4-39
Alarms and Setpoints for control tests 4-23
Array
End element 4-37
Start element 4-37
Auto Recalculation
Force 4-18
Auto Recalculation for Control Limits 4-17
Available Attributes 4-42
Axis properties
SPC chart 5-6
B
Bar chart properties
SPC chart 5-7
GFK-1413
Calculation Type
Variable 4-10
Changing the Date/Time Format 5-9
Chart factors for control limits
Xbar-R charts A-1
Xbar-S charts A-2
Chart properties
Batch ID 5-4
Chart type 5-4
Duration 5-4
Group 5-3
Histogram 5-7
Max to display 5-5
Pareto chart 5-8
Product 5-3
QC 5-3
SPC chart 5-4
Update interval 5-5
Chart type
Chart properties 5-4
Chart types
SPC 2-3
Checkbox
Active - document 4-5
Active product 4-7
Active variable 4-10
CimEdit
Creating an SPC chart 5-1
Collection
Defect category - logged 4-38
Defect category point 4-37
Document 4-5
End element - variable 4-13
Start element - variable 4-13
Variable logged 4-14
Variable point 4-12
Collection Method
Defect folder 4-34
Variable quality characteristic 4-12
Collection Properties
Defect category - SPC configuration 4-36
Variable quality characteristics - SPC 4-12
Column ID
Defect category 4-38
Logged variables 4-14
Configuration
Index-i
Building 4-4
Control limits
Display at run-time 5-5
Displaying in report 5-8
Control Limits
Auto recalculation 4-17
Variable 4-17
Control Test
1 Beyond upper-lower limits 4-25
2 Same side of center line 4-25
3 Consecutive subgroups in a row 4-26
4 Alternating up and down 4-26
5 In a row in beyond A 4-27
6 In a row in beyond B 4-27
7 In a row in C 4-28
8 In a row beyond C 4-28
Control Tests
Alarms and setpoint 4-23
Setpoint ID 4-23
Criteria for Control Tests Overview 4-24
D
Data Collection
End element defect category 4-37
End element - variable 4-13
Start element defect category 4-37
Start element - variable 4-13
Data Configuration Overview 4-2
Data Source
ODBC document 4-5
ODBC logged defect category 4-38
ODBC logged variable 4-14
Database User
Document 4-5
Logged collection defect category 4-38
Logged collection - variables 4-14
Date/Time
Changing 5-9
Defect Categories
SPC configuration 4-35
Defect Category
Adding 4-35
Logged collection 4-38
No collection 4-38
Point collection 4-37
Point ID 4-37
Start element 4-37
Defect Category Properties
Collection - SPC configuration 4-36
General - SPC configuration 4-36
Defect Folder
Defining properties 4-33
SPC 4-41
Defect Folder Properties
Index-ii
E
End Element
Defect category 4-37
Variable 4-13
EU Conversion
Collection defect category 4-37
Collection - variable 4-13
F
Field
Alarm ID - control tests 4-23
Batch point ID - defect folder 4-34
Batch point ID - variable 4-13
Collection method -defect folder 4-34
Column ID - defect category 4-38
Column ID - logged variables 4-14
Database user defect category 4-38
Database user - document 4-5
Description - variable 4-10
End element - defect category 4-37
End element - variable 4-13
EU conversion - defect category 4-37
EU conversion - variable 4-13
Force auto recalc 4-18
Gap size 4-10
Gap size - points 4-11
GFK-1413
HTML code
Embedding SPC chart in web page 5-9
L
Limits Properties
Variable quality characteristics -SPC configuration
4-16
Lines properties
SPC chart 5-5
Logged Collection
Defect Category 4-38
Variable 4-14
M
Main tree
SPC 4-40
Manual data entry
Defect QC data 6-4
SPC ActiveX control 6-3
Variable QC data 6-3
Match Point
Defect folder 4-34
Variable 4-13
Match Value
Defect folder 4-34
Variable 4-13
Max to display
Chart properties 5-5
Methods
ActiveX 5-9
N
G
New Product
Adding 4-6
Defining properties 4-6
New Variable Quality Characteristic 4-9
No Collection
For a defect category 4-38
For a variable 4-15
O
ODBC Data Source
Defect category 4-38
Document 4-5
Logged variables 4-14
Opening a New Document 4-3
Operation overview
SPC 2-2
Overview
SPC analysis 2-1
Overview of Data Configuration Steps 4-2
H
Histogram chart
Description 2-5
Properties 5-7
GFK-1413
Index
Index-iii
P
Pareto chart
Description 2-5
Properties 5-8
Password
Document 4-5
Logged defect category 4-38
Logged variable 4-14
Point Collection
Defect Category 4-37
Variable 4-12
Point ID
Defect category 4-37
Retrieving data - variable 4-13
Points Control Limits 4-21
Procedure for upgrading SPC charts F-1
Details F-2
Product
Adding 4-6
Chart properties 5-3
Name 4-7
Properties - defining 4-6
Product Folder
SPC 4-41
Products
SPC configuration 4-6
Properties
ActiveX 5-10
SPC chart 5-2
Q
QC
Chart properties 5-3
Quality data charts
Description, SPC 2-3
Histogram chart, description 2-5
XBar-R chart, description 2-4
XBar-S chart, description 2-4
X-Individual chart, description 2-3
Quick start
SPC configuration 1-3
R
R chart
Center line calculation C-2
Control limit calculations C-2
R/S UCL, CL, LCL
Points 4-21
Values 4-20
Report properties
SPC chart 5-8
Reports
Index-iv
SPC 2-6
Run-time functions
SPC ActiveX control 6-1
S
S chart
Center line calculation D-2
Control limit calculations D-2
Sampling Parameters
Using points 4-11
Using values 4-11
Sampling Size
Points 4-11
Values 4-11
Setpoint
Alarm 4-23
Setpoint ID
Control tests 4-23
Limits 4-19
Variable 4-10
Setting Alarms for Variable Quality Characteristics
4-22
SPC
About 1-1
Administration
Alarms 4-39
Configuration, Quick start 1-3
Defect folder in the document tree 4-41
Main tree 4-40
Operation overview 2-2
Product folder in document tree 4-41
Quality data charts, description 2-3
Quick start configuration 1-3
R chart, Center line calculation C-2
R chart, Control limit calculations C-2
S chart, Center line calculation D-2
S chart, Control limit calculations D-2
Suggested readings 2-1
Upgrading charts F-1
Procedure details F-2
Upgrading charts, Procedure F-1
Upgrading old charts 1-3
XBar-R chart, Center line calculation C-1
XBar-R chart, Control limit calculations C-1
XbarRR chart factors for control limits A-1
Xbar-S chart factors for control limits A-2
XBar-S chart, Center line calculation D-1
XBar-S chart, Control limit calculations D-1
SPC ActiveX control
Displaying test results 5-10, 6-2
Getting started 5-1
Manual data entry 6-3
Manual data entry, Defect QC data 6-4
Manual data entry, Variable QC data 6-3
GFK-1413
Values 4-11
Variable 4-10
Suggested readings
SPC 2-1
GFK-1413
T
Table ID
Defect category 4-38
Logged variables 4-14
Time/Date
Changing 5-9
U
Update interval
Chart properties 5-5
Upgrading old SPC charts 1-3
Upgrading SPC charts F-1
Procedure F-1
Procedure details F-2
Using Points to Specify
Sampling parameters 4-11
Using Values to Specify
Sampling parameters 4-11
V
Variable
Active 4-10
Calculation type 4-10
Control limits 4-17
Description 4-10
Gap size - variable 4-10
Logged collection 4-14
No collection 4-15
Point Collection 4-12
Sample size 4-10
Setpoint ID 4-10
Specification limits 4-21
Variable QC data
Manual data entry, SPC ActiveX control 6-3
Variable Quality Characteristic
Adding 4-9
Variable Quality Characteristic Properties
Collection - SPC configuration 4-12
General - SPC configuration 4-9
Limits - SPC configuration 4-16
W
Web page
Creating SPC chart in 5-9
Index
Index-v
X
X Bar UCL, CL, LCL
Points 4-21
Values 4-20
Xbar-R chart
Center line calculation C-1
XBar-R chart
Control limit calculations C-1
XBar-R Chart Calculations C-1
XBar-R chart factors for control limits A-1
XBar-Rchart
Description 2-4
Xbar-S chart
Center line calculation D-1
XBar-S chart
Control limit calculations D-1
Description 2-4
XBar-S Chart Calculations D-1
XBar-S chart factors for control limits A-2
X-Individual chart
Description 2-3
Error! Cannot open file referenced on page 1
Index-vi
GFK-1413