SAP Manufacturing Execution 5.1.3 Setting Up SPC © Copyright 2008 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iSeries, pSeries, xSeries, zSeries, z/OS, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix, i5/OS, POWER, POWER5, OpenPower and PowerPC are trademarks or registered trademarks of IBM Corporation. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. Disclaimer Some components of this product are based on Java™. Any code change in these components may cause unpredictable and severe malfunctions and is therefore expressively prohibited, as is any decompilation of these components. Any Java™ Source Code delivered with this product is only to be used by SAP’s Support Services and may not be modified or altered in any way. Table of Contents Introduction ..........................................................................................................................................1 Decisions to Make .............................................................................................................................1 Terms and Definitions........................................................................................................................1 Preliminary Steps.................................................................................................................................3 Installing Statit Server Software.........................................................................................................3 Setting Up System Rules...................................................................................................................7 Defining SPC Analysis on the Data Collection. .................................................................................7 Defining Event Types.........................................................................................................................7 Setting Up SPC ....................................................................................................................................9 Index....................................................................................................................................................11 SAP Manufacturing Execution 5.1.3 Setting Up SPC iii Introduction You can use the SPC (Statistical Process Control) feature for monitoring a process during its operation in order to control the quality of the products while they are being produced – rather than relying on inspection to find problems after the fact. SPC is a real time monitoring component. It enables the manufacturing engineer or production supervisor to obtain and analyze statistical data about the manufacturing process at a site. The SPC module also tests for trends in the data that are likely to detect a problem before an out-oflimit condition happens. Decisions to Make When you work with SPC, you decide: How you want SPC to run: perform SPC analysis on the data when it is collected. What chart type you want to define. What axes for control charts you want to maintain. What specification and control limits for primary charts you want to maintain. What specification and control limits for secondary charts you want to maintain. What alarm type you want to assign to each trend rule for a given site. Terms and Definitions SPC (Statistical Process Control) The process of monitoring production quality and process performance through the use of statistical methods. SPC analysis software can take the measurements or other values that are passed to it from a data collection, and from these measurements determine whether the item being manufactured falls within specification limits, or a process (such as a production rate) is in statistical control. SPC chart A graphic representation of a characteristic or process, showing plotted values of some statistic gathered from that characteristic, a central line, and one or two control limits. Control limits In SPC, control limits represent the expected variability of the process, under the hypothesis that the process is in statistical control. SAP Manufacturing Execution 5.1.3 Setting Up SPC 1 Introduction Control chart In SPC, a graphical means of identifying when special causes are present and corrective action is needed. It has two basic uses: to determine whether a process has been operating within statistical control, and to aid in maintaining statistical control. The control charts displayed can contain either variable data (quantitative data, where measurements are used for analysis, such as resistance values, etc.) or attribute data (qualitative data that can be counted for recording and analysis, such as the number of defects on a printed circuit board). Alarm Notification of an event that occurs outside of planned manufacturing parameters; a feature that warns someone of a problem, such as when an SPC rule violation is found. Trend rules Rules used to determine if a manufacturing process is in a state of statistical control. SAP Manufacturing Execution 5.1.3 Setting Up SPC 2 Preliminary Steps The preliminary steps for setting up statistical process control include the following: Installing Statit server software. Setting up system rules. Defining SPC analysis on the data collection. Defining event types. Installing Statit Server Software The system supports an interface with Statit server software for statistical process control (SPC). The Statit server is a product of Statware, Inc. The SPC feature is optional. Installing the SPC server, which is only supported on a Windows platform, consists of the following steps: Installing Statit e-Server Installing SAP Manufacturing Execution SPC Licensing the Statit e-Server Important: You must install the Statit e-Server before you install the SPC server. Supported Environment Component Supported Products, Version(s) Application VisipriseMfg_SPC_41 Note: Installs JRE 1.4.2 Application Server Statit e-Server Version 5.34 Platform Windows 2000/2003 Note: This product is Windows-based only. You cannot install this product on a UNIX server. Note: Five (5) Statit e-Server licenses will support five (5) simultaneous chart contexts. For more than five (5) licenses, basic hardware requirements may have to be scaled upwards. SAP Manufacturing Execution 5.1.3 Setting Up SPC 3 Preliminary Steps Installing Statit e-Server To install the Statit e-Server, perform the following steps: 1. Insert the SAP Manufacturing Execution installation CD into the server machine and run the setup file, server534.exe, located in the SPC directory. The Searching for Installed Components message appears, followed shortly by the Statit Custom QC Not Found dialog box. Click No. 2. The Statit e-Server Installation Welcome screen appears. Read the welcome screen and click Next. 3. The Statit e-Server Installation Information dialog box appears. This screen contains important information about Statit e-Server. Use the scroll bars to view all of the information. Click Next. 4. The Statit e-Server Installation Choose Destination Location dialog box appears. Use this screen to specify the location on the hard drive where the Statit server program files will be located. The default installation directory is C:\Program Files\Statit e-Server. 5. To select an alternate Statit server directory, click Browse, and the Select Destination Directory dialog box appears. Navigate to the drive and directory in which you want to install the Statit Server files. When you are finished, click OK to return to the Statit e-Server Installation Choose Destination Location dialog box. 6. Click Next, and the Statit e-Server Installation dialog box appears. Leave the Results URL box blank and click Next. 7. The Statit e-Server Installation Backup Files dialog box appears. Click Yes, and specify the location on the hard drive where the backup files will be located. The default destination directory is C:\Program Files\Statit e-Server\BACKUP. 8. To select an alternate backup directory, click Browse, and the Select Destination Directory dialog box appears. Navigate to the drive and directory in which you want to copy the backup files. When you are finished, click OK to return to the Statit e-Server Installation Backup Files dialog box. 9. Click Next. The Statit e-Server Installation License dialog box appears. Do not change the selected option, Generate a 30 day evaluation license. To obtain a permanent license, contact your Professional Services Organization (PSO) representative. Click Next. 10. The Statit e-Server Installation dialog box appears. Click Next. 11. The Installing message displays the progress of the installation. If the installation displays either of the following error messages, click OK to continue. These error messages have no impact on the installation. The Check Registry Permissions message SAP Manufacturing Execution 5.1.3 Setting Up SPC 4 Preliminary Steps The Program Error message 12. The Statit e-Server Installation screen appears. Click Finish to finish the installation. 13. Continue with the next section to install the SPC server. Installing SAP Manufacturing Execution SPC Server To install the SAP Manufacturing Execution SPC module, perform the following steps: 1. Insert the SAP Manufacturing Execution installation CD into the server machine and run the setup file, VisipriseMfg_SPC_41.exe, located in the SPC directory. The Extracting Files message appears, followed shortly by the Welcome dialog box. Read the welcome information and click Next. 2. The Choose Destination Location dialog box appears. Use this screen to specify the location on the hard drive where the SAP Manufacturing Execution SPC server program files will be located. The default installation directory location is C:\Visiprise\VisipriseMfg\SPC Server. 3. To select an alternate destination folder, click Browse, and the Choose Folder dialog box appears. Navigate to the drive and directory in which you want to install the SAP Manufacturing Execution SPC Server files. When you are finished, click OK to return to the Choose Destination Location dialog box. 4. Click Next. The installation program displays the Select Program Folder dialog box. Use this screen to specify the program folder for the SAP Manufacturing Execution SPC Server. The default program folder, Visiprise\VisipriseMfg\SPC Server, is displayed in the Program Folders field. Click Next to accept the default program folder. 5. The SPC Server Installation has finished selecting Components dialog box appears. Click Next. 6. The Setup Complete message appears. Select the option you want for restarting your computer and click Finish to complete the installation. If you select No, you must restart your computer later. 7. Start the server by selecting Start > Programs > Visiprise > VisipriseMfg > SPC Server > Start SPC Server. Statit e-Server Instances The number of simultaneous clients allowed to run Statit charts is determined by the SPC Server. To change this value, edit the statit.server.licenses setting in the system.properties file found in the SPC Server installation directory. This value is set to 5 by default. If this is increased, the system must be tested to ensure that it performs adequately under the additional load. SAP Manufacturing Execution 5.1.3 Setting Up SPC 5 Preliminary Steps Licensing the Statit e-Server The SPC installation creates a 30-day evaluation license for the Statit e-Server. Once you have received a full license, the Windows registry must be edited on the Statit server. Launch the registry editor on the SPC server machine by selecting Start > Run and then typing regedit: Select the following folder: HKEY_LOCAL_MACHINE\SOFTWARE\Statware\Statit Server\5.3\License Modify the registry keys based on the values provided with your license: Statit Data Name Registry Key Example - Notes Site Name SiteName Visiprise Demo Site ID SiteID 9999 – (Be sure to input in Decimal mode) Password SiteCode 01ABC-ABC12-12345-ABCDE-O1XYZ-VWXYZ After entering the license information, reboot the machine and restart the SPC server. SAP Manufacturing Execution 5.1.3 Setting Up SPC 6 Preliminary Steps Setting Up System Rules You need to set up the following rule in System Rule Maintenance: Statit Server Host Computer Name, to specify the name of the Statit server. Defining SPC Analysis on the Data Collection The system allows you to collect data at various points in the manufacturing process. You can gather data at items, item groups, operations, router steps, and resources. You define the performance of the SPC analysis on data collections in Data Collection Maintenance. In Parameter Detail window, do the following: In the SPC Chart field, enter or select the desired chart name. In the Display Chart field, select the appropriate option for displaying the SPC chart to the operator during data collection. Select the Short Run check box to define the short run data for the current chart. Select the Perform SPC Analysis check box to perform SPC analysis on the data when it is collected. For more information about defining data collections, see the online help for Data Collection Maintenance. Defining Event Types When a chart is being defined, in the Event Maintenance activity, you may define the desired clear and delete intervals for the two SPC-related event types, which are: SPC_ALARM_WARNING, and SPC_ALARM_VIOLATION. Specifying clear and delete intervals is not mandatory, but is recommended to prevent database tables from quickly filling with SPC alarm data. A suggested value is 86400 seconds, which is 24 hours. If desired, you can also modify the severity of the event type. Note: In the Event Maintenance activity, do not delete the following event type definitions, which are required by SPC alarming: SPC_ALARM_WARNING, and SPC_ALARM_VIOLATION. SAP Manufacturing Execution 5.1.3 Setting Up SPC 7 Setting Up SPC To set up SPC: 1. If you want to perform SPC analysis on data when it is collected and then display it and any alarm comments to the operator during collection, complete the following fields in Data Collection Maintenance: The SPC Chart field to perform SPC analysis during data collections. The Display Chart field to display the SPC Chart to the operator. Note: For more information about data collections, see the online help for Data Collection Maintenance. 2. Define the chart type and labels in SPC Chart Maintenance, Chart Labels tab. 3. Define axes for control charts in SPC Chart Maintenance, Chart Labels tab. 4. Define specification and control limits for primary chart in SPC Chart Maintenance, Primary Chart Details tab. 5. Define specification and control limits for secondary chart in SPC Chart Maintenance, Secondary Chart Details tab. 6. Assign an alarm type to each trend rule for a given site. Note: For more information about trend rules, see the online help for SPC Alarm Severity Maintenance. 7. If you want to view control charts and a summery of trend rules defined for the specific site, select the SPC Display activity from the Activity Manager. 8. Click the Search option to display the chart in the bottom portion of the SPC Display window. Note: For more information about viewing SPC charts, see the online help for SPC Display. SAP Manufacturing Execution 5.1.3 Setting Up SPC 9 Index D S Defining event types Event Maintenance, 8 Setting up SPC defining event types, 8 defining SPC analysis on the data collection, 8 preliminary steps, 3 terms and definitions, 1 Defining SPC analysis on the data collection Data Collection Maintenance, 8 E Event types SPC_ALARM_VIOLATION, 8 SPC_ALARM_WARNING, 8 I Installation SPC server, 3 Statit server, 3 Setting up system rules System Rule Maintenance, 8 SPC Chart Maintenance chart type, 9 control chart, 9 specification and control limits, 9 SPC Display, 9 SPC server installing, 3 requirements, 3 SAP Manufacturing Execution 5.1.3 Setting Up SPC 11