Home
MES User Manual - Inductive Automation
Contents
1. 7 Auto lauto fao d Center Center Center x Har Horiz Align Center Ly Center Center Ly Prefix Suffix Number Format 5 ARO A 5 RARO AA 5 EED HE 5 Date Format h mm a MMM d yyy h mm a E MMM d yyy h mm a E MMM d yyy h mm a ER Boolean Az Progress Bar Progress Bar Range Max 100 Min O Max 100 Min lo Max h 00 Min lo Max 100 Hide Text Over P Bar P Bar Color E MA MS O P Bar Background vy vy vy vy Translation List Ka none Ka none Ka 2 mappings Y Image Path List E tone E none Background Color Column Background Color List Wa none K none Foreground Color Column Foreground Color List 3 none 3 none Font Map Column My iw x M Use Translation Mal p Translation AS TEREA EN Downtime table translation list Example using Background Mapping Select the duration column as the mapping column Set the translation for the seconds duration Any value up to 29 seconds will have a white background any value from 30 to 44 seconds will have a yellow background and any value O Inductive Automation OEE D i 119 greater than or
2. Your Site F Site Production Item 4 pr General OEE Downtime Schedule Advanced wf Enabled V k Description Shift1 Default Enabled Default Start Time 7 00 AM y yo al Shift2 Default Enabled Default Start Time 3 00 PM y Shift 3 Default Enabled Default Start Time 11 00 PM y i y 3 ai d f e y gt pro gt y al f Default Shift Start Time Settings When configuring a production Area the Shift Start Times can be inherited from the production Site or overridden The same is true for production Lines Workday Routine Settings From the Schedule tab daily activities that are considered scheduled downtime can be entered This includes activities such as breaks meals safety meetings etc When production runs are scheduled they are scheduled around these activities Inductive Automation OFF NDawntime 4A Your Site Site Production Item Save project to make production changes active General OEE DownTime Schedule Advanced Workday Routine Name Start Time I End Time Graveyard shift break 1 1 00 AM 1 15 AM Graveyard shift meal 3 00 AM 3 30 AM Graveyard shift break 2 5 00 AM 5 15 AM Day shift break 1 9 00 AM 9 15 AM Day shift meal 11 00 AM 11 30 AM Day shift break 2 1 00 PM 1 15 PM Swing shift break 1 6 00 PM 6 15 PM Swing shift meal 7 00 PM 7 30 PM Swing shift break 2 9 00 PM 9 15 PM ES D rr D A EN CRE NN
3. parameters newScheduleID The ID of the schedule item to modify This is the ID for 1 Schedule database table Data Type Integer returns message Contains a description of any error encountered otherw empty Data Type String 2 4 3 5 Schedule Day View CA Description A component that displays scheduled entries for a selected day This extends from the Day View Component that comes with Ignition to support adding editing and deleting schedule entries All schedule entries are automatically displayed from the Schedule and other database tables without the need for custom SQL statements or script When the user right clicks on a time a popup menu will appear with options to add edit or delete a schedule entry O Inductive Automation Properties OFF Nawntime 426 Sunday Mar 13 Edit Entry Q Delete Entry Schedule Day View This component has the same properties as the Ignition Day View Component with the addition of the following properties Line Path Current Date Events The line path of the production line that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Scripting name linePath Data Type String The date to show schedule entries for Scripting name currentDate Data Type Date This control has the same events as the Ignition Table Component with the addition of the follow
4. All required results valid true All results valid true Calories Calories 174 74kcal 1 20z 11 24 50 Thu Oct 27 00 00 00 PDT 2011 alcohol 0 92 m m O Inductive Automation Instrument Interface Module 567 5 5 Component Reference This section is a reference for all of the components that come with the Instrument Interface Module 5 5 1 File Monitor E Description An invisible component that handles detecting reading and parsing functions to provide reading data in files The term invisible component means that this component appears during design time but is not visible during runtime In design time the last raw data read from a file can be sent to the selected template defined by the Instrument Interface Name by right clicking on the component in the Ignition designer and selecting the Send to Template menu item This will also select and display the template and replace the existing textual data with the last raw data read If the Enable Monitoring property is selected and the designer is preview mode or client has the window open that contains a file monitor component this component will actively look for files to process The files that it will process are specified by the File Path property and can contain wildcard characters This component will perform a test lock on the file prior to processing to insure that writing to the file is complete This prevents processing a file before it is ready This i
5. Enterprise Quality Settings These settings are accessed by selecting the enterprise item contained in the Production folder in the project browser and then selecting the Quality tab as shown below Inductive Automation SPC Qualitv 252 New Enterprise Enterprise Production Item General OEE Downtime Schedule Quality Advanced Control Limits Name Histogram LCL Histogram LCL Histogram UCL Histogram UCL Individual LCL Individual LCL Individual UCL Individual UCL Range UCL Range UCL Std Dev LCL Standard Deviation J Dianaaa Dauiaticua J Out of Control Signals Signal Name Kind Calculation Script Out of Limits Bar Defined Outside Limits Range Defined Sample Interval Continuous Every x Manual a TE Qace abProduction Start aaa 4 ween PO Enterprise Quality Settings From here the Control Limits Out of Control Signals and Sample Intervals can be defined This definition will determine what options will appear for every sample that is defined For example if the Histogram LCL control limit is not defined on the Enterprise page it will not be an available option when selecting control limits on the Sample Definition page Default control limits out of control signals and sample intervals will be present and these may be edited or deleted New limits signals or intervals can also be added Adding a Control Limit Out of Control Signal or Sample Interval To add a lim
6. Inductive Automation 4 2 4 2 1 4 2 1 1 p Recipe Changeover 458 Installation To install the SPC module into an existing Ignition system follow the instructions in the Existing Ignition System If you are installing Ignition at the same time use the instructions in the New Ignition System To install the Quality Demo project follow the steps in the Demo Installation section Existing Ignition System Installing Modules To install the Recipe module onto an existing Ignition server follow the steps below Before installing the Recipe module it is recommended to first set up the database connection that will be used to store Recipe data 1 Download the Recipe Installer module modl module from the Inductive Automation download website It will be under the MES modules heading 2 Install the Recipe Installer module modl module Navigate to the Modules page of the Ignition gateway At the bottom of the list of already installed modules click the 11521 or Upgrade a Module link Next browse to the Recipe Installer module modl file and click the install button as shown below Developer Mode Ignition by inductive automation Home Status Configure Launch Designer C7 A new version of Ignition 7 6 0 is available Logged in as admin log out System Install or Upgrade Module Status Licensing Backup Restore To install a module choose its mod1 file and press Install Console To upgrade a m
7. Inductive Automation OEE Downti 1 Run Start The run start date and time of the schedule entry The Run tart Date Time Date Time is the Start Date Time adjusted by the Change Over Duration This is the date and time after change over is complete and the actual production begins Scripting name runStartDateTime Data Type Date Change Over The duration in minutes allowed for changeover Duration Scripting name changeOverDuration Data Type Integer Finish Date The finish date and time for the schedule entry Time Scripting name finishDateTime Data Type Date Override the lf true a manual finish date and time will be used instead of the automatic Finish Date calculation to forecast the finish time Time Scripting name finishDateTimeOverriden Data Type Boolean Quantity The quantity of units to produce for this schedule entry Scripting name quantity Data Type Integer Note An optional note to associate with the schedule entry Scripting name note Data Type String Events This component has standard Ignition events Methods addScheduleEntry linePath workOrderID scheduleType start coDuration finish quantity userName note Add a new schedule entry parameters linePath The line path of the production line that this component i associated with This is the full path name of the ine sta the project name For example OEEDemo Your Enterprise Your Site Yoi Area Line 1 Data Type String
8. Recipe Selection when OEE Run Started Starting a Trace Production locations have the ability to trace product that is being process at them When a production location product code is set using the setLocationProductCode script function the recipe is also selected for the production location When this happens the recipe values are written to their associated tags The location trace can be turn off using the cancelLocationProductCode function Inductive Automation Recipe Changeover 454 Currently scripting is the only method to select a production code for a location but this will be enhanced when the traceability module is released Example system production utils setLocationProductCode RecipeDemo Enterprise Site Area 1 Filler Lo Scripts Scripts can also be used to directly select and cancel recipes for production items These scripts supports selecting and cancelling recipes from external triggers such as when a button is clicked or when a product code changes See setltemRecipe script function to select a recipe for a production item and cancelltemRecipe script function to cancel the current recipe for a production item for more details 4 1 12 Production OPC Server Production OPC Values The production model is defined in the Ignition designer and contains your production lines cells cell groups and locations Runtime access into configuration and current state of the production model is available through the Pro
9. To install the QualityDemo project go to the configuration section in the gateway and select the MES Modules gt Quality Demo section from the left hand side configuration menu Next click on the Ps Quality demo fink If the Quality Demo has already been installed there will be a note stating so If a database connection has not been installed a note will appear stating a database connection is needed before installing the demo Logged in as admin log out Quality Demo Installer To install the Quality Demo Project click the Install Quality demo link By installing the demo SQLTags and QualityDemo project will be installed To remove the demo they will have to be removed individually install Quality demo Note Install the QualityDemo project to experience the features of the SPC module Demo Installation Page 3 2 2 User Interface This section is a quick walk through of the demo project that is included with the SPC Module It is intended to provide a starting point for SPC implementation lt can be modified added to or completely replaced to meet you specific requirements The functionality of the SPC demo project includes e Sample definitions e Scheduling samples e Sample entry e Late missing sample indication e Control charts e Analysis beyond control charts The demo is divided into two sections control charts and user screens Click on the Quality User Screens or SPC Control Charts for the
10. Your Site 1 Ek Your Area a Line 1 4 Filler y Capper j Labeler Inspection Case Packer L Palletizer f e Line 2 f gf acti Le of de Production Model Tree 4 3 2 1 1 Enterprise Configuration Adding an Enterprise To add your enterprise right click on the Production folder in the project browser and select the New Production Item gt New Production Enterprise menu item An enterprise named New Enterprise will be added to the Production folder Renaming an Enterprise To rename it to the name of your enterprise right click on it and select Rename then enter the new name Important Note It is extremely important to understand that production OPC values have an OPC item path that matches the layout of the production model and that renaming production items can cause Ignition tags associated with a production item to stop being updated See Production OPC Server for more information Inductive Automation Deleting an Enterprise Racine Changeover Project Browser a p x C Configuration S Production I Fourenterpi amp Transaction Groups Windows LE A ne ett at TA A Enterprise Name 465 To remove an existing enterprise right click on the enterprise item and select the Delete menu item A window will appear confirming that you permanently want to delete the production enterprise Please note that the site area s line s cell s ce
11. parameters sample This is the sample to remove Data Type Sample See Sample Object for more information returns String Message of any errors that may have occurred during the remove operation Data Type SEring getSample sampleUUID Return the sample specified by the sampleUUID parameter parameters sampleUUID Sample UUID to return the sample for A UUID is a universally unique identifier that once assigned to a sample will never change It is automatically generated when a sample is created and is unique in that no two samples will have the same UUID Data Type String See Sample Object for more information returns Sample An instance of a sample Data Type Sample See Sample Object for more information Inductive Automation SPC Quality 298 showEditNotePopup Show the note popup to allow the user to add or edit the note tied to the currently selected sample parameters none returns nothing 3 4 1 11 Sample Entry He Description A component used to display and enter sample measurement data The entry fields are dynamically created based on attributes defined in the sample definition Additionally the number of measurements are defined by the measurement count setting in the sample definition The Up Down Traversal property can be used to change the field tab order between column and row When saving the measurement data is validated and if any validation errors exists a message is displayed to
12. workOrderID The ID of the work order to modify This is the ID for the database table Data Type Integer Inductive Automation returns scheduleType start coDuration finish quantity userName note message OEE Downti 144 The type of schedule entry ane Data Type Integer Options 0 Work Order Run 1 Maintenance 2 Other The starting date and time of the schedule entry Data Type Date The duration of the changeover in minutes Data Type Integr The ending date and time of the scheduled entry Data Type Date The quantity of units to produce for this schedule entry Data Type Integer The name of the user who is adding this scheduled entr Data Type Sri An optional note to be tied to this scheduled entry Data Type String Contains a description of any error encountered otherw empty Data Type String editScheduleEntry linePath coDuration Edit an existing schedule entry parameters linePath workOrderID scheduleType workOrderID scheduleType start finish quantity userName note schedulelD The line path of the production line that this component i associated with This is the full path name of the ine sta the project name For example OEEDemo Your Enterprise Your Site Yor Area Line 1 Data Type String The ID of the work order to modify This is the ID for the database table Data Type Toceger The type
13. 4 XBar LSL 9980 imac LOL 119 18 Line 2 eet ee es ae XBar USt 10005 A d noiiduat UCL 120 93 Quality Status Samples Overdue O dz 297 4 T 120 xDar LSL 9990 A ALLA q individual UCL 119 5 Processing d xDar USL 0 2 m 4xBarvc 779 IAA N ere 4 xDar UCL 05 7 Quality Status O 4z 073 7 47 00 3 Samples Overdue MY AAA O ai xBar LSL 64 Overview Screen 3 2 2 1 2 Sample Definitions Sample definitions originate from two different sources One source is the Tag Collectors that are defined in the designer and are for the sole purpose of creating samples automatically from Ignition tags no human intervention The other source is from the sample definitions created using the screens covered in this section and are for the purpose of manual or semi automatic collection of sample data human intervention The sample definition screen is made up of components from the SPC modules that work together to allow for the management of sample definitions By selecting a sample definition the attributes locations control limits and signals associated with it are shown The attributes define the data measurements to collect for each sample The locations define the virtual locations that are appropriate for this sample definition The Control Limits table defines which limits to apply to this sample definition And last the signals define which out of control signals to apply to the sample defin
14. ControlLimits amp New Site 3 Packaging 5 Line 1 Y Line 1 Quality 3 Additional Factors SOLTag Collectors Tag Collectors new sample is collected Level gt Line 1 Checkweigher Control Limits gt Enabled gt Interval gt Interval Type gt Name gt SQLTag Path gt Signals O Temp Properties Name This reflects the name of the tag String collector that is configured in the Read Only designer SQLTag Path This reflects the SQLTag path that is String configured in the designer from which Read Only the sample measurement data is read Enabled If true the tag collector will Boolean automatically read the value from the associated tag and create samples based on the interval Interval Type This reflects the sample interval to use String with this tag collector as configured in Read Only the designer Interval This reflects the sample interval value Double as configured in the designer The Read Only meaning depends on the interval type See Intervals for more information Control Limits This reflects the control limits that will String be calculated during signal evaluation Read Only as configured in the designer Signals This reflects the out of control signal s String to be evaluated automatically when a Read Only Inductive Automation 3 6 Scripting SPC Quality 387 3 6 1 Production Location Events The following events are
15. Flow of Key Reason Detection O Inductive Automation O E Downtime 47 2 2 4 2 Adding Production Items New production model items can be added by right clicking on the parent item popup menu with the available options will appear For example right clicking on the Your Area production item then clicking on the New Production Item gt New Production Line menu item will add a new line below Your Area Adding A New Production Line After production items are added their OEE downtime and scheduling configuration settings and runtime values are available for use in Ignition windows transaction groups scripting etc Before values from the Production OPC Server can be used they must be added to the Ignition SQLTags This is done in the designer by selecting the SQLTags Browser and clicking on the icon This will cause the OPC Browser to appear Next drill down in the Production node within the OPC Browser Drag any of the Production OPC Values over to the SQLTags Browser as depicted below OPC Browser o Xx lt Default gt z 8 pp lgnition OPC UA Server Production 2 3 OEEDemo 2 5 Your Enterprise 1 ii SQLTags Browser ga Xx 7 En orkday Routine ATOH vas 443 j 3 Your Area Tag y gt Default Shift 1 Start Time gt Y Tags ig gt Default Shift 2 Start Time H 3 Line 1 i Default Shift 3 Start Time gt 3 Line 2 ce Description Sine eg CE 1 Enabled
16. Inductive Automation Instrument Interface Module 582 event source parent getComponent Sample Entry populateMeasurement Viscosity reading g else system gui messageBox Error reading value from instrument Inductive Automation Instrument Interface Module 583 5 6 Scripting This section is a reference for scripting functions provided by the Instrument Interface Module It also has a reference for any objects that are used by or returned by the scripting functions 5 6 1 Object Reference The Instrument Interface Module has a parsing engine that takes raw data received from an instrument and from it extract the desired values The extracted values can be used to set tags populate SPC sample measurement values populate tables written to database tables and more Because the extracted values come in various flavors and have various uses the paring engine returns the extracted values in a ParseResults object This section defines the ParseResults object and how to access the extracted values 5 6 1 1 Parse Results A ParseResult object is available from the call to getParseResults on the Serial Controller component properties e isValid Boolean If true indicates that all parse values exist and are valid e isRequiredValid Boolean If true indicates the all required parse values exist and are valid e get parseValueType List Returns a list ParseValue objects of type specified by the parseValueType
17. Inductive Automation shift The true unit count at the primary product infeed for the current shift The true unit count reflects the start of shift count and raw count rollovers The total production count that has been produced for the current shift It is in the primary product outfeed units The total minutes that the production ine has run for the current shift This value excludes planned and unplanned downtime The total number of units that should be produced for the current shift If a production run extends over multiple shifts this value is calculated for the current shift This value is adjusted for previous shift true production whether it did not achieve or exceeded its target This value will equal whichever is less of the forecasted production run completion time and the end of the current shift The ideal production count to the minute for the current shift based on the standard rate The variance between the Shift Standard Count and the Shift Production Count The ideal production count to the minute for the current shift based on the scheduling rate The variance between the Shift Target Count and the Shift Production Count The amount that the Run Waste Count increased for the current shift 7 Read Only Int4 Read Only Int4 Read Only Float8 Read Only Int4 Read Only DateTime Read Only Int4 Read Only Int4 Read Only Int4 Read Only Int4 Read Only Int4 Read Onl
18. OEE Downtime 87 2 3 7 Product Waste Before OEE Quality calculations can be performed waste count information is required Because of the varied approaches of determining waste on a production ine or process the OEE Downtime Module allows different methods of collecting waste information 1 Use the Run Waste Count OPC value for the line With this method the OEE Downtime Module will simply use the current value of the Run Waste Count OPC value when calculating the OEE Quality values This provides for custom waste tracking or calculations if the methods built in to the OEE Downtime Module don t fit your requirements If OEE Quality is not being used then this method should be used and setting the Run Waste Count OPC value to zero Automatically calculate the waste count using the built in algorithm based on the infeed count outfeed count and transit time defined in the Product Outfeed This method is an approximation and is less accurate especially in cases when product accumulation sections are used on the line Use configured Product Waste counters This OEE Downtime Module will track waste count using the same method used for infeed and outfeed counts The waste counts will be totalized and used in the OEE Quality calculations Waste Calculation Methods There are several ways to calculate the amount of waste coming from a production line None No waste calculation methods will be used to determine waste counts Run
19. gt Shift OEE 01 00 02PM 01 15 03 PM Filler 1 00 15 01 Break A 100 7 75 4 Notes 50 dh Add Note o 22 9 The portion of the operator screen shown below allows the operator to start end and resume production runs By clicking on the down arrow of the scheduled entry drop down box a list of scheduled production runs that have not been started will be shown for the operator to select from Before a different production run can be selected the current production run must be ended Product Code Quantity Units Run Started Operator Start Estimated Finish Production Run Scheduled Entry O_ABCD 02 07 05 00 AM a 0_127982 12 50 01 00 AM 0_127980 01 13 10 00 AM 0_127980 01 13 07 00 PM 0_127980 12 08 09 30 AM O WXYZ 02 03 04 00 AM O_ABCD 02 07 05 00 AM O_ABCD 02 07 08 00 AM Scheduled Run Selection Once the run has started the downtime events for the selected ine will show in the downtime reason table Sometimes downtime events occurred for more than one reason When this Inductive Automation OEE ti 31 happens downtime events can be split by clicking on the split icon as s OWN Below Comments can also be added by clicking A to the right of the split icon Downtime Reasons Begin End Cell Count Down Ti Reason 11 00 04 AM 11 30 03 AM Filler 00 29 59 10 48 03 AM 10 50 03 AM Case Packer 00 02 00 Case 10 51 03 AM 10 53 05 AM 10 45 03 AM 10 47 03 A
20. nmm nnn Compare By Selections Compare By items can be removed by clicking on the located to the left of the name Data Points Inductive Automation Data points are the individual pieces of information that will be present vine analysis For example sample count or approved count are just two of the many available data points To add a data point click on the 1 icon on the right side of the Data Points section Within the popup Data Point selection window click on the data point item to include in the analysis Data Points add Sample Count Approved Count Data Point Selections Data Points can be removed by clicking on the located to the left of the name The pie chart will only show one data point For this reason if more than one data point is selected the bar chart line chart or table must be selected to see all the selected data points Inductive Automation SPC Quali 247 Drill Down ee The drill down feature simplifies the compare by and filter selections Click on a chart series to display the available drill down options As shown in Drill Down Example 1 below clicking on the Line 1 Quality pie segment will show a popup menu of drill down options If the Shift option is selected then the analysis filters will show the information by Shift and the Filter By and the Compare By sections add Shift The result is shown in Drill Down Example 2 Again by clicking on the pie segment and selecting another dril
21. workOrderlD message The work order number to add to the database Data Type String The product code to produce for work order being added Data Type String The quantity of units to produce for work order being added Data Type Integer The ID of the work order to modify This is the ID for the WorkOrder database table Data Type Integer Contains a description of any error encountered otherwise it will be empty Data Type String OEE Downtime 134 deleteWorkOrderEntry workOrderID Delete an existing work order parameters workOrderlD The ID of the work order to modify This is the ID for the WorkOrder database table Data Type integer returns message Contains a description of any error encountered otherwise it will be empty Data Type SECAS Example Code The following script can be entered in a button s actionPerformed event It will add the work order to the database The return message will indicate if the there are any issues adding the product code such as if the work order already exists esp event source parent shorthand workOrder esp getComponent WorkOrderField text prodCode esp getComponent ProductCodeDropdown selectedStringValue quantity esp getComponent QuantityField intValue ctrl esp getComponent Work Order Controller result ctrl addWorkOrderEntry workOrder prodCode quantity if len result 0 system nav closeParentWindow event
22. 0 If set to true the number of histogram bars will be automatically determined Scripting name autoBarCount Data Type boolean Inductive Automation SPC Quality 306 Data Bar Count If Auto Bar Count is set to false the value of this property will determine the number of histogram bars Scripting name dataBarCount Data Type it Padding Bar CountThe value of this property determines how many empty bars will be included in histogram results Scripting name paddingBarCount Data Type int Events This component has standard Ignition events Methods refreshInfo Force refresh of the SPC results parameters none returns nothing setSpcDataFormat spcDataFormat Change to format if the SPC data to return parameters spcDataFormat Format of the SPC data to return Data Type int None XBarR XBarS Individual Median U C P NP Histogram Pareto X00 A0N 0 returns nothing setRowLimit rowLimit Change the default number of samples to return to the value specified in the rowLimit parameter By default only 500 samples are returned in the SPC results This is done to unburden the database network bandwidth and memory parameters rowLimit New row limit Data Type int returns nothing Inductive Automation getRowLimit SPC Quality 307 Returns the current row limit value parameters none returns nothing Example Code This script will change the format of the SPC result
23. 2 4 3 4 Line Schedule Selector Description A component that provides users to select a scheduled entry from a drop down list of available schedule entries for a production line The available options include only schedule entries that were scheduled for the production ine and have not already been selected All schedule entries are automatically displayed from the Schedule database table without the need for custom SQL statements or script O_PC2 03 12 02 00 AM a O_PC1A 03 01 01 30 AM Maintenance 02 28 03 30 AM WO_PC1B 02 28 05 00 AM O_PC2 03 11 03 30 AM WO _PC2 03 11 04 00 PM WO PC2 03 12 02 00 AM Line Schedule Selector Properties This component has standard Ignition properties with the addition of the following properties Inductive Automation OEE Downtime 135 Line Path The line path of the production line that this component is associated with This is the full path name of the line starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Scripting name linePath Data Type String Schedule ID The currently selected ID of the schedule entry This is the ID for the Schedule database table Scripting name scheduleID Data Type integer Events This component has standard Ignition events Methods selectNextRun Select next available schedule run parameters none returns nothing selectRun newSchedulelD Set new schedule ID
24. Enabled gt Name Product Code Reference Number gt Sample Coming Due y TRE RE RE HP lt gt Shift 2 Start Time gt Shift 3 Enabled gt Shift 3 Start Time Signal Out Of Control Location Inductive Automation SPC li 383 Child Folders Quality 8 Additional Factors Contains all of the additional factor entries that have been configured for the production ocation Contains all of the tag collector entries that have been configured for the production location SQLTag Collectors Inductive Automation Enabled property for the location in the designer The initial value of this property is determined by the Shift 1 Initial Enabled State property for the production location in the designer It can be changed from the initial value Properties Description Optionally this property can be set to a String description for the location It is not used by the SPC Module other than for reference Enabled If Enabled is set to true then the SPC Boolean module will perform calculations and enable tag collectors for the location Name This reflects the name of the location String that is set in the designer Read Only Product Code This reflects the product code currently String assigned to this location Read Only Reference Number This reflects the reference number String currently assigned to this location The Read Only reference number is optional and can repres
25. OU DATE_RANGE to return variances for the date range specified with the setFromDate and setToDate properties e setFromDate Date fromDate Set the start of the date range to return variances for if setVarianceScopeTypes DATE_RANGE is called Inductive Automation Recipe Changeover 549 e setToDate Date toDate Set the end of the date range to return variances for if setVarianceScopeTypes DATE_RANGE is called e setltemPath String itemPath Set the path of the production item to return variances for For example Your Enterprise Your Site Your Area Line 1 e setincludeChildren Boolean includeChildren Set if children production items under the production item specified by the setltemPath property should be included in the variance results e setIncludeInitialValues Boolean includelnitialValues Set if the initial values meaning the values when the recipe was first selected should be included in the variance results e setIncludeVarianceValues Boolean includeVarianceValues Set if the variance values meaning the values that changed after the recipe was first selected should be included in the variance results e setRecipe String recipeName Set an optional recipe filter The filter can contain and wild card characters For example Recipe C will include all recipes that start with Recipe C Recipe C1 and Recipe C21 will be included but Recipe D1 will not e setSubRecipe String subRecipeName Set
26. SP i 305 This property holds the currently selected attribute fo includein the results For each sample definition there may be multiple attributes that are collected This property selects which one to show get the SPC Results for Scripting name ttributeName Data Type String w This property holds the current control limit selections to include in the results If more than one item exists they are separated by commas Scripting name controlLimitSummary Data Type SEr Lag This property holds the currently selected signals to include in the results If more than one item exists they are separated by commas Scripting name signalSummary Data Type STELNG This property specifies the type of control chart to retrieve the SPC data for Options None No results will be returned XBarR XBar and range data will be returned XBarS XBar and standard deviation data will be returned Individual Individual and moving range data will be returned Median Median and moving range data will be returned P P chart data will be returned NP NP chart data will be returned C C chart data will be returned U U chart data will be returned Histogram Histogram data will be returned Pareto Pareto data will be returned Scripting name spcDataFormat Data Type SPCDataFormat Numeric value used in scripting None XBarR XBarS Individua Median U Cc P NP Histogram Pareto E ET 20000 BR ND
27. Saved Reports If the pie chart is selected only the downtime occurrences will be represented graphically However if the bar chart is selected then both the downtime occurrences and the downtime length in minutes will be shown graphically in separate bars Filter By Once an stored analysis has been selected you can change the selections to zero in on the data that you desire The filter section allows you to limit the data that is included in the analysis Filters can be added by clicking on the add icon on the right side of the Filter By section Within the popup filter selection window scroll down to the Factor Operator option and click the icon Notice the names of operator that can be selected Clicking on George Inductive Automation time Gonzalez will add the Factor Operator George Gonzalez causing E ana ysis results to included downtime data while George Gonzalez was the operator Factor Operator 4 Amber Wagner Andrea Rooney Chang Glenn Derrick Ray George Gonzalez Melinda Proctor Neal Middleton Scott Perez Stephen McNeill Yolanda Evans test Line Operator Reason PackageCount Planned Downtime Product Code ProductionUnits Recordable Downtime Filter By Options The list of available filters change based on the date range For example if George Gonzalez was on vacation for the desired date range then his name will not show as an available options The filter selection shown below
28. Site Compare By These are the comparisons that are available in the OEE Downtime and Scheduling Module However in addition to these comparisons additional factors may be available if they are string data type All additional factors start with Factor For example Factor Operator A comparison allows one data point to be compared between all areas days etc For more information on comparisons see the Compare By paragraph in the Analysis Screen section Area Inductive Automation 2 8 2 OEE Downtime 210 Day Enterprise Line Month Package Count Product Code Production Units Run Shift Site Week Data Points These are the data points that are available in the OEE Downtime and Scheduling Module However in addition to these comparisons additional factors may be available if they are string data type All additional factors start with Factor For example Factor Operator Data points are the different values that will be presented or compared on a graph or chart For more information on data points see the Data Point paragraph in the Analysis Screen section Area Comment Date Entered By Enterprise Line Package Count Product Code Product Code Description Production Units Run Shift Site Downtime Description The Downtime Analysis Provider is used to analyze downtime data Provider Name Downtime Filters Inductive Automation These are the filters that are available in the
29. This component has the same properties as the Ignition Week Component with the addition of the following properties Line Path The ine path of the production line that this component is associated with This is the full path name of the line starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Scripting name linePath Data Type String Inductive Automation 2 4 3 7 Current Events Date The date to show schedule entries for The date canbe any e ay om ls Sunday to Saturday Scripting name currentDate Data Type Date This control has the same events as the Ignition Table Component with the addition of the following events newEvent Is fired when the New Entry menu item is selected editEvent Is fired when the Edit Entry menu item is selected deleteEvent Is fired when the Delete Entry menu item is selected Methods none Example Code The following script can be entered into the newEvent event of this component It collects the selected time when the right click occurred and opens a new window with the collected values as parameters paraml param2 system system event source parent getComponent Production Line Selector selectedLiner event source parent getComponent Schedule Week View hoveredTimeLatched nav openWindow ScheduleNew LinePath paraml CurrentDate param2 nav centerWindow ScheduleNew Schedule Month View Ed Descript
30. beforeUpdate Is fired just before SPC results are requested from the SPC module Event none P r O p e r ti e s afterUpdate Is fired just after SPC results are requested from the SPC module Event P r O p e r ti none O Inductive Automation SPC Quality 314 Methods refreshInfo Causes the sample definition information to be refreshed parameters none returns nothing update Causes the SPC results to be updated parameters none returns nothing 3 4 2 4 Histogram Chart il Description The Histogram chart is used to display frequency distribution of sample measurements It does not retrieve SPC results from the SPC module so it must be used with either the SPC Selector or the SPC Controller components that do Only SPC results with Histogram SPC Data Format specified will be displayed Count 9991 9997 10003 10009 10014 10020 10026 Values 9974 9980 9986 Histogram Chart Inductive Automation SPC Quality 315 Through the use of the properties listed below the appearance and functionality of this component can modified as desired Properties This component has standard Ignition properties with the addition of the following properties Data Properties SPC Results SPC Data Background Color No Data Message No Data Q 5 COQ oO No Data Font Chart Properties Inductive Automation Bind this property to the SPC Results property of the SPC Con
31. donne system util invokeLater initMenultems allows all bindings to complete before execution parameter menuName The name of the menu item It will be returned in the userMenultemClicked event as event menultemName Data Type String returns nothing Properties This component has standard Ignition properties with the addition of the following properties Drag Enabled When true schedules can be re scheduled with drag and drop via the mouse Scripting name dragEnabled Data Type Boolean Time Controls the time resolution in minutes when performing time operations in the component Example When set to 5 minutes then any right click on the component will be aligned wth the closest 5 minute mark or if dragging a schedule to re schedule it wil fall into the closest 5 minute mark Scripting name timeResolution Data Type Integer Start Date The starting date for display Scripting name startDate Data Type Date End Date The ending date for display Scripting name endDate Data Type Date Line Filter A comma separated list of lines to display Example When set to Line A Line B then only Line A and Line B will be displayed Scripting name lineFilter Data Type Scring Inductive Automation EE Downtime 155 Production Model Item Filter A comma separated list of lines to display Selected Event ID Selected Event Date Example When set to OEEDemo Your Enterprise Site 1 Packaging then all
32. gt Downtime Reason Description gt Enable Run PS Enabled Infeed Count Line Child Folders Location One folder will exist for each Location that has been configured under the line in the Ignition Designer The folder can be opened to view all values within the location Inductive Automation Properties SPC Quality 380 Only the properties that may be useful for the SPC module are shown below See OEE DT Line for more properties Enabled Name Product Code Product Code Description Running Sequence No Shift Shift 1 Enabled Shift 1 Start Time Shift 2 Enabled This reflects the ine Enabled property in the Designer ff the line Enabled is set to true then the OEE Downtime and Scheduling module will perform calculations for the all cells within it If this property is set to false then none of the cells will have calculations performed This reflects the name of the line that is set in the designer The current product code being run on the line Typically this is controlled by the functionality of the operator screen but it can also be handled programmatically It should only be changed when Enable Run is false The description for the current Product Code This value will be true if a production run is started and production line is running Anumber that is 0 at the beginning of a production run and increments at the beginning of every shift The current shift based on
33. limit is associated with See ControlLimitKindTypes for more Read Only information Name This reflects the name of the control limit that is configured in String the designer Read Only 3 5 2 2 2 Signals Description The signals folder contains a folder for each signal The name of each folder is the same as the signal name that is configured in the designer The image below represents the Individual Outside signal of the QualityDemo project Production QualityDemo 5 New Enterprise I ControlLimits New Site 3 Qualityintervals Signals gt 3 Individual Outside Q SignalAutoEvaluateDuration gt SignalAutoEvaluatePeriod gt SignalChartShape gt SignalKind gt SignalName Out of Limits Outside Limits Out of Control Signals Properties Inductive Automation Kind SignalName SignalAutoEvaluatePeriod SignalAutoEvaluate Duration SignalChartShape 3 5 2 2 3 Intervals Description The ordinal value of the kind of control chart that the signal is associated with See SignalKindTypes for more information This reflects the name of the signal that is configured in the designer This reflects the ordinal value of the evaluation time period of the SignalAutoEvaluateDuration value See SignalAutoEvaluatePeriodT ypes for more information This reflects the duration to use when automatically evaluating sample data for a location for this sign
34. 39 Labeler Capper Packer Inspection Production Pie Chart This component has the same properties as the Ignition Pie Chart Component with the addition of the following properties Drill Down Options Previous Down Enabled This is a Dataset that must have at least one column The first column must be a data type of string The values in the first column will be shown in the drill down options menu Typically this property binds to the drill down options property in a Production Analysis Selector component Scripting name drillDownOptions Data Type Dataset This controls the visibility of the Back drill down menu option If it is set to true Back will appear at the top of the drill down options Scripting name previousDrillDownEnabled Data Type Boolean Inductive Automation Events OEE Downtime 113 This component has the same events as the Ignition Pie Chart Component with the addition of the following events drillDown Event Properties event get DrillDownName event getCategory back Event Properties Methods none 2 4 1 14 Analysis Table Description Is fired when drill down menu item is selected Excludes the Back menu item Returns the text of selected drill down option menu item Data Type String Returns the pie chart category that was clicked on to display the drill down menu This is typically the first column of the Data property dataset Data Type
35. Because Ignition can be configured to multiple databases the MES Module Settings configuration page is used to select which databases to store OEE downtime and scheduling data If only one database has been configured in Ignition then it will be selected by default To change the MES module settings go to the configuration section in the gateway and select the MES Modules gt Settings section from the left hand side configuration menu Once a database connection is created and if only one database connection exists then it will be automatically selected to be used by the MES modules If more than one database connection exists then the desired database connection can be selected to be used by the MES modules as shown below Inductive Automation iti by inductive automation Developer Mode Home Status Configure Launch Designer C7 Logged in as admin log out System MES Module Settings g Restore Runtime Datasource e Runtime ProductionDB User Manual Database The database connection to store runtime production data Configuration Data Retention 30 Projects Duration Number of days to retain runtime production data Analysis Datasource Analysis ProductionDB Database The database connection to store historical analysis production data to Multiple sites can be set to the Databases same analysis database to allow enterprise reporting Connections Drivers Save Changes Store and Forward MES Mod
36. Factor SQLT ag The required SQLTag is the source of the data value that will be logged It is an Ignition SQLTag and the values can come from a PLC a database query other device in the field such as a barcode reader expression user input or script This opens the door to mesh any type of outside data into the MES module analysis and reporting Any type format of data that can be stored in an SQLTag can be logged If SQLTag value is a string then the end user can filter and group by the additional factor If the SQLTag is a number the option to filter and group by the additional factor will not be shown to the end user The SQLTag can be manually typed or pasted into the Factor SQLTag edit box Optionally clicking on the IS icon will display a browser where a SQLTag can be selected Editing an Additional Factor To edit an existing additional factor right click on the desired entry in the additional factor table and select the Edit menu item A dialog box similar to the add dialog box will appear allowing editing of the additional factor Deleting an Additional Factor To remove an existing additional factor entry right click on the desired entry in the additional factor table and select the Delete menu item A window will appear confirming that you want to remove the additional factor The additional factor will no longer be logged However any production runs that occurred before the additional factor was deleted will still show in t
37. Inductive Automation Recipe Changeover 553 value parameter Example upperLimit system tag read Default UpperLimit lowerLimit system tag read Default LowerLimit recipeValue event getRecipeTag getCurrentValue rt event getRecipeTag uLimit rt scaleValue upperLimit value event getScale lLimit rt scaleValue lowerLimit value event getScale if recipeValue gt uLimit or recipeValue lt lLimit event setLogVariance True else event setLogVariance False Inductive Automation Instrument Interface Module 554 5 Instrument Interface Module 5 1 Introduction The Instrument Interface module is used to define communication settings and data parsing templates to an instrument These settings and parsing templates are then used to read data from a instrument and parse the raw data to extract desired values The data from an instrument can come from a file serial communication port TCP or UDP connection OPC device such as a PLC external data or web service The image below show the typical flow of data when reading instrument values through a serial communications port Note that the Client Serial Support Module is required to read serial data on a client computer The Instrument Interface Module includes a component to make configuring and control of serial port communications easier than using the script only support of the Client Serial Support Module ff reading data from a serial
38. It is incremented by one at the start of a new shift This provides a method to limit results for a single shift or production runs that span over multiple days If this parameter value is true all shifts for the production Boolean run are returned If it is false then only the shift specified by the value in Run Sequence No parameter will be returned Interval This parameter specifies the time interval that the results Hour are to be to organized by Minute Number This parameter specifies the minimum number of Integer Minute minutes in which the results should be returned This to Show keeps chart appearance from shifting on each update Include Actual If this parameter value is true actual production counts Boolean Production History Scheduled vs Actual Description Production will be included in the results Counts Include If this parameter value is true standard production counts Boolean Standard will be included in the results Standard production counts Production are based on the standard rate Counts Include Target If this parameter value is true target production counts Boolean Production will be included in the results Target production counts Counts are based on the scheduling rate Include Line If this parameter value is true line accumulation counts Boolean Accumulation will be included in the results Accumulation counts reflect Counts the difference of the infeed and outfeed counts In other terms the amo
39. Line Path Selected Product Code Events The ine path of the production line that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Scripting name linePath Data Type String The currently selected product code ID Scripting name selectedStringValue Data Type String This component has standard Ignition events Methods none 2 4 1 4 Product Code Table I Description A component that displays all the available product codes in a table and allows the product code to be disabled All product codes are automatically displayed from the ProductCode database table without the need for custom SQL statements or script Product Code Description Disable Product Code 1 Product Code 2 Product Code 3 Product Code 7 Product Code Table When a product code is disabled then it cannot be selected during work order creation or product code selection This component usually works in conjunction with the Product Code Line Table and Product Code Properties Table components Refer to the OEEDemo project for a complete example Inductive Automation OEE Downtime 94 Inductive Automation Properties OEE Downtime 95 This component has standard Ignition properties with the addition of the following properties Selected Product Code Selected Pr
40. Name Your Site String h Name a Client Description System Enabled J All Providers Name Add Production OPC Server Values to SQLTags 2 2 5 Configuration Because the OEE Downtime and Scheduling Module is built on the Ignition platform configuration is done using the Ignition Designer Inductive Automation OEE Downtime 48 Components In addition to the components that come with Ignition the OEE Downtime and Scheduling Module provides additional components that make implementing an OEE downtime and scheduling system easier These components greatly reduce or in some cases eliminate the need for custom SQL statements and scripting Component Palette ola x input Buttons Display Tables Charts Calendar Shapes Misc db Schedule OEE DownTime db Production db Reporting 254122893293 Schedule Components Component Palette gla x Input Buttons Display Tables Charts Calendar Shapes Misc Schedule OEE DownTime amp Production amp Reporting FRA OEE and Downtime Components Component Palette ola x Buttons Display Tables Charts Calendar Shapes misc Schedule dh OEE DownTime db Production db Reporting FURR VS HBV TELE Input Production Components For example the Production Line Selector component a allows users to select a production line When a new production ine is added to the syst
41. Returns the schedule ID of the event where the user menu item was clicked If no event exists then it will return 1 Data Type Integer Returns the run ID of the event where the user menu item was clicked If no event exists then it will return 1 Data Type Integer Returns the run name of the event where the user menu item was clicked If no event exists then it will return blank Data Type String Returns the start date of the event where the user menu item was clicked If no event exists then it will return None Data Type Date Returns the end date of the event where the user menu item was clicked If no event exists then it will return None Data Type Date Fired when the new event menu item is selected by a right mouse click Use selected component properties to create and add a new schedule Example This wil open the OEE Demo applications schedule new window to add a new schedule entry The new schedule wndow requires the line path and selected date Inductive Automation Event Properties none editEvent Event Properties none deleteEvent Event Properties none Methods OFF Downtime 152 bZ Event handlers for Line Schedule View zaja C Navigation Set Tag Value 8 SQL Update A Set Property Script Editor menu n LL userMenuitemClicked No Action En Y mouse a mouseMotion Open Swap iiA 3 prope
42. String Returns the definition UUID for this sample e getinterval Double Returns the defined interval of this sample e getDuration Double Returns the number of minutes needed to take a sample e getTag String Returns the tag associated with this sample e getComingDueMin Double e getOverDueMin Double e getSecSinceLastSampleScheduled Integer Returns the seconds since the last sample was scheduled e getSecSinceLastSampleTaken Integer Returns the seconds since the last sample was taken e getProductCode String Returns the product code associated with this sample e getRefNo String Returns the reference number associated with this sample e getTraceEnabled Boolean Inductive Automation SPC Quality 390 e getTraceStartedAt Date e getElapsedSeconds Integer Returns the e getTraceEndedAt Date e getSequenceDate Date Returns the sequence date of the sample Sequence date is the date representing the start of the current shift e getSequenceNo Integer Returns the sequence number of the sample Sequence number is the sequential number of shifts from the start of the production run e getShift Integer Returns the shift number e getValueChangeCount Integer Returns the number of time the associated value has changed e getValueChangedTimeStamp Date Returns the date time the value changed getValue Object Returns the value of the
43. This is the data type of Fe Bepe va ue This is the description from the recipe value configuration that was entered in the designer This is the numeric format from the associated Ignition tag This is the name of the recipe If the Format filter is set to Recipe Comparison Default then this data point will not be included in the results This is because columns are added for each recipe being compared For example when comparing Recipe A to Recipe B there will be Recipe A Recipe Value and Recipe B Recipe Value columns This is the units from the associated Ignition tag 4 5 2 Recipe Variance Analysis Provider The recipe variance analysis provider is used to collect recipe variances for display or report purposes This provider can be used to collect variances in real time or historically for a date range Filters The recipe variance analysis provider can accept the following filters Scope Item Path This is a required filter to specify the scope of what to include in the results Q Date Range Q Last Active Recipe This will look for the last recipe selection in the variance log and only include the associated variances in the results This can be used to monitor active runs or the last run if the recipe has been canceled Example when using it with the Analysis Controller Scope Last Active Recipe This is a required filter to specify the production item to include in the results It is the item path for th
44. This provides a quick method to add recipe values that are common to all machines beneath a cell group It also allows for the ability to propagate a value of a recipe value down to all production items beneath the cell group See Production Model for more information on propagating recipe values to child production items See Recipe Types for more information about recipe values and Recipe Values for more information about configuring recipe values Inductive Automation Reci han ver 47 4 3 2 1 7 Location Configuration eelpe Changeove 3 Adding a Location To add a production cell right click on a line folder in the project browser and select the New Production Item gt New Production Cell menu item A cell named New Cell will be added to the line folder Multiple production cells can be added to a production line Renaming a Location To rename it to the name representing the production cell right click on it and select Rename then enter the new name Important Note It is extremely important to understand production OPC values have an OPC item path that matches the layout of the production model and that renaming production items can cause Ignition tags associated with a production item to stop being updated See Production OPC Server for more information Deleting a Location To remove an existing production cell right click on the cell item and select the Delete menu item A window will appear confirming that you permanently
45. communication port Returns the dat that was received from the serial communications port Data Type String if readString or readUntil initiated the read byte if readBytes initiated the read Is fired when the serial communications port has been polled for data none Is fired when an error occurs on the the serial communication port The errorMessage property can be read to get the error message none Instrument Interface Module 578 openPort Attempts to open the port If an error occurs the errorMessage property will be set and an exception will be thrown parameters none returns nothing close Port Attempts to close the port If an error occurs the errorMessage property will be set and an exception will be thrown parameters none returns nothing write String text Write value of the text parameter to the communication port If an error occurs the errorMessage property will be set and an exception will be thrown parameters text The text to write to the port Data Type String returns nothing write Bytes data Write value of the data parameter to the communication port If an error occurs the errorMessage property will be set and an exception will be thrown parameters byte The byte array to write to the port Data Type byte returns nothing readString Reads and returns string data from the communication port If an error occurs the errorMessage property will be set
46. e setName String name Sets the name of this control limit as defined in the Ignition designer e getKind ControlLimitKindTypes Returns the the kind of control limit There are different types of control limits and calculations for each type of chart category and this property makes this association between the two e setKind ControlLimitKindTypes kind Sets the the kind of control limit There are different types of control limits and calculations for each type of chart category and this property makes this association between the two e setKind int ordinal Set the the kind of control limit based on a ControlLimitKindTypes ordinal value There are different types of control limits and calculations for each type of chart category and this property makes this association between the two e getEnabled boolean Returns true if this sample definition control limit is enabled If disabled it will not show as an option on the control charts e setEnabled boolean enabled Sets this sample sample definition control limit enabled state If disabled it will not show as an option on the control charts e isModified Returns true if this sample definition control limit has been modified e isNew Returns true if this sample definition control limit is new 3 6 2 9 Sample Definition Signal The sample definition signal object holds all of the information defining a signal that will be applied to a sample definition Be sure not to con
47. number that was generated by the database when a row is inserted into the Run table It can be used to associate external data to a production run The ideal production count to the minute for the current production run based on the standard rate This is based on the time the ine is scheduled to run The total amount of planned downtime in minutes for the current production run The total production count that has been produced for the current production run It is in the primary product outfeed units The ideal production count to the minute for the current production run based on the standard rate This is based on the time the line has been running not counting any downtime The variance between the Run Standard Count and the Run Production Count This will equal the time that the production run started or the beginning of the current shift whichever occurred last The value will be true if a production run has started Even if the production run has been ended but a new production run has not been selected this value will be true The ideal production count to the minute for the current production run based on the scheduling rate The variance between the Run Target Count and the Run Production Count Gee pow ntime oat Read Only Int4 Read Only Int4 Read Only Float8 Read Only Int4 Read Only Int4 Read Only Int4 Read Only DateTime Read Only Boolean Read Only Int4 Re
48. recipeName enableValueMonitoring Set the recipe for the production item specified by the itemPath parameter If the production item is a line then all children production items of the line will also be set to the same recipe provided they were added to the recipe This script function can be used in gateway client scripts When called from the client omit the projectName parameter parameters returns projectName itemPath recipeName enableValueMonitoring none The project name Only include when called from the gateway When called from the client the project is the same as current project for the client Data Type String The item path to a production line cell cell group or location For example Your Enterprise Your Site Your Area Line 1 Data Type Stering The name of the recipe Data Type String If true turn on recipe value variance monitoring See Variance Monitoring for more information Data Type Boolean Inductive Automation 4 7 1 21 cancelltemRecipe Recipe Changeover 541 system recipe cancelItemRecipe projectName itemPath Cancel the current recipe for the production item specified by the itemPath parameter If the production item is a line then the recipe for all children production items of the line will also be canceled This script function can be used in gateway client scripts When called from the client omit the projectName parameter parameters proje
49. reports There are no restrictions on the number of tags logged data items screens or clients users Enterprise Extension In addition to the above editions the Enterprise Extension allows analysis and reporting across multiple physical production sites from anywhere on your network Compare efficiency and downtime by production line operator user defined values and more Requirements Standard or Line License for the OEE Downtime Module and the Reporting module Inductive Automation Introduction 16 Activation Activation as mentioned above is the method by which a cd key is locked down to the install machine and the modules are notified of their license state It is a two step process that can be performed automatically over the internet or manually through email or the Inductive Automation website Step 1 Enter CD Key When the software is purchased you are provided with a six digit CD key After logging into the gateway configuration go to Licensing gt Purchase or Activate and select Activate Enter your CD key Step 2a Activate over Internet If your computer has internet access activating over the internet is the easiest option A secure file will be created with your cd key and sent to our servers The response file will then be downloaded and installed completing the entire process in seconds OR Step 2b Activate Manually If you do not have internet access on the installation machine you m
50. system recipe getRecipeVariances filters event source parent getComponent Table data ds Inductive Automation Recipe Changeover 536 4 7 1 16 getltemRecipeList system recipe getItemRecipeList projectName itemPath recipeFilter Return the current recipes available for a production item This script function can be used in gateway client scripts When called from the client omit the projectName parameter parameters projectName The project name Only include when called from the gateway When called from the client the project is the same as current project for the client Data Type String itemPath The item path to a production line cell cell group or location For example Your Enterprise Your Site Your Area Line 1 Data Type See Lig recipeFilter Optional recipe filter The filter can contain and wild card characters Data Type String returns List lt String gt Example itemPath event source parent getComponent Production Line Selector selectedPathWithout Request the available recipes for the selected production item list system recipe getItemRecipeList itemPath Recipe C for recipeName in list system gui messageBox recipeName Inductive Automation 4 7 1 17 getCurrentltemRecipe Recipe Changeover 537 system recipe getCurrentItemRecipe projectName itemPath Return the current selected recipe name for a production item This script function can be used in gateway client scri
51. that was clicked in the userMenultemClicked event String Ignition image path of the icon to display in the user menu item ls fired whenever a user menu item is selected Returns the name of the user menu item that triggered the event Data Type String Returns the item path of the currently selected production item Data Type String Returns the name of the currently selected recipe Data Type String Returns the name of the currently selected recipe value Data Type String Returns the name of the currently selected sub recipe Data Type String Returns the name of the logged in user Data Type String Returns true if Show Recipes property is true Inductive Automation Data Type event is Showltem Defaults Methods peipe I Changeover 491 ean R Boo Returns true if Show Item Defaults property is true Data Type Boolean changeLocalizationString key displayT ext Any of the text that is displayed in the reci pe editor change be changed For example displaying Recipes for the root recipe node can be replaced with Products This can be done for any static text in the recipe editor including menu items parameters key The key to the string value to change Data Type String Recipe Editor component keys node node node node node node menu menu menu menu menu menu menu menu menu menu menu menu menu menu panel panel panel panel panel displa
52. the open area on the recipe value table Inductive Automation Project Browser o g Eg Configuration Instrument Interface EES Production Enterprise A Site E E Area 1 ES Timed Test ES Tag Change Test s am Line a Line 2 Line 3 dl Line 4 amp Transaction Groups E Windows by Templates E Symbol Factory SQLTags Browser ga AVE VSJM dd O A1 Ad a gt ActiveRecipeName S Demo gt EnableRecipe Line Speed gt RecipeActive RecipeLoading RecipeTrackfgUUID gt RecipeVa anceExists TAS C Line 2 Racine Channenvar 472 Fd Line 1 Line Production Item UNPUBLISHED Ag General OEE Schedule Recipe Advanced Sub Recipe Mask 1 Recipe Value Name Description Tag Re Line Speed Description for Recipe Siten r Value 1 as Value 2 Rh aa Le h o pr rima PT ri ln mm ee Status State Running PEO gt Adding a Recipe Value Using Drag and Drop Assigning Tags to Recipe Values In cases where recipe values propagated down from a parent production item or recipe values have been previously created with no tag assigned to them tags can be assigned to them using drag and drop This can only be done one tag to recipe value at a time Inductive Automation Racine Channenver 479 Project Browser of x a gt Line 1 f Eg Configuration LL
53. 15 minutes Equipment Definition Batch System Machine Recipes Machine recipes are used for setup equipment to run a given product or to put it in a given mode If a machine can run 20 different products and each product has different settings then the need to manage recipes is essential Commonly machines have some sort of operator interface that will allow the operator to change settings and in some cases have a very basic recipe system This can work okay for a single machine but with production lines where there are several machines it becomes more of a task to go to each machine and make sure it is setup to run the next product on the schedule This requires time and is prone to mistakes during changeover between products When a recipe product code is selected for a machine the recipe values are written to Ignition tags some or all of the Ignition tags can be mapped to memory locations in a PLC In Inductive Automation Recipe Ch 433 the image below all the recipe values except for the Barcode are mapped to LC through OPC The Barcode recipe value is just mapped to an Ignition memory tag and can be displayed on a screen for the operator to verify the barcode number or it can be sent to a printer through serial or TCP IP If the Almonds recipe is selected the recipe value will be written to the Ignition tags If the Ignition tags are tied to PLC memory addresses they will end up in the PLC and the machine will be
54. 2 3 1 MES Module Configuration The OEE Downtime and Scheduling is just one of the MES Manufacturing Execution System modules that has settings which can be set 2 3 1 1 Datasource Settings OEE downtime and schedule data is stored in databases external to Ignition These database s are setup in the gateway configuration section by selecting the Databases gt Connections section from the left hand configuration menu in Ignition See the Ignition documentation for more information on setting up a database connection Below shows a typical database connection that is required for the OEE Downtime and Scheduling module Database Connections Name Description JDBC Driver Translator Status ProductionDB Microsoft SQLServer JDBC Driver MSSQL VALID edit delete Create new Database Connection Note For details about a connection s status see the Database Connection Status page Sample Database Connection To change the MES module settings go to the configuration section in the gateway and select the MES Modules gt Settings section from the left hand side configuration menu Once a database connection is created and if only one database connection exists then it will be automatically selected to be used by the MES modules If more than one database connection exists then the desired database connection can be selected to be used by the MES modules as shown below O Inductive Automation 2 3 2 OFF Nawntime 54 MES Module S
55. 4 PS RA ts CNE OO N tte nn ona Production Comments Panel To add a comment select the Add Note link A new window panel will appear and allow you to enter text If you select Sticky that will force the note s to appear at the top of the list The color of the background of a sticky note can be controlled with the Sticky Note Color property After a sticky note is entered it can be un stuck by selecting the unstick If note deletion is allowed the link delete can be selected to delete the note Properties This component has standard Ignition properties with the addition of the following properties Line Path The line path of the production line that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Scripting name linePath Data Type String Run Reference ID The run ID of the production run to display comments for If its value is set to 1 then comments for the current production run will be displayed Note Setting of this property is only required when viewing comments for past production runs Scripting name refID Data Type int Delete Mode Determines how deleting of comments will be handled Scripting name deleteMode Data Type int Values No Deletes Owner Deletes Any Deletes Inductive Automation Entered By Inductive Automation EE Downtime 99
56. 4 2 2 Performance Indicator Description A component that displays an indication of actual versus target values It provides a visual indication to users that is easy to comprehend with a quick glance These values can be unit count OEE or any values residing in SQLTags Target 0 85 Performance Indicator This is similar to a bar chart except that it only has 2 series or bars Also the values reside in SQLTags instead of having to setup values in an Ignition Dataset Properties This component has the same properties as the Ignition Bar Chart Component with the addition of the following properties Actual Value The value that is represented by the actual indication bar Scripting name actualValue Data Type Double Actual Label The text displayed to describe the actual value Scripting name actualLabel Data Type String Actual The color to use for the actual indication bar Color Scripting name actualSeriesColor Data Type Coles Inductive Automation Chart Type The type of chart to show ere E Scripting name chartType Data Type CategoryltemRenderer Options 3D Bars 3D Stacked Bars Area Bars Layered Stacked Bars Indicator Target Value The value represented by the target indication bar Scripting name targetValue Data Type Double Target Label The text displayed to describe the target value Scripting name targetLabel Data Type Steig Target Series The color to use for the target indication ba
57. 8 Consecutive points below control line signal calculation nc 3 3 5 Sample Intervals 3 3 5 1 Overview Samples can always be taken manually but the SPC module supports scheduling samples to be taken manually and automatically taking samples Sample Intervals are used to define the amount of time or number of readings that pass between samples For example the interval may be a timed interval that occurs every three minutes every 100 readings or samples can be taken continuously These options will be available when defining a sample on the Sample Definition page when adding or editing a location They also are used by Tag Sample Collectors Sample Intervals can be added edited or deleted on the Enterprise page of the designer under the Quality tab 3 3 5 2 Default Intervals When a new Enterprise Production Item is added the following intervals are added Every Value Change Every x Value Change Manual Once at Production End Once at Production Start Shift Change Timed Interval Days Timed Interval Hours Timed Interval Minutes Timed Interval Seconds 3 3 5 3 Add Intervals To add a sample interval right click the Sample Intervals table and select New from the drop down menu A window will appear with several fields to be completed including the name of the sample interval as well as the scripting necessary to use the sample interval Inductive Automation 272 ES Edit QualityIntervals
58. A NS PU NT an descentes Leroy GetRecipeV A ne ne cr ton aa dre nt en nn Re nave agrees istemRecipeMonitoringEnabled sise 539 SelternReCipe ii ri A Ad nee retenir nt ee 540 canceltemRecipE 00d minier ann AA ann een A oes 541 readt mO rrentValdes sr enr ne AE Naci 542 Inductive Automation EXPOrtRECIPE HA Hon en A Ale dan nn a OL a era Re ns Aie han crea 543 IMDONIRECIDE iio RASCA des RE eee A EA 544 Recipe Value Scripts 544 Evaltate Variance SCripls ans A Ai 544 Request Valle Scripts diia id 545 ODJECERETOT ONCE EEE E A E A a dass 546 ChangelogFilters cum A A AA en nan nt 546 Vaniancehiltenss tice des does atado e E ows e e o e e ant etre 548 HEMRECIPEV AUS cui a A A iii 550 REGCIDCT AGH ii iaa 551 Part V Instrument Interface Module 554 NT 554 2 File Monitor Settings oaeiai iirinn ecduaesinesaveddectdacsanecesviseccoucsinecasedtertiaess 556 Seria li 558 4 Parse Template nt a inca diera 561 5 Component Reference civic ra ia ei 567 File Monitor sassasssnssnstsenseeseseestsenstennseneesenseeesseeanseeseseuseeauseaseeeusteassessesausteasseuseseuateasseuatsensteassenataenseuassenateensenensenaeeeeas 567 Serial Controle A cer toa 572 A A A 583 Object Re Ll 11 e IPPO Po PO O ts 583 Parse ReSultS O AO TRA 583 Parse Value a A A O add 584 Parse Row Collection Antes tts iA deli AP italia tab beled NAN 584 ParseiROW taire eset ieee id A dk Si es 586 Gate Way Sc
59. AEAEE OANA ed see AERAR A cougar adecga yy ed ceuayyanecbauyeg cedars Installation A A eed ene SS ene 225 Existing Ignition SyStemtssav seventeen hentai didas 225 hstallng MOGUIES uri Aaa AA CIAO cei a 225 New Ignition SEM iii e ani a acorn nave arden eden evn aerator id 227 Selecting Instal Options is hacia cdi hee ln deed rentree bier tent e ees 227 Configure Database MES Module Settings Demo Installation 2 2 rss mens pie A AA EOI CEA RR User InterfaGe fine Re re tn el ane scape anes ease annee tee re ete etes te net Quality User Sres nus it A A des 230 Overview O Inductive Automation Sample D finitions ssl inner A ennemi nn andere 232 Sample Entry SPC Control Charts Control Charts Analysis SA cident a seccctads ccccceusecctedascacaqcsseccctuds a E MES Module Configuration Datasource SENOS snie aiid niin inion Td shin hina alan eile dn dod hud Maan Production Model Confio U a O N cccccecesscesssscssesesessessonessocesssgsessserenaccssuaessuseicanecesecscenstiessetsvensesusbsdsndertensstnsererastsrsese 249 Production Mod le 2 oi is Ad A AA A ine ee AA 250 Enterprise ConfigUr alista nn r in A a 250 Site Configuration faisaient iii iii ais 253 Area Configuration ii AA capa A A A AA bt 254 Line Configuration Aj AAA e eis aati aes AR de tt 256 Location Configuration 257 Control Limits sister tement rene dad acca anaE Sarda dana tenue gent eecesauv eadedaede
60. Downtime 22 2 2 Getting Started This getting started guide will step you though OEE Downtime and Scheduling module installation demo installation the demo user interface and configuration features 2 2 1 Installation Follow the next four sections to install the complete OEE Downtime and Scheduling If you just want in install the core modules and skip the demo follow the next three sections 2 2 1 1 Installing Modules To install the OEE Downtime and Scheduling module on to an existing Ignition server follow the steps below Before installing the OEE Downtime and Scheduling module it is recommended to first setup the database connection that will be used to store OEE downtime and scheduling data 1 Download the OEEDT Installer modl module from the Inductive Automation download website It will be under the MES modules heading 2 Install the OEEDT Installer modl module Navigate to the Modules page of the Ignition gateway At the bottom of the list of already installed modules click the 1751 or Upgrade a Module link Next browse to the OEEDT Installer modl file and click the install button as shown below i ti g by inductive automation Developer Mode Home Status Configure Launch Designer C7 Logged in as admin log out System Install or Upgrade Module Status Licensing Backup Restore To install a module choose its modi file and press Install Console Q To upgrade a module install the new v
61. Factors I Capper Case Packer O Filler CN Inspection O Labeler Q Palletizer 3 Product Infeed Product Outfeed O Workday Routine gt Accumulation Count gt Actual Finish Time gt Actual Run Start Time F FO deb SD Actual 38 time a 4 FO State iid gt State S LTag iid gt Use Key Reason Detection gt Work Order Line Contains all of the additional factor entries that have been configured for the production line See Additional Factors for more details Contains all of the downtime reasons entries that have been configured for the production line See Downtime Reasons for more details Contains all of the workday routine entries that are active for the production line See Workday Routine for more details One folder will exist for each Cell that has been configured in the Ignition Designer The folder can be opened to view all values within the cell Inductive Automation Properties Accumulation Count Active Downtime Duration Active Downtime Is a Short Stop Active Downtime Starttime Actual Changeover End Time Actual Finish Time Actual Run Start Time Actual Start Time Auto Run Schedule Auto Start Run Calculate Count Inductive Automation Accumulation Count Infeed Count Run Production Count This represents the amount of product accumulated on the production line and is adjusted for package count It
62. For each outfeed the OEE module will start calculating production rate per minute or production rate per hour values These values can be accessed through the Production OPC Server See the section on Production OPC Values for more information See the section on Product Outfeed for more information Adding a Product Outfeed See the section on Adding a Product Outfeed for details on adding product outfeed entries Editing a Product Outfeed See the section on Editing a Product Outfeed for details on editing product outfeed entries Deleting a Product Outfeed See the section on Deleting a Product Outfeed for details on deleting product outfeed entries Product Waste For each waste entry the OEE module will start tracking true waste count values These values can be accessed through the Production OPC Server See the section on Production OPC Values for more information See the section on Product Waste for more information Adding a Product Waste Entry See the section on Adding a Product Waste Counter for details on adding product waste entries Editing a Product Outfeed See the section on Editing a Product Waste Counter for details on editing product waste entries Deleting a Product Outfeed See the section on Deleting a Product Waste Counter for details on deleting product waste entries Inductive Automation OFF Nawntime AR Product vaste Name 7 Inspection Rejects Line IPL Glue J waste C
63. If the first cell on the line keeps accepting raw material then the line will be producing product However in some situations it could be the slowest machine because it cannot catch up for lost production Line State This method is used when the other methods are not appropriate This method allows implementing custom methods of ine downtime detection When using this method all downtime reasons must be entered into the ine downtime reason table and not the cell downtime reasons table This method will only read the line downtime reason from the State SQLTag configured for the ine to determine the line downtime reason When using this method detailed cell downtime tracking can still be used but it is isolated from the line downtime reasons 2 3 4 1 Adding a Downtime Reasons To add a Downtime Reason right click anywhere in the Downtime Reasons table and select New from the menu The following window will appear r Y Add Downtime Reasons Reason Name Reason Code 2 Record Downtime O Planned Downtime Operator Selectable Never Es KI Sub Reason of None Adding a Downtime Reason Reason Name The required reason name is used to reference one reason from another an must be unique within the production ine or cell The reason name should be meaningful to the end user This is because the end user can filter and group analysis and report by the reason nam
64. Inductive Automation By default added areas are enabled It can be disabled by un checking the Enabled setting and saving the project This will stop the OEE downtime and scheduling module from executing the area and all line s and cell s that are underneath it This is an optional description and is just for your reference If checked shift 1 will be included during scheduling If not checked shift 1 will be scheduled around To inherit the shift enabled from the from the site select the Inherit From Parent option The time of day that first shift starts The first shift ends at the start of second shift To inherit the time of day that first shift starts setting from the site select the Inherit From Parent option If checked shift 2 will be included during scheduling If not checked shift 2 will be scheduled around To inherit the shift enabled from the from the site select the Inherit From Parent option The time of day that second shift starts The second shift ends at the start of third shift To inherit the time of day that second shift starts setting from the site select the Inherit From Parent option If checked shift 3 will be included during scheduling If not checked shift 3 will be scheduled around To inherit the shift enabled from the from the site select the Inherit From Parent option SP i 256 Default Start The time of day that third shift starts The third shift Ends atthe start of first Time shif
65. It is not a matter of whether or not the person responsible for taking samples has been distracted and missed taking samples it is a matter of when The Ignition SPC module has powerful features that will schedule samples based on current realtime production Inductive Automation SPC Quality 224 conditions For example if a lab staff is required to take samples every hour a production line is running what happens when there is a break down or the production start is delayed because the lack of raw materials How does the lab technician know when production started and if it has been a hour In a variety of ways the Ignition module can let the lab technician know that production has started and a sample is coming due is due or is overdue This can be expanded to instantly inform all parties that should know of various sample due states This can be utilized for more than taking live process samples It can also be used for other checks that have to be done around the production facility such as weekly inspections of values or rodent traps 3 1 3 Evaluating Signals Typically SPC software requires that someone opens a screen and visually checks for out of control conditions Just like the scheduling of samples someone may be distracted by other pressing production issues and fail to complete the task The Ignition SPC module has powerful features that will automatically evaluate out of control signals every time new sample data is reco
66. Name Timed Interval Minutes Script Time Interval Minutes Name This is the required unique name of the interval as it will appear in selection lists Script Because the default intervals may not be exactly what you are looking for the SPC module uses scripting This allows the user to override the default calculation of an interval or adding new intervals that the SPC module may not provide by default Additionally they can be removed cleaning up selection lists of intervals that may never be used In the sample definition an interval can be selected and will define when new samples are scheduled These scheduled samples require manual entry of measurements In the Tag Sample Collector configuration an interval is used to define when to automatically add new samples In the example below any lines that start with the pound character are comments and are ignored when the script is executed Line 2 will allow us to use the Calendar object to do math with date values See the Ignition documentation for more information Line 5 returns the seconds since the last time a sample was scheduled There is a wealth of information in the event object that can be used to determine if a sample should be scheduled or taken See Interval Line 8 returns the duration to use In this case it is in minutes Line 9 returns the coming due minutes It is going to be used to schedule a sample prior to the time
67. OEE Downtime and Sohadulng Module However in addition to these filters additional factors may be available if they are string data type All additional factors start with Factor For example Factor Operator A filter will allow the user to see all of the data points in the analysis provider as it pertains to a specific area shift etc For more information on filters see the Filter By paragraph in the Analysis Screen section Area Automatic Reason Cell Name Enterprise Line Operator Reason Package Count Planned Downtime Product Code Production Units Recordable Downtime Run Shift Site Compare By These are the comparisons that are available in the OEE Downtime and Scheduling Module However in addition to these comparisons additional factors may be available if they are string data type All additional factors start with Factor For example Factor Operator A comparison allows one data point to be compared between all areas days etc For more information on comparisons see the Compare By paragraph in the Analysis Screen section Area Automatic Reason Cell Name Enterprise Line Operator Reason Package Count Product Code Production Units Run Shift Site Inductive Automation OEE Downtime 212 Data Points These are the data points that are available in the OEE Downtime and Scheduling Module However in addition to these comparisons additional factors may be available if they are string data typ
68. Ok Recipe Editor Note The other properties that control what in shown and what operations are allowed are described Inductive Automation below Properties Recipe Changeover 484 This component has standard Ignition properties with the addition of the following properties Show Recipes Show Master Recipes Show Descendants Show Recipe Items Show Item Children Show Values Show Item Defaults Set to true to show recipes in the editor This determines if the root Recipes node is shown in the recipe editor Scripting name showRecipes Data Type Boolean Set to true to show master recipes in the editor The Show Recipes property must also be set to true Scripting name showMasterRecipes Data Type Boolean Set to true to show recipe descendants or child recipes It determines if the Descendants tree node is show in each recipe Scripting name showDescendants Data Type Boolean Set to true to show production items under the recipe node Scripting name showRecipeltems Data Type Boolean Set to true to show child production items of the main production items under the recipe node For example if Line 1 is added to a recipe and the Show Item Children is set to true then the cells cell groups and locations will be shown under Line 1 If the Show Item Children is set to false then only Line 1 will be shown Scripting name showltemChildren Data Type Boolean Set to true to
69. Production OPC Server for more information Deleting a Cell To remove an existing production cell right click on the cell item and select the Delete menu item A window will appear confirming that you permanently want to delete the production cell Project Browser x Eg Configuration gt Production 1 Your Enterprise 1 Your Site 1 Ek Your Area 5 amp Line 1 Filler E Capper E m Insped Rename F2 m Casel amp Cut Ctrl X E Palletiz Copy Ctrl C a Line 2 a Line 3 a Line 4 a Line 5 amp Move Up che ae rl ld METI 2 42 he DON ST Paste Ctrl V Deleting a Cell Cell General Settings Inductive Automation Recipe Changeover 4 These settings are accessed by selecting the desired cell item ASTRA M he line folder in the project browser and then selecting the General tab Enabled By default added cells are enabled It can be disabled by un checking the Enabled setting and saving the project This will stop the MES modules from executing the cell Description This is an optional description and is just for your reference Sub Recipe Mask This Sub Recipe Mask is required when using the sub recipe feature If the sub recipe feature is not being used for the production item leave it blank See Sub Recipes for more information above sub recipes and Sub Recipe Mask for how to use this setting Recipe Values Recipe v
70. Scripting name limitDialogVerticalOf Data Type INE EN The color of the chart vertical grid lines Scripting name verticalGridLineColor Data Type Color If true show the vertical grid lines in the charts Scripting name showVerticalGridLines Data Type boolean The color of the chart horizontal grid lines Scripting name horizontalGridLineColc Data Type Color If true show the horizontal grid lines in the charts Scripting name showHorizontalGridLine Data Type boolean The background color of the primary chart Scripting name primaryChartBackgrounc Data Type Color Inductive Automation SPC Quali 363 Show Notes If true show the note icon next to the chart paint for any samples that have notes or assignable causes Scripting name showNotes Data Type boolean Note Image The image to display next to the chart point for any samples that have notes or assignable causes Scripting name notelmage Data Type Image Enable Note Editing If true allow the user to add and edit notes and assignable causes Scripting name enableNoteEditing Data Type boolean Enable Point Deletion If true allow the user to temporarily remove samples from chart This is used to remove samples that are known to out of control before calculating control limits The sample that have been removed are not removed from the database and can be restored by selecting the Restore Points menu item Scripting
71. Site Your ArealLine 1 Scripting name linePath Data Type SECAS The date to show schedule entries for The date can be any day within the month Scripting name currentDate Data Type Date This control has the same events as the Ignition Table Component with the addition of the following events newEvent editEvent deleteEvent Methods none O Inductive Automation Is fired when the New Entry menu item is selected Is fired when the Edit Entry menu item is selected Is fired when the Delete Entry menu item is selected 5 12 OEE Downtime 140 Example Code The following script can be entered into the newEvent event of this component It collects the selected time when the right click occurred and opens a new window with the collected values as parameters paraml event source parent getComponent Production Line Selector selectedLineF param2 event source parent getComponent Schedule Week View hoveredTimeLatched system nav openWindow ScheduleNew LinePath paraml CurrentDate param2 system nav centerWindow ScheduleNew 2 4 3 8 Schedule Date Selector 4 Description A component that provides an easy method for users to select a day It synchronizes the Schedule Day View Schedule Week View and Schedule Month View components to all be selected to the same date March 2011 S M T WT FS 1 2 3 4 5 6 7 8 9110 11 12 13 14 1 on co w 20 21 22 235424 25 26 2
72. Sub Recipe Mask XXXX XXXXXXXXXX lt 4 ripio extract desired digits Sub Recipe 76 Sub Recipe value to look recipe values by Inductive Automation Sub Recipe Mask Recipe Changeover 440 There are two different mask characters that should be used in the Sub Recipe Mask The first is just a placeholder and any characters that exist in the corresponding digit position of the product code will be ignored The other mask character is the asterisk and any characters that exist in the corresponding digit position of the product code will be used in the sub recipe value The asterisk characters in the Sub Recipe Mask do not need to be in consecutive digit positions as shown in the image below Product Code 29JS7 629 2905 XA Sub Recipe Mask XXXX XX XXXXXXXX Sub Recipe TUE Sub Recipe Mask with Non Consecutive Asterisk Mask Characters The image below steps through the flow of selecting sub recipes and setting the associated tag values and is based on the determining of the sub recipe as described above The product code can be selected using various methods It can be selected using the Recipe Selector List component but is can also be selected by starting a production run for the OEE Module or by using one of the script functions In fact it can be selected using a combination of methods The Recipe Editor component is used to edit both normal recipes and sub recipes See sub recipes in the Editing Recipes more d
73. There is no need for SQL queries or scripting to display the samples O Inductive Automation SPC Qualitv 292 Product Code Reference No Scheduled Start Taken Date Time Sample Definition Selector When an allowable location is added to a sample definition a tag value can be set This component can limit the samples that appear by entering in matching tag values It is typically used for defining who has ownership for collecting sample data For example the lab takes samples at packaging line 1 every 2 hours The operator also takes samples at packaging line 1 every 1 hour The lab does not want to see samples that the operator has ownership for and vice versa To accomplish this set the tag value to Lab for sample definitions that the lab has ownership for and to Operator for sample definitions that the operator has ownership for The Ignition table customizer is used to change the appearance of the table To access the customizer right click on the Location Sample List component and select the Cutomizers gt Table Customizer menu item Using the customizer you can hide columns change colors change formatting to make the Location Sample List appear as desired Properties This component has standard Ignition properties with the addition of the following properties Location Path Set to a valid path of a production location item to show samples for that location Scripting name locationPath Data Type String Tag Optionally se
74. To inherit the time of day that third shift starts setting from the area select the Inherit From Parent option Additional Factors are user defined data points that are logged along with the production and downtime information Once they are logged they can be shown in charts tables and reports Additionally other analysis can be done by filtering and or setting up comparisons by their values Any value that can be read from an Ignition SQLTag can be added as a additional factor This includes values from barcode readers databases calculations PLCs or values derived from scripts etc Example An additional factor named cardboard manufacturer can be added The operator can select the manufacturer that provided the cardboard or it can be obtained from some other source Now SPC results can be shown for each cardboard manufacturer This can identify problems with raw material that directly affect quality Below is an example of an operator additional factor The operators name will be logged along with the production and downtime data By doing so OEE and downtime information can be filtered and grouped by the operator name Inductive Automation SPC Qualitv 259 Line 1 Quality Location Production Item General OEE Downtime Schedule Quality Advanced Enabled M Description Shit1 Initial Enabled State inherit From Parent y Initial Start Time inherit From Parent Shift 2 Initial
75. Waste Count Tag Waste will be calculated based on what is entered in the Run Waste Count tag This may be a unique formula used to calculate waste or a manual entry of the waste count Started vs Finished When this method is used outfeed will be compared to infeed to determine how many units were lost to waste If 1000 units enter the production line and 900 finished products exit the production line then it is assumed that 100 units were lost to waste A Waste Transit time other than 0 must be entered for the primary outfeed The Waste Transit time should be the normal amount of time a production unit takes to travel from infeed started to outfeed finished Product Waste Entries In order to calculate waste by this method one or more entries must be in the Product Waste table The waste from each entry is added together to equal the total amount of waste For example there may be two cells on the line that inspect and discard faulty products If the first cell discarded 10 units and the second cell discarded 5 units the total waste count would be 15 units Sum Product Waste From Each Cell This method will sum up each of the cell s waste values Product Waste Entries will be ignored Inductive Automation OEE Downtime 88 2 3 7 1 Adding a Product Waste Counter To add a product waste entry right click anywhere on the product waste table of a production line or cell and select the New menu item A dialog box will appear to al
76. addition to these comparisons additional factors may be available if they are string data type All additional factors start with Factor For example Factor Operator Data points are the different values that will be presented or compared on a graph or chart For more information on data points see the Data Point paragraph in the Analysis Screen section Actual Finish Time Actual Run Start Time Actual Start Time Area Enterprise Line Package Count Product Code Product Code Description Production Units Run Scheduled Finish Time Scheduled Quantity Scheduled Run Start Time Scheduled Start Time Site 2 8 5 TEEP Description The TEEP Analysis Provider is used to analyze utilization data Provider Name TEEP Inductive Automation OEE Downtime 217 Filters These are the filters that are available in the OEE Downtime and Scheduling Module However in addition to these filters additional factors may be available if they are string data type All additional factors start with Factor For example Factor Operator A filter will allow the user to see all of the data points in the analysis provider as it pertains to a specific area shift etc For more information on filters see the Filter By paragraph in the Analysis Screen section Area Enterprise Line Package Count Product Code Production Units Run Site Compare By These are the comparisons that are available in tte OEE Downtime and Schedu
77. allow any comparison statements Data Points The recipe variance analysis provider can accept the following data points Description From Value Item Path Recipe Name This is the description from the recipe value configuration that was entered in the designer This is the value of the Ignition tag associated with the recipe value before it changed This is the item path of the production item for the recipe value This is the name of the recipe at the time when the recipe value changed Inductive Automation Recipe Value Time Stamp To Value Units Value Name Recipe Changeover 505 The value that is defined in the recipe The date and time the recipe value changed This is the value of the Ignition tag associated with the recipe value after it changed This is the units from the associated Ignition tag This is the name from the recipe value configuration that was entered in the designer 4 5 3 Sub Product Code Variance Analysis Provider The sub product code variance analysis provider is used to collect sub product code variances for display or report purposes This provider can be used to collect variances in real time or historically for a date range Filters The recipe variance analysis provider can accept the following filters Scope Item Path This is a required filter to specify the scope of what to include in the results Q Date Range Q Last Active Sub Recipe This will
78. an optional sub recipe filter The filter can contain and wild card characters See Sub Recipes for more information e setRecipeValueName String recipeValueName Set an optional recipe value name filter The filter can contain and wild card characters Example Collection values we want to filter by projectName system util getProjectName itemPath event source parent getComponent Production Line Selector selectedPathWithout Build the filters object filters system recipe filter variance createNew filters setProjectName projectName filters setVarianceEntryType Recipe filters setVarianceScopeTypes Last filters setItemPath itemPath filters setIncludeChildren False Request the variances for the given filters ds system recipe getRecipeVariances filters event source parent getComponent Table data ds Inductive Automation Recipe Changeover 550 4 7 3 3 ItemRecipeValue A ltemRecipeValue object is returned by many of the recipe script methods usually as a list of temRecipeValue Because a recipe value has several properties such as the name minimum value maximum value units etc the details are returned in this ItemRecipeValue object Recipe values also can have varying data types and an ItemRecipeValue object supports reading the value in its true data type For example if a recipe value if of type Float8 then getValue getMinValue and getMaxValue all return Float8 values Th
79. and an exception will be thrown If no data is received within the default timeout setting then an empty string will be returned parameters none returns The data read from the port Data Type String Inductive Automation Instrument Interface Module 579 readString time out Reads and returns string data from the communication port If an error occurs the errorMessage property will be set and an exception will be thrown If no data is received within the value specified in the timeout parameter then an empty string will be returned parameters timeout The time in milliseconds to wait for a response from the port Data Type Integer returns The data read from the port Data Type LEIDO readBytes count Reads and returns byte array data from the communication port If an error occurs the errorMessage property will be set and an exception will be thrown If the number of characters specified by the count parameter are not received within the default timeout setting then any characters received will be returned parameters count The number of bytes to read from the port Data Type Integer returns The data read from the port Data Type bytel readBytes count timeout Reads and returns byte array data from the communication port If an error occurs the errorMessage property will be set and an exception will be thrown If the number of characters specified by the count parameter are not received within the va
80. are configured for the production line will appear in this folder Cell One folder will exist for each Cell that has been configured in the Ignition Designer The folder can be opened to view all values within the cell Inductive Automation Recipe Changeover Properties ActiveRecipeName If a recipe is active for this String production line then this is the Read Only name of the recipe If a recipe is not active then this is blank RecipeLoading True if a recipe is currently Boolean being loaded for the production Read Only line RecipeActive Indicates if a recipe is currently Boolean active Read Only RecipeScale Set this to the amount to scale Double a recipe prior to selecting a recipe for the production line Recipe TrackingUUID This is a unique value used for String tracking initial recipe values and Read Only variances while a recipe is selected It can be used when looking up data directly from the database RecipeVariancesExists If true then Ignition tags Boolean associated with at least one Read Only recipe value for this production item have changed RecipeWriteError If true then at least one recipe Boolean value did not write to the Read Only associated Ignition tags when the recipe was first selected ValueMonitorEnabled ff true recipe values are being Boolean monitored and recipe value Read Only variances will be logged EnableRecipe Set to true to allow recipes to Boolean 46 5 Cell Descript
81. available filter values for the Analysis Controller Component ES Normally this is automatically handled by the Analysis Selector Yay Component AN but for the Analysis Controller these filter values are not known This binding function can provide filter option data to a drop down list or other types of components O Inductive Automation OEE Downtime 183 Function Name Filter Options Parameters Analysis This parameter is the provider name that will be used See String Type Analysis Providers for available options Filter Name This parameter is the name of the filter for which available String options will be returned See Analysis Providers for available options Start Date The starting date range To reduce the number of options Date only the options for the selected date range will be returned End Date The ending date range To reduce the number of options Date only the options for the selected date range will be returned Return Filter This binding function returns a Dataset with one string Dataset Options column with the available filter options 2 62 History The following binding functions are provided by the OEE Downtime Module which comes with the OEE Downtime and Scheduling Module 2 6 2 1 Downtime History Description The Down Time History binding function is used to return historical downtime data for a production run This data is gathered from the runtime database tables This binding function can prov
82. bars with gradient fill Scripting name gradient Data Type boolean If true show bars shadows for each bar Scripting name shadows Data Type boolean The font to show values on the value and count axis Scripting name tickLabelFont Data Type Font The color to show values on the value and count axis Scripting name tickLabelColor Data Type Color The title to display on the value axis Scripting name valueAxisTitle Data Type String Inductive Automation P SPC Quali 317 Frequency Axis The title to display on the frequency axis sul Ti tl e Scripting name frequencyAxisTitle Data Type SEring Axis Title Font The font to show the axis titles Scripting name axisTitleFont Data Type Pont Axis Title Color The color to show the axis titles Scripting name axisTitleColor Data Type Color Vertical Grid Line Color The color of the chart vertical grid lines Scripting name verticalGridLineColor Data Type Color Show Vertical Grid Lines If true show the vertical grid lines in the charts Scripting name showVerticalGridLines Data Type boolean Horizontal Grid Line Color The color of the chart horizontal grid lines Scripting name horizontalGridLineColc Data Type Cola Show Horizontal Grid Lines If true show the horizontal grid lines in the charts Scripting name showHorizontalGridLine Data Type boolean Events This component has standard Ignition events none Methods showSetLimitP
83. be removed after it has been scheduled but before measurements are recorded and after measurements have been recorded Syntax Client system quality sample data removeSample String sampleUUID Gateway system quality sample data removeSample String projectName String sampleUUID Parameters String sampleUUID The UUID to an existing sample to approve String projectName Name of the Ignition SPC project Returns none Scope client gateway Example system quality sample data removeSample event getSampleUUID 3 6 3 2 3 sample quality spc controllimit Enter topic text here 3 6 3 2 3 1 setControlLimitV alue system quality spc controllimit setC ontrolLimitValue Description Control limits normally are set using the control charts components and when the process is determined to be stable In cases where additional flexibility is required this scripting function is provided New control limit values for a specified location sample definition test attribute and control limit can be set by calling this function Inductive Automation SPC li 425 Syntax evan Client setControlLimitValue String locationPath SampleDefinition definition String attributeName String limitName double value Gateway setControlLimitValue String projectName String locationPath SampleDefinition definition String attributeName String limitName double value Parameters String locationPath The full path of the location to set
84. by location which allows for the changing of default handling samples and detection of out of control signals by individual location Individual handling based on the of sample or other criteria must be done in the script In situations where the default handling does not fit the production environment requirements these events are flexible enough to allow a method to implement exactly what is needed 3 6 1 1 Before Sample Updated Event Before a new sample is added or an existing sample is updated to the database any script in this event is run This includes samples that have been scheduled with no measurement data It is provided to allow for the addition of more information performing other actions or preventing the saving of the sample event properties e getSample Sample Returns the new or updated sample See Sample section more information e setCancelUpdate boolean cancelUpdate Used to prevent the sample from being added or updated The default is false meaning the sample will be added or updated It is provided to override the default adding or updating of samples and should be used with caution e isCancelUpdate boolean Returns the current state of the cancel update flag Example Add 1 to an unrelated SQLTag value val system tag getTagValue Default Quality Test Before Sample Updated val val 1 system tag writeToTag Default Quality Test Before Sample Updated val 1 Get
85. calculated values will be shown at the top of the control chart Scripting name showTable Data Type boolean Min Visible Samples The minimum number of sample to show on the control chart If more than the minimum visible samples exist in the SPC results then a horizontal scroll bar will appear and allow the user to scroll back to earlier samples Scripting name minVisibleSamples Data Type LAE Min Visible Measurements The minimum number of measurements to show in the table of the control chart If more than the minimum visible measurements exist in the SPC results then a vertical scroll bar will appear and allow the user to through all measurements Scripting name minVisibleMeasurements Data Type LAE Column Width The width of the table column for each sample The charts will be expanded to match the column width Scripting name columnWidth Data Type Lae Row Height The height of the table rows Scripting name rowHeight Data Type Ine Date Background The background color of the sample date row Scripting name dateBackground Data Type Color Date Foreground The foreground color of the sample date values Scripting name dateForeground Data Type Color Inductive Automation Date Font Date Format SPC Quali 343 The font to display the sample date values mi Scripting name dateFont Data Type Font The date formatting pattern to display the sample dates Scripting name dateFormat Data Type Serine Label Background The
86. click OK to save Line A Line Production Item General OEE Downtime Schedule Advanced Run Start Script value true 5 Reset Run Script value false Pre execute Script g Execute Script Postexecute Script Y Calculate Standard Counts Script g RE ae AAA aaa n Advanced Tab for a Line Example This script is used under Run Start Script and will cause the ine to run when the operator clicks Start value true system tag writeToTag Default Line 1 PLC Run value The Calculate Standard Counts Script and allow the use a different method of OEE calculation Located in Line gt Advanced gt Calculate Standard Counts Script Calculations are performed every minute If you set a new value it takes affect until the next time the calculations are performed Inductive Automation OEE Downtime 189 OEECounts event event getPath String vent getName String vent getInfeedCount Integer event getProductionCount Integer event getPackageCount Double event getStandardRate Double event getStandardRatePeriod String vent getTargetCount Integer vent setTargetCount Integer targetCount void vent getTargetVariance Integer vent setTargetVariance Integer targetVariance void event getStandardCount Integer event setStandardCount Integer standardCount void event getlId
87. click on the desired entry in the additional factor table and select the Edit menu item A dialog box similar to the add dialog box will appear allowing editing of the additional factor Deleting an Additional Factor To remove an existing additional factor entry right click on the desired entry in the additional factor table and select the Delete menu item A window will appear confirming that you want to remove the additional factor The additional factor will no longer be logged However any production runs that occurred before the additional factor was deleted will still show in the analysis and reporting Line Schedule Settings These settings are accessed by selecting the ine item contained in the area folder in the project browser and then selecting the Schedule tab as shown below See the Site Schedule Settings section for more information on workday routines If no area workday routine entries are entered then they will be inherited from the production area as shown below Inductive Automation OFF NDawntime AA Line 1 Line Production Item General OEE DownTime Schedule Advanced Workday Routine Name Start Time End Time PTT ee NOTES ee ee nn A i 77 E Line Workday Routine List Workday Routine Entry See the Workday Routines section for more information Other Line Schedule Settings Default Schedule This default production rate used for scheduling purposes Because the Ra
88. color Scripting name backgroundColor Data Type Color Definition Name The sample definition to used when building SPC results Scripting name definitionName Data Type SEring No Data Message Text to display if not data is available to show in the control chart Scripting name noDataMessage Data Type String No Data The foreground color to display the no data message F or e gr o u n d Scripting name noDataForeground Data Type Color No Data Font The font to display the no data message Scripting name noDataFont Data Type Font Inductive Automation Table Properties SPC Quality 336 Show Table If true the table containing measurement and calculated values will be shown at the top of the control chart Scripting name showTable Data Type boolean Min Visible Samples The minimum number of sample to show on the control chart If more than the minimum visible samples exist in the SPC results then a horizontal scroll bar will appear and allow the user to scroll back to earlier samples Scripting name minVisibleSamples Data Type TAE Min Visible Measurements The minimum number of measurements to show in the table of the control chart If more than the minimum visible measurements exist in the SPC results then a vertical scroll bar will appear and allow the user to through all measurements Scripting name minVisibleMeasurements Data Type E Column Width The width of the table column for each sample The charts will be expa
89. communication port on the Ignition server is needed then the Serial Server Support Module is needed Instrument Raw Data 1 Serial Controller Component in onAfterParse Event 4 Client Raw Data 2 ParseResults Object 3 Parsing Engine Template Gateway Typical Serial Communications Flow Some Instruments write their results to a disk file The image below shows the typical flow when reading data from a file and using the File Monitor component or parsing script functions that are available on both the client and the gateway to parse the raw data in the file Inductive Automation Inductive Automation Inctriiment Interface Module 555 Raw Data 1 File Monitor Controller Component Client Script or Gateway Script parseResults parseText MyTemplate fileData Raw Data 2 ParseResults Object 3 Parsing Engine Template Gateway Typical File Flow Instrument Interface Module 556 5 2 File Monitor Settings This page configures the file monitor settings of this Instrument Interface It provides a configuration area by instrument type that use file method of handing off data Project Browser oe 9 x Weather D A instrument Configuration Y Lab 2 qye E Anatyizer Serial Settings Monitor File Settings Parse Template Ej Weathe General E CSV Test Column CSV Test Row Enable File Monitoring 5 Digital GagePort NT E Digital Ga
90. continue 4 Click on a component to get a detailed description 4 Modbus Driver Module v2 Y UDP and TCP Drivers Module W OPC COM Module Y SPC Module ActiveX Module m HASP lt Back Next gt Cancel Ignition Installer 3 2 1 3 Configure Database SPC data is stored in databases external to Ignition These database s are setup in the gateway configuration section by selecting the Databases gt Connections section from the left hand configuration menu See the Ignition documentation for more information on setting up a database connection Below shows a typical database connection that is required for the SPC module Inductive Automation SPC Quality 228 Database Connections Name Description JDBC Driver Translator Status ProductionDB Microsoft SQLServer JDBC Driver MSSQL VALID edit delete Create new Database Connection Note For details about a connection s status see the Database Connection Status page Sample Database Connection 3 2 1 4 MES Module Settings The OEE Downtime Scheduling and SPC module stores data in a SQL database Because Ignition can be configured to multiple databases the MES Module Settings configuration page is used to select which databases to store OEE downtime scheduling and SPC data If only one database has been configured in Ignition then it will be selected by default To change the MES m
91. current shift product code and additional factor information will be recorded along with the measurement values Because sample are scheduled they can be created and updated with no measurement values This allow for coming due due and overdue functionality to be tracked Syntax Client system quality sample data updateSample String locationPath Sample sample Boolean valuesRecorded Gateway system quality sample data updateSample String projectName String locationPath Sample sample Boolean valuesRecorded Parameters String locationPath A valid path to a location to record this sample for Sample sample Sample to update O Inductive Automation PC li 423 Boolean valuesRecorded If true record the values along with the wher samp e information String projectName Name of the Ignition SPC project Returns none Scope client gateway Example system quality sample data updateSample QualityDemo New Enterprise New Site Packaging Line 1 Line 1 Quality currentSample Boolean 1 3 6 3 2 2 7 approveSample system quality sample data approveSample Description Approve an existing sample If the associated sample definition for the specified sample is not set for auto approval it will have to approved This can be done using various methods of which this is one of them Syntax Client system quality sample data approveSample String sampleUUID String approvedBy Gateway system quality
92. dd ev aa an n A art 411 Control Limit Kind TV rene AAA rase en een sante nd A EN een ne vence nent 412 SPC Cat gorv TVD s sn e inna aac a A tan etre nn areal nas 414 Signal Kind TV DES 22535 Weta nie iia Ala inh Ahan ih Gehan e a kik denne 414 Control Eimt Calculated Valle coord tdt ida 415 O Inductive Automation Scripting FUNCHONS erare aa aar r Te a p a arr a ae a aa ara ae a E Aa aE e aa AAE aa Aa Ee a raaa a a aa raaa Paa Paanan AEN Esaa na 415 Sample PRODUCTION cotorra Toa EE 415 sample production utils 415 cancelLocationProductCode seen 415 setkocationProductGode is teenie eA eae ee i ee AN AIRE 416 Sample QUANV tono satcis cocess ones E ane an rs nd reset Run annee doteveshatatslcesesdesatnuanagetecesaisetiniaed seen 417 Sample QUAY ISTMO viii este anne ne A A ee an rares entres 417 JENS M dt A NE e mr cates 417 GetSampleDeh inition sienne ina ln claves teases a de eme a A RER 417 AAAS AMPS DST IMMION oes cas ces sement uen Giant ARE Re nest de A In Parties 418 update Sanple D finitions iio td near sen denied eine 419 sarpl quality sample data 4issde ions mn inner i dre diia 419 getNeWwBYDefUUID usina ia 419 OCINEW BYNAME E EEE ET A E E E E E E A nt int idas 420 getCreateSampleByDefUUID cen eeceee cence eceaeeeeeeeeeeeeeceaeeeeaeeeeeeeesaeeseaeeseaeeeseaeeseaeeeeeeeeseaeeseaeeess 420 getCreateSampleByNarre P getSam
93. e getEnabled boolean Returns true if this sample definition location is enabled If disabled samples will not be automatically scheduled or appear in sample definition selection lists for the production location e setEnabled boolean enabled Sets sample definition location enabled state If disabled samples will not be automatically scheduled or appear in sample definition selection lists for the production location e getintervalType String Returns the interval type for automatically scheduling samples for this location The return value must match those configured on the Quality tab for the enterprise in the Sample Interval list e setintervalType String intervalType Sets the interval type for automatically scheduling samples for this location The intervalType value must match those configured on the Quality tab for the enterprise in the Sample Interval list e getinterval double Returns the interval for automatically scheduling samples for this location The units are defined by the Interval type defined for this sample definition e setinterval double interval Sets the interval for automatically scheduling samples for this location The units are defined by the Interval type defined for this sample definition e getAutoApprove boolean Returns the auto approve setting for this location If true samples will be automatically approved when they are recorded If false they have to be manually approved e setAuto
94. each combination For example a production cell can be configured to track containers and caps as infeeds and a single outfeed of full containers The independent waste calculations for containers and caps will be performed See Production Count Tracking section for more information Below is an example showing a single infeed and outfeed configure for a production cell Filler Cell Production Item General OEE Downtime Schedule Advanced Primary Infeed x Product Infeed Name Count SQ LTag Max Raw Count Productions Units Primary Outfeed x Product Outfeed Name Count SQLT Max Raw Co Default Stan Default Pack Standard Ra Production Waste Tran Product Waste Name Count SQLTag Max Raw Count Cell OEE Settings Primary Infeed The production cell OEE waste is derived from the primary infeed If a production cell has been configured for multiple infeeds select the infeed that is to be used for the waste calculation Inductive Automation OEE Downtime 74 Product Infeeds For each infeed the OEE module will start calculating production rate per minute production rate per hour values These values can be accessed through the Production OPC Server See the section on Production OPC Values for more information For the section on Product Infeed for more information Adding a Product Infeed See the section on Adding a Product Infeed
95. equal to 45 will have a red background Make sure to set fhe Waekground Mode property of the downtime table to Mapped gt x bZ Table Customizer ate 0 0 Cases Hour i Column Configuration Background Color Mapping Standard Rate 370 0 Cases Hour By setting this table s Background Mode to Mapped you can choose a column to govern the background Bcheduled Rate 360 0 Cases Hour color of each row This column specified below must be a numeric column Mapping Column duration y Down Time Reason 00 00 29 Label Feed Empty 00 00 15 Waiting For Product Humber to Color Translation Value gt I Color 29 30 45 00 00 14 Cap Jam 00 00 15 Over Temperature 00 00 28 Machine Fault 00 00 15 Container Jam Low Fallback Color 00 00 20 Machine Fault Qk cancer 00 00 29 Case Infeed Jam _ A AE Properties This component has standard Ignition events with the addition of the following properties Line Path The line path of the production line that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Scripting name linePath Data Type String Editable This controls if users can change reason codes and split downtime events Scripting name editable Data Type Boolean Enable Notes If true users c
96. flan one 281 Definition Location LISE cis ita a etude Sl M rent ivi dnl on rite ch we ines 283 Definition Control Limit CiS totor idad dr sii 285 Definition Signals iS aia AA nat ai Ae ee ae eS 286 Location Selector Interval Soleil Datatype Selector raved erica iad AAA ent 289 Definition Selector fe ci Se A sae ested a Aas E DD eme Lee yd brand S 291 Location Sample di ee a linerider Sani Gennes iets ahah ca dd Ed av RE 292 Sample Entry awed AURA nn me alien hla fab node a VO das ne Dose desde Wali nod a a a Tean aa a eared ih ea 298 SPO COM POM O A O 301 Inductive Automation SPC Selector 22258 a cutie ea da Ae ee a a ee eR HA ht 302 Stored SPC SECON 225 A Lan cee vip ee AR a en AA Re ee A olan lan A die cat 307 SPC Controller Histogram Chart Pareto Chart EMO ARRET TDR delat cub a2 suse O ON 321 Xbar and S Charts nn ane te een ne ne AO te en tn nd ne nine 327 Medianiand Range Chart sisi nan SR M nn a Me Rs dt a sm ns a en 334 Individual and Range Charts aies nina antenne dna dhustacdianavsacdevaaeuciucayubnenveddeeadbavsnlacenedaess 340 RECAE SR NN a NN Ne A l rs rane 346 O ane ieee a need ee nn nr te a IR He 352 chart pue aa bee sit dl da era e eones ae te eo ieee ld nos Rs Vs re ten 358 O 364 5 Quality OPC Values tii ii 6 370 Using OPC Values_2 ss 371 SPC OPC Value Reference dt 371 Project AAA nero ann te AA dd 371 Enterprise immense A AAA oie di ite i i ee A 373 Contr
97. for binding and in scripting and expressions Serial Module Loaded O Inductive Automation If true the serial module has been installed and is loaded Scripting name serialModuleLoaded Data Type Boolean Serial Port Open Last Data Sent At Last Data Received At Error Message Events Instrument Interface Module 576 If true the serial port is open The following example is the expression binding on a Label component Text property if Root Container Serial Controller serialPortOpen Ready Not Ready Scripting name serialPortOpen Data Type Boolean The date time the the latest data has been sent Scripting name lastDataSentAt Data Type DateTime The date time the latest data has been received Scripting name lastDataReceivedAt Data Type DateTime The current error message or blank if there are no errors Scripting name errorMessage Data Type String parse onBeforeParse Is fired before raw data is sent to the parsing engine to be Event Properties event getData event setData data event hasData parsed This provides an method for the raw data to be modified before being parsed It can be useful to remove unwanted characters or merging more data into the raw data before parsing Returns the raw data Data Type String parameters data Modified data to send to the parsing engine Data Type Data Type String returns If data is modified in this event use this fu
98. for details on adding product infeed entries Editing a Product Infeed See the section on Editing a Product Infeed for details on editing product infeed entries Deleting a Product Infeed See the section on Deleting a Product Infeed for details on deleting product infeed entries Primary Outfeed The production ine OEE waste is derived from the primary outfeed If a production cell has been configured for multiple outfeeds select the outfeed that is to be used for the waste calculation Product Outfeeds For each outfeed the OEE module will start calculating production rate per minute or production rate per hour values These values can be accessed through the Production OPC Server See the section on Production OPC Values and the section on Product Outfeed for more information Adding a Product Outfeed See the section on Adding a Product Outfeed for details on adding product outfeed entries Editing a Product Outfeed See the section on Editing a Product Outfeed for details on editing product outfeed entries Deleting a Product Outfeed See the section on Deleting a Product Outfeed for details on deleting product outfeed entries Product Waste For each waste entry the OEE module will start tracking true waste count values These values can be accessed through the Production OPC Server See the section on Production OPC Values and the section on Product Waste for more information Adding a Product Waste Entry See the section on
99. for parsing the text Data Type BELING text The text to be parsed Data Type BEKING returns result Data Type ParseResults Sample script to read and parse a CSV file then convert the parse results to a dataset and display in a table component fileStr system file readFileAsString C Temp Test csv parseResults system instrument parse parseText CSV Test Column fileStr if parseResults isValid dataset parseResults createDataset CSV Results event source parent getComponent Table data dataset Inductive Automation Index Index A Adding a Workday Routine Entry 57 253 De Deleting a Workday Routine Entry 57 253 El Editing a Workday Routine Entry 57 253 Inductive Automation
100. for the recipe value getPrevious Value Object Returns the previous value of the recipe value Anytime the value of a tag associated with a recipe value changes the previous value is saved internally This is used for the changed from information in variance logging hasCurrentValue Boolean Returns True if the recipe value has a value getCurrentValue Object Returns the tag value of a tag associated with a recipe value isVarianceMonitorEnabled Boolean Returns True if variance monitoring is enabled for the recipe value getDataType Object Returns the data type of the tag associated with the recipe value getRecipeValue Object Returns the recipe value This can be the value that was entered in recipe editor set using script or inherited from a parent getRecipeValue Double scale Object Returns the recipe value adjusted by the scale parameter convertValue String value Object Returns the value passed in the parameter in the correct data type for the recipe value ff the recipe value is an Int4 then the string value passed in the value parameter will be converted to an Int4 data type and returned convertAndScaleValue String value Double scaleFactor Object Returns the value passed in the parameter in the correct data type for the recipe value with scaling scaleValue Object value Double scaleFactor Object Scales and returns the value passed in the parameter in the same data type as the
101. from the getEvaluationResults function 3 6 1 10 Signal Evaluation Results This object holds the evaluation results for a attribute signal combination event properties e getSignalName String Returns the name of the signal associated with this result e getAttributeName String Returns the name of the attribute associated with this result e getViolatingSampleDate Date Returns the date of the most recent sample that is in violation of the signal e getLastSampleDate Date Returns the date of the last approved sample This can be used in combination to determine if the last approved sample caused the signal violation e isSignalViolation boolean Returns true if the signal attribute combination are in violation e sEvaluationError boolean Returns true if a error occurred during the signal evaluation e hasMessage boolean Returns true if a message exists e getMessage String Returns textual description of error encountered during the signal evaluation O Inductive Automation SPC Quality 393 Example 3 6 1 11 Signal Out of Control Event When sample data changes all of the out of control signals associated with it will be evaluated If an out of control signal changes from In Control to Out of Control any script in this event is run It is provided to allow for the performance of other actions such as alerts when an out of control condition occurs event properties
102. have notes or assignable causes Scripting name notelmage Data Type Image Enable Note Editing If true allow the user to add and edit notes and assignable causes Scripting name enableNoteEditing Data Type boolean Enable Point Deletion If true allow the user to temporarily remove samples from chart This is used to remove samples that are known to out of control before calculating control limits The sample that have been removed are not removed from the database and can be restored by selecting the Restore Points menu item Scripting name enablePointDeletion Data Type boolean Enable Control Limit Editing If true allow the user to calculate and set new control limit values Scripting name enableControlLimitEdit Data Type boolean Events This component has standard Ignition events none Methods showSetLimitPanel chartName Causes the calculate and set control limit dialog to be shown parameters chartName Which chart to show the control limit dialog for Av Primary or Secondary Data Type String Inductive Automation SPC Quality 334 returns nothing 3 4 2 8 Median and Range Chart 2 Description The Median Moving Range MR control chart is used to display SPC results that have multiple measurements for each sample It does not retrieve SPC results from the SPC module so it must be used with either the SPC Selector or the SPC Controller components that do Only SPC results with Median and MR S
103. information associated with one sample properties e getName String Returns the name of this additional factor e getDataType DataType Returns the data type of this additional factor See DataType in the Ignition documentation for more information e getValue Object Returns the value for this additional factor e updateValue Object value Date recordDateTime Updates the value and the required date and time that is being record for this additional factor e getRecordDateTime Date Returns the date and time the value was recorded for this additional factor e isModified boolean Returns true if this additional factor has been modified 3 6 2 5 Sample Definition The sample definition object holds all of the information defining a type of sample A sample definition specifies the attributes to collect the locations where sample data is collected from O Inductive Automation SPC Quality 401 the control limits that apply and the signals that apply When samples are created they are based on a sample definition And when sample measurement values are recorded the sample definition is used to validate the measurement values Other operations also refer back to the sample definition such as automatic scheduling of samples auto evaluation of signals etc properties Inductive Automation getDefUUID String Returns the UUID assigned to this sample definition A UUID is a universally unique identi
104. is a list containing sample downtime reasons Notice the Record Downtime Planned Downtime and Operator Selectable columns If the Record Downtime option is true then downtime events with this reason will be treated as unplanned downtime This allows for downtime reasons such as outfeed backup to not be counted as unplanned downtime If the Planned Downtime option is true then downtime events with this reason will be treated as planned downtime Inductive Automation OFF Nawntime 46 Filler Cell Production Item General OEE Downtime Schedule Advanced Log Downtime Details J State SQLTag Line 1 PLCiFiller State HS Downtime Reasons Reason Name Reason Code Record Downtime Planned Downtime Operator Selectable Break 101 false true true Clear out product ja 22 true false true Machine Fault 3 true false false Meal 100 false true true Outfeed Backup 4 false false false Planned Shutdown 99 false true true Scale fault 8 true false false Scales maintenance 20 true false true Stop 0 true false false Waiting for product 6 true we false false aif _ id PT PP nett ms IA mat Cell Downtime List Downtime tracking can be done three different methods The first two methods focus on the primary reason the production line is not producing product The third method tracks all downtime for production cell regardless of whether it caused production loss for the line In cases where there is a si
105. is used for reporting Because the Ignition Report module does not support master slave table relationships this method is used to add new columns containing a Dataset with child rows For each row in the analysis controller results a child Dataset will be created and placed into the new column named specified by the columnName parameter The rows in the child Dataset are determined from the Dataset specified in the dataset parameter and match the column value specified by the keyColumns parameter parameters dataset Dataset containing child rows Data Type Dataset columnName Name of column to add that will contain the child Data Type String keyColumns Name of columns to break the child row up by M can be specified by separating then with a comm Data Type String returns nothing Inductive Automation OEE Downtime 105 Example Code This script would be entered into the drillDown event of a Production Bar Chart event source parent getComponent Production Analysis Selector ArillDown event getDrillDownName event getCategory This script would be entered into the back event of a Production Bar Chart event source parent getComponent Production Analysis Selector prevDrillDown 2 4 1 10 Production Analysis Selector Description A component that allows ad hoc selection of analysis data As the user makes selections this component will query the server for results These results can be accessed through
106. item Path Max Fill Level EnterpriselSiteVArea Line 1Filler 5 5 77 RecipeDemolEnterpriselSitelArea 11 Force EnterpriseiSitelArea Line 1 Capper 5 4 9 9 Compare By Line Speed Enterprise Site Area 1 Line 1 Capper 0 0 Row Height EnterpriselSitelArea 1 Line 1 Palleti 5 5 Data Points Pattern Code Enterprise Site Area 1 Line 1 Palleti 10 10 Recipe Value Spacing Delay EnterpriseiSitelArea Line 1 Labeler 9 9 Line Speed Enterprise Site Area Line 1 Labeler 0 0 Label ID Enterprise Site Area Line 1 Labeler Y7ST Y7ST IS j e Recipe Analysis Provider Below describes each of the analysis providers included in the Recipe Changeover Module Recipe Analysis Provider The recipe analysis provider is used to collect recipe values for display or report purposes By adding multiple Recipe Name filter values the values will be returned for each recipe name allowing comparing of two or more recipes Filters The recipe analysis provider can accept the following filters Inductive Automation Category Item Path Children Format Inductive Automation Reci C 501 This is a required filter to Sape he Woe of recipes to return Only one of the valid options are required Q Recipe Q Sub Recipe This includes default values or sub recipes for production items Example when using it with the Analysis Controller Category Recipe This is a required filter to specify the production item to include in the results It is the i
107. line s cell s cell group s and location s that are underneath it Description This is an optional description and is just for your reference Recipe Values Recipe values can be added to areas but tags cannot be associated with them The recipe values that are added to an area are propagated down to production lines cells cell groups and location beneath the area This provides a quick method to add recipe values that are common to all machines beneath an area It also allows for the ability to propagate a value of a recipe value down to all production items beneath the area See Production Model for more information on propagating recipe values to child production items See Recipe Types for more information about recipe values and Recipe Values for more information about configuring recipe values 4 3 2 1 4 Line Configuration Adding a Line To add a production ine right click on an area folder in the project browser and select the New Production Item gt New Production Line menu item A line named New Line will be added to the area folder Multiple production lines can be added to a production area O Inductive Automation Recipe Changeover 469 Renaming a Line To rename it to the name representing the production line right click on it and select Rename then enter the new name Important Note It is extremely important to understand production OPC values have an OPC item path that matches the layout of the production
108. look for the last sub product code selection in the variance log and only include the associated variances in the results This can be used to monitor active runs or the last run if the sub recipe has been canceled Example when using it with the Analysis Controller Scope Last Active Sub Recipe This is a required filter to specify the production item to include in the results It is the item path for the desired item path s Because analysis is independent of projects the project name is required in the item path Example when using it with the Analysis Controller Item Path RecipeDemo Enterprise Site Area 1 Line 1 Item Path RecipeDemo Enterprise Site Area 1 Line 2 Inductive Automation Children Recipe Value Name Sub Recipe Name Values Compare By ipe Ch 06 This is a filter to specify Yarden O ki dueton item s specified in the Item Path filter should be included Only one of the valid options are required Q Include Q Exclude Default Example when using it with the Analysis Controller Children Include This is a filter to limit the recipe value s to include in the results Example when using it with the Analysis Controller Recipe Value Name Line Speed Recipe Value Name Force This is a filter to limit the sub recipe s to include in the results Example when using it with the Analysis Controller Recipe Name 1A Recipe Name 1B This is a filter to specify the type of recipe values to inclu
109. model and that renaming production items can cause Ignition tags associated with a production item to stop being updated See Production OPC Server for more information Deleting a Line To remove an existing production line right click on the line item and select the Delete menu item A window will appear confirming that you permanently want to delete the production line Please note that the cell s cell group s and location s underneath the ine will also be permanently removed Project Browser E x Eg Configuration a Production Be gt Your Enterprise gt Your Site 2 Ek Your Area a Line 1 Line General Settings These settings are accessed by selecting the desired line item contained in the area folder in the project browser and then selecting the General tab Enabled By default added lines are enabled It can be disabled by un checking the Enabled setting and saving the project This will stop the MES modules from executing the ine and cell s cell group s and location s that are underneath it Description This is an optional description and is just for your reference Sub Recipe Mask This Sub Recipe Mask is required when using the sub recipe feature If the sub recipe feature is not being used for the production item leave it blank See Sub Recipes for more information above sub recipes and Sub Recipe Mask for how to use this setting Recipe Values Recipe values can be added to lin
110. multiple interval entries The lines in the example shown below have been shortened Inductive Automation SPC Oualitv 274 QualityIntervalName QualityIntervalScript Every Value Change Record sample every time a tag value changes nif event isVa Every x Value Changes Every x value changes nif event isValueChangedEvent n Manual Once at Production End Once at production enb nif event isTraceEndedEvent Once at Production Start Once at production start nif event isTraceStartedEver Shift Change Once at shift change nif event isShifrChangeEvent 1 n tever Timed Interval Days Time Interval Days nfrom java util import Calendar n ni Timed Interval Hours Time Interval Hours nfrom java util import Calendarin Timed Interval Minutes Time Interval Minutes nfrom java util import Calend Timed Interval Seconds Timed Interval Seconds n Test if product is being ri 3 3 6 SQLTag Sample Collectors 3 3 6 1 Overview Tag Sample Collectors are used to automatically collect measurement data from an Ignition tag and create samples with the collected measurement data When configuring the selected interval defines how often to create a new sample For example on every 100th value change of a checkweigher value create a new sample and record the current value Or every 10 minutes while a process is running create a sample and record the current temperature The measurement data
111. must be a data type of string The values in the first column will be shown in the drill down options menu Typically this property binds to the drill down options property in a Production Analysis Selector component Scripting name drillDownOptions Data Type Dataset Previous Drill This controls the visibility of the Back drill down menu option If it is set to Down true Back will appear at the top of the drill down options Enabled Scripting name previousDrillDownEnabled Data Type Boolean Events This control has the same events as the Ignition Table Component with the addition of the following events drillDown Is fired when drill down menu item is selected Excludes the Back menu item Event Properties event get Returns the text of selected drill down option menu item DrillDownName Data Type String event get Returns the value of first column for the selected row Category Data Type Object back Event Properties none Methods none Inductive Automation 2 4 2 2 4 2 1 OEE Downtime 115 Down Time Components When the OEE Downtime Module which is part of the OEE Downtime and Scheduling Module is opened a new component tab will appear On it are components that provide functionality specific to the downtime and efficiency Component Palette of x Input Buttons Display Tables Charts Calendar Shapes Misc db Schedule OEE DownTime db Production Reporting 5
112. name enablePointDeletion Data Type boolean Enable Control Limit Editing If true allow the user to calculate and set new control limit values Scripting name enableControlLimitEdit Data Type boolean Events This component has standard Ignition events none Methods showSetLimitPanel chartName Causes the calculate and set control limit dialog to be shown parameters chartName Which chart to show the control limit dialog for Av Primary Data Type String returns nothing Inductive Automation 3 4 2 13 C Chart Ga Description SPC Quality 364 The Number of Nonconformities c control chart is used to display SPC results that have nonconformities co unts for each sample It does not retrieve SPC results from the SPC module so it must be used with either the SPC Selector or the SPC Controller components that do Only SPC results with c chart SPC Data Format specified will be displayed 04 06 2012 08 15AM 04 06 2012 08 15AM 04 06 2012 08 15AM 04 06 2012 08 15 AM Nonconformities Total Inspected Nonconformities Primary Chart gt de 3 6 d uci 1 C Control Chart Through the use of the properties listed below the appearance and functionality of this component can modified as desired Properties This component has standard Ignition properties with the addition of the following properties Data Properties SPC Results SPC Data Bind this property to th
113. none For multi site implementations set this to the datasource for the common remote enterprise database Analysis Query Cache Duration This setting represents the number of seconds to cache analysis results Analysis is used to compare recipes view recipe change logs or view recipe variance logs Production Model Configuration A production model defines your manufacturing or process in tree view form It provides an organized way to easily configure control and analyze your facility It starts with your enterprise which represents your company and continues down to the site physical location area line and cells Recipe values can be added to lines cell cell groups or locations If you are using the OEE Downtime module and have already purchased cells you can add recipe values to them Likewise if you are using the SPC module and have already purchased locations you can add recipe values to them If you are using only using the Recipe module then using locations is Inductive Automation Recipe Changeover 464 much more cost effective then using cells p 3 4 3 2 1 Production Model The production model is configured within the Ignition designer and is accessed by selecting the Production folder in the project browser From here your enterprise site area s line s and cell s can be added renamed and deleted Project Browser al Lg Configuration Pa gt aS Production f gt Your Enterprise
114. of sample definitions This allows for custom handling of the removal of sample definitions Methods save Save changes to the currently selected sample definition parameters none returns nothing cancel Undo the changes to the currently selected sample definition parameters none returns nothing getSampleDefinition Return the currently selected sample definition returns Sample Definition An instance of the currently selected sample definition Data Type SampleDefinition See SampleDefinition Object for more information addSampleDefinition sampleDefinition Add the sample definition specified in the parameter parameters sampleDefinition Instance of the sample definition to add Data Type SampleDefini See SampleDefinition Object for more information returns message Contains a description of any error encountered otherw empty O Inductive Automation SPC Quality 281 Data Type Ser arr updateSampleDefinition sampleDefinition Update the sample definition specified in the parameter parameters sampleDefinition Instance of the sample definition to update Data Type SampleDefini See SampleDefinition Object for more information returns message Contains a description of any error encountered otherw empty Data Type String refresh Refresh the currently selected sample definition This causes any associated components such as the Definition Attribute List to also
115. of schedule entry Data Type Tateger Options 0 Work Order Run 1 Maintenance Inductive Automation start coDuration finish quantity userName note schedulelD returns message OEE Downtime 145 2 Other The starting date and time of the schedule entry Data Type Date The duration of the changeover in minutes Data Type Integer The ending date and time of the scheduled entry Data Type Date The quantity of units to produce for this schedule entry Data Type integer The name of the user who is adding this scheduled entr Data Type String An optional note to be tied to this scheduled entry Data Type string The ID of the schedule entry to modify This is the ID for Schedule database table Data Type Integer Contains a description of any error encountered otherwi empty Data Type String deleteScheduleEntry workOrderID Delete an existing schedule entry parameters scheduleID The ID of the schedule entry to modify This is tt returns message Schedule database table Data Type Integer Contains a description of any error encountered empty Data Type SLi Inductive Automation OEE Downtime 146 Example Code The following script can be entered in a button s actionPerformed event It will add the schedule entry to the database The return message will indicate if the there are any issues adding the schedule entry See the O
116. of these trigger the signals to be calculated the script in the associated signal is executed An event object is passed into the script that contains the information and data to calculate the signal state values We will introduce this event here but see Signal Event object for more information In the example below any lines that start with the pound character are comments and are ignored when the script is executed Line 2 initializes a variable used to track how many consecutive calculated values like the x bar value are above the control line like the x double bar value The event getData on line 5 returns the samples that will be used to calculate the signal state values Itis a data set see Ignition DataSet in scripting for more information and contains a row of data for each sample Each sample row includes measurement values calculated values such as xBar standard deviation etc sample date and time and control limits There is also a column named the sample as the signal to save the signal state value By setting the value of this column to a zero 0 the sample is in control for this signal and by setting the value of this column to a one 1 the sample is out of control The ds getColumnindex on lines 8 through 10 returns the column number of the XBar XDBar and signal result columns This is done for speed reasons because it is faster to reference the column by number instead of finding the column by name
117. orkday Routine AY OE gt aj 33 Q Your Area Tag Value Datatype gt Default Shift 1 Start Time Tags y gt Default Shift 2 Start Time H q Line 1 i gt Default Shift 3 Start Time H 3 Line 2 t gt Description reme Cape ES ea gt Name Your Site String Name os 3 Client Description System Enabled CN All Providers Name Add Production OPC Server Values to SQLTags Important When writing to OPC values that are related to production model settings the new value is not retained upon restarting This is because production model settings are saved in the Ignition project and is only saved when done so in the designer 2 5 2 OPC Value Reference This references details the OPC values and child folders for node types that appear when browsing the Production OPC Server For each property the Ignition data type is listed and if it is read only The Ignition data types correspond to the data types that are available for SQLTags Within this reference the Read Only means that the OPC value cannot be written to through the OPC Production Server It can only be set in the designer or it is a calculated value Trying to write to a read only property will result in an error message being shown 2 5 2 1 Project Description Each project within Ignition has its own production model The first node s under the main Production node represent the Ignition project s Their names are the same as
118. out of control signal select the item to be deleted After selecting right click the item and select Delete from the drop down menu A window will appear confirming that you permanently want to delete the out of control signal 3 3 4 6 Import Export To export signal entries right click anywhere on the table containing signal entries and select the Export menu item A dialog box will appear to allow for the selection of an existing file or the entry of a name for the new file to which the out of control signal entries are saved If a file extension is not entered then the default csv will be used The first line of the file must at least contain the property names separated by commas If additional names exist they will be ignored The property names can be in any order Below is a sample csv file showing multiple signal entries The lines in the example shown below have been shortened Inductive Automation SPC Oualitv 271 SignalName SignalKind SignalScript SignalAutoEvaluatePeriod SignalAutoEvaluateDuration SignalcCt Individual Outside 5 ds event getData nxBarColNdx ds getColumnIndex XBar nuclCc Out of Limits 1 ds event getData nrangeColNdx ds getColumnIndex XBar nuclColNo Outside Limits 2 ds event getData nrangeColNdx ds getColumnIndex Range nuclCol XBar 8 Above Control Line 1 8 Consecutive points above control line signal calculation nc XBar 8 Below Control Line 1
119. ready to run almonds Recipes Fill Weight Max Fill Level Ignition Tags Min Fill Level Barcode Line Speed Fill Weight PLC Max Fill Level Min Fill Level Single Machine Recipe Value Tag Mapping When a production line contains production cells cell groups or locations as children the recipes can be managed selected and reported on by the production line The image below depicts this where Line 1 has two machines as children These children can be production cells cell groups or locations If the machines are being tracked with the OEE Downtime Module then the existing production cells or cell groups should be reused However if the machines are not being tracked with the OEE Downtime Module then locations can be used See Production Model for more information Inductive Automation Line Speed 120 Barcode M2 Ignition Tags Line PLC Cleaning Mode Recipe Almond Recipe Mixed Nuts Recipe Fil weight 502 _ Max Fill Level 82 Min Fill Level 7 75 Machine 1 PLC Temp se 140 High Temp Alm 45 Low Temp Alm 139 Machine 2 PLC Fill Weight Temp SP 140 Max Fill Level Min Fill Level Line Speed Multiple Machine Recipe Value Tag Mapping This is a brief overview of the types of recipes that are commonly used in manufacturing There is a lot more functionality such as scaling variance monitoring change logs master recipes sub recipes reporting capabilities etc that come
120. selected for a production item This provides flexibility to do just about anything in place of returning the value stored in the recipe management system See Request Value Script section for more information Enable Scaling If this option is checked the recipe value will be scaled The recipe value is retrieved out of the recipe management system and then scaled by the value of the recipe scale tag for the production item See Recipe Scaling for more information Inductive Automation Recipe Changeover 477 Enable Variance Logging q If this option is checked then the tag will be monitored for changes after a recipe is selected for a production item If the value changes more than the window defined in the Low Variance Threshold and High Variance Threshold it will be logged to the database and the recipe variances exists tag for the production item will be set to true This prevents values that are know to vary within an allowable range from being logged to the database and causing the recipe variances exists tag from being set If this option is not checked then the value can change and it will not be logged to the database Also the recipe variances exists tag will not be set as a result of this recipe value See Variance Tracking for more information Low Variance Threshold The Low Variance Threshold setting is used to define the lower limit before recipe variances are triggered for this recipe value The variance thre
121. shown in the image below Notice the Agitator Speed and Ingredient 2 of the Thick Blend recipe have been overridden If it uses the default value it will be updated when the default value is changed Once a recipe value has been overridden in a recipe it can then be reverted back to the default value Inductive Automation Racine Channenvar 427 Default Values Recipes A Recipe Default Values All of this is done in the recipe editor or by using script functions The image below shows the default values in the recipe editor where the default values can be edited Also see Sub Recipes for more details of how default values are use with sub recipes The section on Recipe Security provides more detail on changing the security for recipe values that are accessed in the default values Default values 0 Enterprise 2 0 Site FT Default Area 1 FT Default EnterpriselSitelArea 11Line 1 Default EnterpriselSite Default Enterprise Site Area 1 Default Default Values in the Recipe Editor 4 1 4 Master Recipes Master Recipes Making a change to a recipe value that is used in numerous recipes is a daunting task and is prone to mistakes To address this problem the Recipe Changeover Module uses master recipes The image below shows two recipes that are derived from or descendents of the O Inductive Automation Recipe Ch 438 Master Blend recipe When the descendant recipe is added all rec
122. slide out panel If this property is left blank the default icon will be used Scripting name itemSelectPanelIconPat h Data Type String Set the background color to use on the note slide out panel Scripting name noteBackgroundColor Data Type Color Set the background color to use on the security slide out panel Scripting name securityBackgroundColo r Data Type Color Item Selector Background Color Set the background color to use on the select production Inductive Automation item slide out panel Scripting name itemSelectorBackground Color Data Type Color User Menu Items Events Recipe Changeover 490 A dataset containing user menu Item to show in popup menus within the recipe editor component Scripting name Data Type userMenultems Dataset The Dataset must have the following columns that are reference by column number when building the user menus 0 meunu userMenultemClicked Event Properties event getMenultemName event getSelectedltemPath event getSelectedRecipe event getSelectedValueName event getSelectedSubRecipe event getUser event isShowRecipes String Node type that determines which popup menu the user menu item will appear in Valid options are Root Recipe Recipe Descendants Production Item Root Sub Recipe Sub Recipe String Text to appear for the user menu item This is also used to identify the user menu item
123. the designer is set to nherit From Parent this be the time defined for the parent production area See Line Configuration for more details The current Shift 3 enabled state for the production line It reflects the Shift 3 Enabled property for the ine in the designer The initial value of this property is determined by the Shift 3 Initial Enabled State property for the production line in the designer See Line Configuration for more details It can be changed from the initial value The current Shift 3 Start Time time for the production line If the associated Shift 3 Start Time property for the line in the designer is set to Inherit From Parent this be the time defined for the parent production area See Line Configuration for more details The current work order number for the current production run Read Only Boolean DateTime Read Only String Read Only The location folder contains properties associated with the production location The production location can reside under a production line or directly under a production area The name is the same as the location name that is configured in the designer The image below represents the Line 1 Quality location of the QualityDemo project Inductive Automation Production dis ae Qj QualityDemo S New Enterprise C ControlLimits G New Site Packaging Line 1 c Line 1 Quality O Additional Factors SQLTag Collectors gt Description
124. the ine starting with the project name Only the cells for this line path will be shown in this component For example OEEDemo Your Enterprise Your Site Your Area Line 1 Scripting name linePath Data Type LEI Selected Cell Path The currently selected cell path This is the full path name of the cell starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Filler Scripting name selectedCellPath Data Type SELLOS Selected Cell Name The currently selected cell name This is just the cell name excluding the rest of the cell path For example Filler Scripting name selectedCellName Data Type String Events This component has standard Ignition events Methods none Product Code Selector CTA Ju Description A component that provides users to select a product code from a drop down list of available product code for a production line Product code information is stored in the ProductCode ProductCodeLine ProductCodeLineProperty database tables The Product Code Table Product Code Line Table and Product Code Properties Table are typically used to manage the information in these database tables eliminating the need for SQL statements and scripts to do SO Product Code 1 a Inductive Automation Properties EE Downtim Product Code Drop Down List o owntime 93 This component has standard Ignition properties with the addition of the following properties
125. the changes were made from the recipe editor importing or script The only changes not automatically detected are changes made directly to the database and proper database security should be implemented if this is a risk Below are the methods that the change log history can be examined Recipe Change Log Viewer There is a component that will easily show recipe change log history on screens It has Inductive Automation Recir el eover properties to narrow in on what production item and recipes to s Kow fn change log for The columns that are shown are configurable through the table customizer See Recipe Change Log Viewer component for more information The image below depicts the change log viewer Line Speed admin Jun 19 2013 3 18 PM Recipe value changed Line Speed admin Jun 19 2013 3 17 PM Recipe value reverted Line Speed admin Jun17 201311 21 AM Recipe value changed Recipe Change Log Viewer Recipe Change Log Analysis Provider The core production module common to all MES modules has a analysis engine Each MES module provides a analysis provider to work with the data collected for the specific module In the case of the Recipe Changeover Module there are 4 different analysis providers of which one of them is the Recipe Change Log provider It is used to query change log history information based on your selections See Recipe Analysis Provider for more information The image below shows the interactive Recipe Change Log An
126. the control limit Optionally it can be left blank to set the default control limit value that is not tied to any location SampleDefinition definition Sample definition to the control limit for String attributeName Name of the attribute within the definition to set the control limit for String limitName Name of the control limit to set double value New control limit value String projectName Name of the Ignition SPC project Returns none Scope client gateway Example This is a sample client script to change a control limit to a fixed value system quality spc controllimit setControlLimitValue New Enterprise New Site Packaging Line 1 Line 1 Quality sampleDef Weight Individual LCL 100 0 3 6 3 2 3 2 calcControlLimitV alue system quality spc controllimit calcC ontrolLimitValue Description Control limits normally are calculated using the control charts components and when the process is determined to be stable In cases where additional flexibility is required this scripting function is provided to calculate control limits from data provided in the parameters Control limit values for a specified location sample definition test attribute and control limit can be calculated by calling this function The control limit will be calculated using the the control limit configured in the designer and the data specified in the parameters To set the actual control limit value use the setControlLim
127. the shift start times configured for the production line The current Shift 1 enabled state for the production line It reflects the Shift 1 Enabled property for the ine in the designer The initial value of this property is determined by the Shift 1 Initial Enabled State property for the production line in the designer See Line Configuration for more details It can be changed from the initial value The current Shift 1 Start Time time for the production line If the associated Shift 1 Start Time property for the line in the designer is set to Inherit From Parent this be the time defined for the parent production area See Line Configuration for more details The current Shift 2 enabled state for the production line It reflects the Shift 2 Enabled property for the ine in the designer The initial value of this property is determined by the Shift 2 Initial Enabled State property for the production line in the designer See Line Configuration for more details It can be changed from the initial value Boolean String Read Only String String Read Only Boolean Read Only Int4 Read Only Int4 Read Only Boolean DateTime Read Only Boolean Inductive Automation Shift 2 Start Time Shift 3 Enabled Shift 3 Start Time Work Order 3 5 2 6 Location Description PC li 1 The current Shift 2 Start Time time for the production The aa Date Mme the associated Shift 2 Start Time property for the line in
128. then the user may change the original reason generated to a more appropriate reason This is useful if for instance the machine can only generate a general fault code and the user needs to enter in a specific fault after determining the cause The reasons that are available for selection are controlled by the configuration of the Downtime Reasons and the Reason Selection Method property of the table The selectable reasons will be displayed in a pop up panel tree view type control when the reason column is clicked on the desired row The reason tree view layout can be controlled by several properties see property description below such as height width font and icons for selectable and non selectable reasons When editing a reason with the Reason Selection Method set to Original Cell the user will presented with a tree view of the appropriate reasons for the original cell FPIVUUUCLIOTN run Slalus Select new reason Scheduled Entry lwo 5000 units per hour 06 26 09 x Line Status chopper Product Code PC_5000ph Rate La Targets 5000 units per hour for Standard Rat L C MCP Tripped Quantity 5000 Scheduled R H L E3 Relay Faulted Units Lbs H L Overload Run Started 06 26 11 31 AM O Stall Estimated Finish 07 17 10 07 AM F J Jam Operator Krystal Heede FL Underload HL Comm Fault Start End Resume Hardware Fault Downtime Reasons Begin End Cell Tue 09 58 01 AM
129. to specify a single production item to show recipes for Example Enterprise Site Area 1 Line 1 temPath Ering H Scripting name Data Type os Inductive Automation Recipe Name Filter Selected Recipe Name Events none Methods none 445 Recipe Selector List Description aa Recipe Changeover 497 To limit which recipes to show t fis property can be set This provides a method to only show recipes that are of interest to the end user The wildcard characters or can also be included in the filter value Example Recipe C Scripting name recipeNameFilter Data Type SEXLAS This will reflect the recipe that the user selected It can also be set using script Scripting name selectedRecipeNam Data Type BEVING A component that is added to Ignition windows to select recipes in a scrollable list This is just one method of selecting a recipe for a production line cell cell group or location For more information on the other methods see the Selecting Recipes section The Recipe Selector List component is automatically updated when recipes are added removed etc The current recipe selected is also automatically updated if the recipe changes from a different source To select a recipe for a production item the user can right click on a recipe then select the Select Recipe menu item To cancel a recipe right click on the selected recipe then select the Cancel Recipe menu item This compon
130. two e getEnabled boolean Returns true if this sample definition signal is enabled If disabled it will not show as an option on the control charts e setEnabled boolean enabled Sets this sample sample definition signal enabled state If disabled it will not show as an option on the control charts e isModified Returns true if this sample definition signal has been modified e isNew Returns true if this sample definition signal is new 3 6 2 10 Control Limit Kind Type The control limit kind type object contains the available types of control limits In all cases the ending of the name specifies how it is used in control charts and automatic signal evaluation An ending of _UCL is handled as a upper control limit for _ LCL it is handled as lower control limit and _OTHER is a general control limit Available data types XBAR_UCL XBAR_LCL XBAR_OTHER Inductive Automation 5 Used for the XBar control chart SPC Quality 413 RANGE_UCL RANGE_LCL RANGE_OTHER Used for the Range control chart STDDEV_UCL STDDEV_LCL STDDEV_OTHER Used for the s standard deviation control chart INDV_UCL INDV_LCL INDV_OTHER Used for the Individual control chart MEDIAN_UCL MEDIAN_LCL MEDIAN OTHER Used for the Median control chart P_UCL P_LCL P_OTHER Used for the p control chart NP_UCL NP_LCL NP_OTHER Used for the np control chart C_UCL C_LCL C_OTHER Used for the c control chart U_UCL U LCL U OTHE
131. used by the OEE Downtime and Scheduling Module other than for reference Enabled This reflects the site Enabled property in the Boolean Designer If the site Enabled is set to true then the OEE Downtime and Scheduling module will perform calculations for the site and all areas lines and cells within it If this property is set to false then none of the areas lines or cells will have calculations performed Name This reflects the name of the site that is set in the String designer Read Only 4 6 3 Area Description The area folder contains some properties associated with the production area and a folder for each production ine within it The name is the same as the area name that is configured in the designer The image below represents the Your Area of the OEEDemo project Inductive Automation 5 de Sailor Recine Changeover 513 3 OEEDemo 3 Your Enterprise 5 Your Site Workday Routine Your Area E Line 1 O Line 2 O Workday Routine gt Description gt Enabled gt Name gt Shift 1 Start Time gt Shift 2 Start Time gt Shift 3 Start Time Area Child Folders Line One folder will exist for each Line that has been configured in the Ignition Designer The folder can be opened to view all values within the ine RecipeValue Any recipe values that are configured for the production area will appear in this folder Properties Description Optionally this prope
132. want to delete the production cell Project Browser O x Eg Configuration Production gt Your Enterprise Your Site 3 Your Area gt a Line 1 Filler E Capper Insped Rename F2 m Casel Cut Ctrl X Palletiz S Copy Ctrl C a Line 2 a E i Paste Ctrl a Line 3 z H a Line 4 a Line 5 A Move Up UE ade Mel LINE 6 2 we ADO a Deleting a Cell Location General Settings These settings are accessed by selecting the desired cell item contained in the line folder in the project browser and then selecting the General tab Enabled By default added cells are enabled lt can be disabled by un checking the Enabled setting and saving the project This will stop the OEE downtime and scheduling module from executing the cell O Inductive Automation a _ eo me Recipe Changeover 474 Description This is an optional description and is just for your reference Sub Recipe Mask This Sub Recipe Mask is required when using the sub recipe feature If the sub recipe feature is not being used for the production item leave it blank See Sub Recipes for more information above sub recipes and Sub Recipe Mask for how to use this setting Recipe Values Recipe values can be added to locations and can represent settings that are written to a PLC or other controller associated with a machine or be used internally in Ignition See Recipe Types for more informati
133. will be the same units as the infeed Indicates the time ina formatted string that the current line downtime event has been active Indicates if the current active line downtime event is a short stop Indicates the start time that the current line downtime event started Indicates the time that the current run ended changeover status and began running The date and time that Enable Run property was set to false This typically happens when the operator clicks the End button The date and time that Enable Run property was set to true This typically happens when the operator clicks the Start button or a production run auto start occurred See Line Configuration Schedule Settings for more details The date and time that new product was selected to run on the line Typically this happens when the operator selects a new production run Indicates if the line is set to automatically start schedule entries and begin the run after any changeover Overrides Auto Start Run setting Indicates if the production run should start automatically after change over This will allow the line to record a downtime event if it is not running after the allotted changeover time from the schedule entry This value will increment every time OEE downtime and scheduling values are OEE Downtime Int4 Read Only String Read Only Boolean Read Only DateTime Read Only DateTime Read Only DateTime Read Only DateTime Read
134. with recordable downtime within the cell group is the reason that the ine is down If the Minimum Cells Running Threshold has been reached no part of the cell group will be recorded as the cause of downtime and the next cell or cell group will be examined Select Key Reason to select the first cell in the order they appear in the designer that is down as the reason the line is down The line state will be checked first overriding the cell state if the line is already down ff there is a cell group on the line and the Minimum Cells Running Threshold has not been reached for that cell group the last cell within the cell group that guarantees the threshold will not be reached with recordable downtime is the reason that the line is down ff the Minimum Cells Running Threshold has been reached no part of the cell group will be recorded as the cause of downtime and the next cell or cell group will be examined Select Line State to ignore the cells and use the value of the State SQLTag that is configured for the ine See the section on Downtime Reasons for more information on each method State SQLTag This SQLTag is to read the current state of the ine or process Note that if this tag is set then if its current state is not 1 it will supersede Key Reason or Initial Reason methods states It is an Ignition SQLTag and the values can come from a PLC a database query other device in the field such as a barcode reader an expression u
135. 0 4 7 3 Object Reference The Recipe Module has script functions and events that use various objects This is because some recipe information contains more data than can be represented with a single primitive data type For example a recipe value has a name description units format and more and the ItemRecipeValue is used to hold all of this information when returning back recipe value information from a script function The following sections provide documentation of the methods and properties associated with these various objects 4 7 3 1 ChangelogFilters A ChangeLogFilters object is used when requesting recipe change logs with the getChangelogHistory script function to narrow down the results that are returned For example if you only want the change log history for a specific production item machine and specific date range the ChangeLogFilters object properties are set appropriately and are passed as parameters to the getChangelogHistory script function methods e createNew ChangeLogFilters Returns a new instance of a ChangeLogFilters object After setting various filter properties it is used with the getChangelogHistory script function properties e setProjectName String projectName Set the project name to read recipe change log history Recipe change log history is kept by project and the project name is required with the getChangelogHistory script function e addCategory String category Add a category to inc
136. 0 Stop Bits 2 1 If true automatically opens the port Scripting name Data Type autoOpen Boolean Clears the receive buffer before sending data Scripting name Data Type clearBufferBeforeSend Boolean Corrects any combination of end of line characters to carriage return CR and line feed LF Scripting name Data Type correctCRLFE Boolean Inductive Automation Default Read Timeout Enable Capture Capture File Path Encoding Unsolicited Requests Enable Polled Requests Polling Rate nstrument Interface Module 575 The default number of millisesonds to wait whi e reading data Scripting name defaultReadTimeout Data Type Integer Write all sent and received data to the capture file path Scripting name enableCapture Data Type Boolean The file path on the local computer to create the capture file Scripting name captureFilePath Data Type String Character encoding Scripting name encoding Data Type String If true accepts unsolicited requests from the device Scripting name unsolicitedRequests Data Type Boolean If true requests are made at a fixed interval of the Polling Rate property Scripting name enablePolledRequests Data Type Boolean Interval in milliseconds to issue poll requests Scripting name pollingRate Data Type Integer NOTE The following properties are not visible in the property editor They are available
137. 0 0 q gnitions by inductive automation Ignition MES Suite 2 inductive 800 266 7798 automation www inductiveautomation com Table of Contents Part Introduction 11 Production Model dis a dinaan iena 12 Gotinga a o 14 Licensing and Activati On veici csissteccsesiiccscecctiec ctesedaceceedeaebevideecteecdiedetedededendeded sce rende denim end ni rnne 15 Part Il OEE Downtime 17 TV Introduction ssssssssisssssiscesreneseueseeunsselontnennreinarens diese as cateenaenter dede aninda ntina d daeues 18 OEE TEEP Production Count Tracking c cccssccssceeeeeeeeeeeeeeeneeeeneeesneessaneeeaeeeneaeessaeeseaeeensaeessaeeesaeeesaneessaeeesaaeeeaeessaeeeseeesseeeeeeees 20 Down Time TRACKING voor cave sets cnceucvedesccceessectenscarenseicuseecvescusustecuecvesechvedebichsevcvecesseviarsecdenscarenseicnssucsesesss 20 Production Scheduling vvvsscccccccscsscesceceseccecstevesctvececesvensisussicssavavenscevesceusctsuscsvesnstesencevenecdechvesecnsusnedsusnidssetansteceveivesscrsuscsyes 21 2 G tting Start d 5 07 5 es oa vas dese genevieve verses egueieved Savehoessdeeiesttgacstceseduenshudupetcesedtnerstasrneececusstht desi Installation Installing Modules Configure Databases te RM Re ME En r a Penn OT 23 MES Mod l S t ings ua ia id 23 Demo Installation iia did dia Manes 24 User Interface A a Ne 25 Work Ord rsr iranienne A A eet ved tte did de hdl Rare init 26 Product Codes 4 58 wane tiie A
138. 000 Data Points ad Sample Count Fri May 18 00 00 00 e 2012 600 20 __ Tue May 15 00 00 00 PDT 2012 587 20 mra n POT 2012 140 5 Thu May 17 00 00 00 Por 202 SO 14 a 5212 512112 a 1 1 1 wT FT 1 1 1 Aprtt Api 16 Api2t Api 20 May 1 May May 11 May 16 My May 26 May 31 Jun 5 Jun 10 Jun 15 Jun 20 SPC Analysis Screen The date range selector at the bottom is used to define the data range that will be included in the analysis As you change the start or end dates only the production runs that are within that range will be included in the analysis Stored Analysis Start out by creating a new analysis by clicking on the menu of the Stored Settings panel and then selecting the New menu item Next type in a name select Quality for the type and click the OK button Stored Settings Name Sample Count Type Quality i 3 Cancel 0 New Quality Analysis Filter By Once an stored analysis has been created or selected you can change the selections to zero in on the data that is desired The filter section allows you to limit the data that is included in the analysis Filters can be added by clicking on the add icon on the right side of the Filter By section Within the popup filter selection window scroll down to the Shift option and click the icon Notice the shifts can now be selected Clicking on 1 for first shift will add the Shift 1 causing the analys
139. 012 08 35 AM eck 3 5 4 4 Scratch 4 3 3 2 Hole 5 2 3 Table gt piscoioration 2 1 3 3 1 0 7 2 3 0 5 30 1 d p UCL 79 4 45 53 9 Primary Chart gt 4 o a pLCL 01 P Control Chart Through the use of the properties listed below the appearance and functionality of this component can modified as desired Properties Inductive Automation E f sit BPG quali 347 This component has standard Ignition properties with the addition of the fo wing properties Data Properties SPC Results Bind this property to the SPC Results property of the SPC Controller or SPC Selector components Ther SPC Results contain all the information so that the control charts can display the results which is not possible with the data set alone Scripting name spcResults Data Type SPCResults SPC Data This property holds the SPC data and includes columns for the calculated values based on the SPC Data Format and selected attribute control limits and signals Scripting name spcData Data Type Dataset Measurement This property represents the number of measurements for each sample C in the SPC results o u nt Scripting name measurementCount Data Type int User This property can optionally be set to override the current user logged in It is used when notes or assignable causes are added or modified Scripting name user Data Type SLELNG Background Color The background color Scripti
140. 07 AM m H Jam Operator Krystal Heede j W Merton L Comm Fault Start End Resume Hardware Fault 1 Finisher Downtime Reasons G Cooker Begin End Cell Count Down Tue 10 36 31 AM Tue 10 36 33 AM Feeder 6 1 00 Tue 10 36 30 AM Tue 10 36 31 AM Feeder5 1 00 Tue 10 36 28 AM Tue 10 36 30 AM Feeder 4 1 00 Tue 10 36 26 AM Tue 10 36 28 AM Feeder 3 1 00 4 Tue 10 36 25AM Tue 10 36 26AM Feeder 2 1 ood Reset Cancel OK Tue 10 35 58 AM Tue 10 36 25 AM Feeder 1 1 00 00 27 Motor Off G El miror CA Tue 10 24 01 AM Tue 10 25 01 AM Cooker 1 00 01 00 Under Temperature A Tue 10 06 01 AM Tue 10 18 01 AM Chopper 2 00 01 00 Motor Off CG A Tue 10 05 01 AM Tue 10 06 01 AM Discharge 1 00 01 00 Machine Fault G A Tue 10 00 04 An Tue 10 00 07 AM Channer 1 NANNAN Ihtatar Nf Ct A Editing a reason for Any Cell Original Reason and Cell retention The original Reason Cell and Cell Group if applicable are never lost when a user edits a reason The reason selector pop up panel allows the user to reset to the original reason by selecting the Reset button on the left of the panel Also note that the analysis components have datapoints defined for accessing the original reason Using the Table Customizer A table customizer is available by right clicking the down time table in the designer and selecting Customizers gt Table Customizer It is similar to the table customizer in a standard Ignition table but the fields ar
141. 1 Data Type Skea returns lineID Returns the internal line id of the linepath or 1 if the line ci be found Data Type Integer system production utils isProductionModelRunning Returns true if the production model for this project is running parameters none returns running Returns true if the production model for this project is runt Data Type Boolean O Inductive Automation OFF Nawntima 2NR system production utils reset runUUID cellName shiftDate factorName Sets to 0 the Infeed count and the factor count for the cell or line The run must be complete for adjustment to be accurate parameters runUUID The unique run identifier of the run to reset This value car accessed via the Analysis Controller datapoint called Rur Identifier Data Type SECOS cellName Name of the cell to reset Leave blank to indicate the line Data Type String shiftDate The shift date you want reset This value can be accesser Analysis Controller datapoint called Shift Date Data Type Date factorName The run factor to adjust The possible values are InfeedC ProductionCount or WasteCount Data Type String returns none system production utils resumeRun linePath Resume the current production run for a line This is only valid if the production run has been ended parameters linePath The line path of the production line that this component is associated with This is the full path name of the ine starting with the pro
142. 13 Down Time Components Down Time Table C4 Description A component that displays automatic downtime events for an active production run and allows the operator to select more specific downtime reasons for the event It also allows the operator to split downtime events This accommodates downtime events that have multiple reasons For example if a production line goes down because of a mechanical failure and when maintenance finishes the repair it is time for break The operator can split the downtime event into two events One for mechanical failure and the other for break Downtime Reasons Begin End Cell Count Down Ti Reason 11 00 04 AM 11 30 03 AM Filler 1 00 29 59 Meal A Palletizer 1 00 0202 Wrapperfeedempty 10 48 03 AM 10 50 03 AM Case Packer 00 02 00 Case 10 51 03 AM 10 53 08 AM 10 45 03 AM 10 47 03 AM Inspection 00 02 00 Setup Q 10 42 03 AM 10 44 03 AM Labeler 00 02 00 Label 0 60 120 b Ei E e 10 39 03 AM 10 41 03 AM Capper 00 02 00 Capf 10 36 03 AM 10 38 02 AM Filler 00 01 59 Mach 10 51 03 AM 10 33 02 AM 10 35 03 AM Filler 00 02 01 Scale F s Cancel Split E Splitting Down Time Reason When the user clicks on the icon in the right hand column the downtime event split panel appears The user can drag the time selector to the desired number of hours minutes and seconds to split the event at After the user clicks the Split button two entr
143. 2 1 Product Moisture 1 Value Inspection 1 Viscosity 1 CRE IE Panama I A a Sample Definition List The Ignition table customizer is used to change the appearance of the table To access the customizer right click on the Definition List component and select the Cutomizers gt Table Customizer menu item Using the customizer you can hide columns change colors and change formatting to make the Definition List appear as desired O Inductive Automation SPC Quality 278 F IZ Table Customizer Background Color Mapping Column Configuration Auto l y oo Er cemer Heemer El Ra 580 Ht FA HERO A FA HERO A FA Date Format MMM d yyyy himm a MMM d yyyy h mm a MMM d yyyy h mm a Boolean o O O O Translation List Image Path List Background Color Column Background Color List Foreground Color Column z 100 O Min fo max Min o max O O O Min fo Max O O Min o max foo O w w v v none Ages none 4 Properties Ignition Table Custom izer This component has standard Ignition properties with the addition of the following properties Inductive Automation E SPC Quality 279 Show When set to true disabled sample definitions will be shown This provides a method to re enable previously disabled sample definitions Scripting name showDisabled Data Type boole
144. 4 OEE Downtime 86 Production Units This can be anything you want that represents the units Examples are gallons cases bottles pounds liters etc Waste Transit Time Seconds The waste transit time specifies the amount of time it takes for one unit to travel from the infeed to the outfeed if the production ine is running at standard rate It is used to calculate the waste count Note The term raw count is used because it is a relative production count It just starts at zero and counts up to a rollover value typically 32767 where it become zero again The OEE Downtime and Scheduling module calculates the actual production count from raw count This eliminates having to reset the value in the PLC or other device at the beginning of a production run As a result the programming that is required in the PLC or other device is simplified It also eliminates problems typically associated wth reset handshaking and production runs that exceed the limits of PLC counters For an OEE tracking system to be accurate it must wthstand communication errors power outages etc By using rawcounts that rollover and let the OEE Downtime and Scheduling module handle the actual production count the system is robust Besides that is just less PLC programming that has to be done and tested Editing a Product Outfeed To edit an existing product outfeed entry right click on the desired entry in the product outfeed table of a product line or cell and s
145. 42 3 Configure Database Recipe data is stored in databases external to Ignition These database s are setup in the gateway configuration section by selecting the Databases gt Connections section from the left hand configuration menu See the Ignition documentation for more information on setting up a database connection Below shows a typical database connection that is required for the Recipe module O Inductive Automation Racine Channenvar ARN Database Connections Name Description JDBC Driver Translator Status ProductionDB Microsoft SQLServer JDBC Driver MSSQL VALID edit delete Create new Database Connection Note For details about a connection s status see the Database Connection Status page Sample Database Connection 4 2 4 MES Module Settings The OEE Downtime Scheduling SPC and Recipe modules store data in an SQL database Because Ignition can be configured to multiple databases the MES Module Settings configuration page is used to select which databases to store OEE downtime scheduling SPC and Recipe data If only one database has been configured in Ignition then it will be selected by default To change the MES module settings go to the configuration section in the gateway and select the MES Modules gt Settings section from the left hand side configuration menu Once a database connection is created and if only one database connection exists then it will be automatic
146. 571 ngine Data Type Data Type String returns If data is modified in this event use this function to write it back to the serial controller component before it is send to the parsing engine Data Type String event hasData Returns true if raw data exists Data Type Boolean parse onAfterParse Is fired after the raw data has been parsed Event Properties event getParseResults Returns a ParseResults object containing all the values that were parsed from the raw data See ParseResults object reference for more information about reading values from the ParseResults object Data Type ParseResults The following script will get results and read a value results event getParseResults if results None if results isRequiredValid sampleNo results getValue sampleno event hasParseResults Returns true if a ParseResults object exists Data Type Boolean monitorFile onError Is fired when an error occurs during reading file contents The errorMessage property can be read to get the error message Event Properties none Methods read Check existence of and process one files If multiple files exist only one file is processed because the ParseResults are returned parameters none returns Returns a ParseResults object containing all the values that were parsed from the raw data See ParseResults object reference for more information about reading values from the ParseResults object Data Type ParseResults read
147. 7 28 29 30 31 Schedule Date Selector Properties This component has the same properties as the Ignition Month View Component with the addition of the following properties Current Date The currently selected date Scripting name currentDate Data Type Date Selected Day The currently selected date Scripting name currentDate Data Type SEXTA Add Day Used to adjust the currently selected day by a specified number of days forward or backwards If the specified number of days is positive then the current date will be adjust forward by the number of days specified If the specified number of days is negative then the current date will be adjust back by the number of days specified Scripting name addDay Data Type Integer O Inductive Automation 2 4 3 9 EE Downtime 141 Add Month Used to adjust the currently selected day by a specited num er of months forward or backwards If the specified number of months is positive then the current date will be adjust forward by the number of months specified If the specified number of months is negative then the current date will be adjust back by the number of months specified Scripting name addMonth Data Type Integer Add Year Used to adjust the currently selected day by a specified number of years forward or backwards If the specified number of years is positive then the current date will be adjust forward by the number of years specified If the specified number of years
148. 7300 Swing shift break 2 9 00 PM 9 15 PM 7400 2 3 4 Downtime Reasons Downtime reasons allow the tracking of specific causes preventing a line or cell from running Some reasons are considered causes of downtime where others are not For example if the production cell outfeed is backed up and there is no room to discharge product to then it must shutdown In this example it is simply normal operation for the cell and it is not causing the production line from producing product A cell further down the line is the cell preventing the production line from producing product Other downtime reasons may be planned Any time that the production line is scheduled around such as breaks lunches safety meeting disable shifts etc is planned and will not count against the production line OEE Availability The OEE Downtime and Scheduling module has been designed to accommodate a variety of methods to determine reasons that a production line is down This was done because monitoring all downtime reasons automatically is the ideal solution But in the real world this be difficult costly or just not practical to detect downtime reasons automatically For this reason it is important for downtime tracking software to support both automatic reason detection and a manual override For example if an operator presses the stop button because Inductive Automation OEE Downtime 78 they see a bottle laying on it
149. 9 Factor Optionally this property can be set to a description for the ai String Description additional factor It is not used by the OEE Downtime and Scheduling Module other than for reference Factor This reflects the name of the additional factor that is configured String Name in the designer Read Only Factor This reflects the Factor SQLTag setting that the additional String SQLTag factor is configured for in the designer It is the name of the Read Only SQLTag to read the factor value from 2 5 2 8 Workday Routine Description The workday routine folder contains a folder for each workday routine entry within it The name of each folder is the same as the workday routine entry name that is configured in the designer The image below represents the Site workday routine entries of the OEEDemo project See Workday Routines for more details Production Gj OEEDemo Your Enterprise 3 Your Site Workday Routine Day shift break 1 End Time Name Start Time Workday Routine Properties Name This reflects the name of the workday routine entry that is String configured in the designer Read Only Start This reflects the Start Time setting that the workday routine DateTime Time entry is configured for in the designer It is the time that the Read Only workday routine starts End This reflects the End Time setting that the workday routine DateTime Time entry is configured for in the designer It is the time that th
150. A tbe Rte aa Mee AE ian dette 27 Production Schelotto id diated teehee cand net aks 27 Operator Screen A Ling Charts RN A NN R port Screen ii A A da saved Dashboard A a nuits Avea SUMMALY Cia A o aa nal Garde ates ENE PIS Ss SUMMA ii a Aida 39 Impromptu Analysis LIS SUMMA RA A Ad a AAA LA a rie ns coe oe Site S mmaly ii A nn ne nr nn AA A O GOCE ANI WEEP AN A a a A I ee ia Production Model oi isis Production tem SENOS ia A AAA Waleed a Tense ae dad 43 Adding Production ems coi A A A A a en Br nt 47 Configurations inn Na ALA A sulevevecebsnacecsetedssussnicncerserssstets Components iia add a A ada deste Creating a Screen 3 CON QUratION sion MES Mod le Configuration 0 lt csiscicasssciscsecenscescetsesessvoncscvsieecodvezsgdesicuevescvssgecstansieintreuezaseaged duvets sokesstauedsedeedoscreacecesscesvouei ee 53 D Eo Roen ao A A ees Ae nn en ae ie M atc ee eee 53 Production Model COmfiQgu ration lt iccisecccesscsssetcaseceseccksesceectacecendevigntsnsevetenersescivsecsevaneresenssnsecdsacecenscedsonvedeveesaseesuecstueserse 54 Produiction Modelni A A eh ew A eee Mdr ta od eis Enterprise Configuration aes Si Configuration Gaia mir iranien tn Be middie Aenea ee eae Area Configuration gt ari AAA A nt Sein Inductive Automation Line Configuration cicada tcl siete ein tian AT esd nan ee tte RAR nt 61 IKEK eR oala e LiTE Lio a ME E EEEE E EEEE E asydudasscabeednecitiacadediasuadny
151. Adding a Product Waste Counter for details on adding product waste entries Editing a Product Outfeed See the section on Editing a Product Waste Counter for details on editing product waste entries Deleting a Product Outfeed See the section on Deleting a Product Waste Counter for details on deleting product waste entries Inductive Automation Cell Downtime Settings OEE Downtime 75 These settings are accessed by selecting the ine item contained in the site folder in the project browser and then selecting the Downtime tab as shown below Once downtime reasons have be added the OEE Downtime and Scheduling module will either check the list if the line stops running or allow the operator to select the reason See the section on Downtime Reasons for more information Filler Cell Production Item General OEE DownTime Schedule Advanced Log Downtime Details J State SQLTag Line 1 PLC Cell1 State Downtime Reasons Reason Name Reason Code Record Downtime Planned Downtime Operator Selecta Jam 2 Infeed backup 3 Bottle Jam 10 true false true true false false true false false Log Downtime Details Cell Downtime Settings Cell downtime logging is independent from line downtime To log all of the downtime details for a cell check the Log Downtime Details setting This will cause all downtime events for the cell to be logged to the database ff this amount of d
152. All additional factors start with Factor For example Factor Operator A comparison allows one data point to be compared between all areas days etc For more information on comparisons see the Compare By paragraph in the Analysis Screen section Approved By Area Attribute Name Day Definition Name Enterprise Line Location Month Note Entered By Product Code Reference Number Sample Entered At Sample Taken By Shift Site Tag Week Year Data Points These are the data points that are available in the SPC Module However in addition to these comparisons additional factors may be available if they are string data type All additional factors start with Factor For example Factor Operator Data points are the different values that will be presented or compared on a graph or chart For more information on data points see the Data Point paragraph in the Analysis Screen section Approved At Approved By Approved Count Area Attribute Name Attribute Note O Inductive Automation Bay SPC Quality 430 Definition Name Enterprise Line Location Month Note Entered By Product Code Reference Number Sample Count Sample Entered At Sample Note Sample Taken At Sample Taken By Scheduled Finish Schedule Start Shift Site Tag Week Year Inductive Automation Recipe Changeover 431 4 Recipe Changeover Inductive Automation Recipe Changeover 432 4 1 Introduction The Recipe module
153. Allows a custom value to be used to indicate who entered the comment If left blank it will use the currently logged in user name Scripting name enteredByName Data Type SEYing 2 4 1 8 OEE Downtime 100 Events This component has standard Ignition events Methods newNote New note parameters none returns nothing Product Code Controller ai 10001 Description An invisible component that provides adding product codes The term invisible component means that the control appears during design time but is not visible during runtime Product codes are stored in the ProductCode database table and this control handles all SQL statements duplicate checking etc Alternatively product codes can added directly into the ProductCode database table directly bypassing the OEE Downtime and Scheduling Module This method supports integration to ERP or other software systems Product codes can also be added via scripting Properties This component has standard Ignition properties Events This component has standard Ignition events Methods addProductCode productCode description Add new production code and description to database parameters productCode The product code to add to the database Data Type String description A descriptive label for the product code Data Type String returns message contains a description of any Inductive Automation OEE Downtime 101 error encount
154. Approve boolean autoApprove Sets the auto approve setting for this location If true samples will be automatically approved when they are recorded If false they have to be manually approved SPC Quality 410 e getComingDueMin double Returns the coming due minutes setting for this location The value represents the number of minutes required before a sample is due until the sample is considered coming due For automatically scheduled samples they are created prior to actual due time by the number of minutes of this setting e setComingDueMin double comingDueMin Sets the coming due minutes setting for this location The value represents the number of minutes required before a sample is due until the sample is considered coming due For automatically scheduled samples they are created prior to actual due time by the number of minutes of this setting e getOverdueMin double Returns the overdue minutes setting for this location The value represents the number of minutes required before a sample is due until the sample is considered overdue e setOverdueMin double overdueMinutes Sets the overdue minutes setting for this location The value represents the number of minutes required before a sample is due until the sample is considered overdue e getDuration double Returns the number of minutes needed to take a sample for this location e setDuration double duration Sets the number of minutes needed to take a sample for thi
155. C data that the signal will be calculated for 5 ds event getData 6 7 Get the columnn indexes within the SPC data 8 xBarColNdx ds getColumnIndex XBar 9 xDBarColNdx ds getColumnIndex XDBar 10 resultColNdx ds getColumnIndex XBar 8 Above Control Line 11 12 Cycle through each row and check signal 13 for row in range ds rowCount 14 LS Get the values to compare 16 xBar ds getValueAt row xBarColNdx 17 xDBar ds getValueAt row xDBarColNdx 18 19 Test if the x bar value is above x double bar value 20 if xBar gt xDBar 21 Add to the consecutive count 22 consecutiveCount consecutiveCount 1 23 24 Test if less than 8 consecutive x bar values are above x double bar 25 if consecutiveCount lt 8 26 Write a zero to the result column meaning we are in control 27 ds setValueAt row resultColNdx 0 28 elif consecutiveCount 29 Now 8 consecutive x bar values are above the x double bar 30 Write a 1 into the last 8 row because they are all out of control 31 ndx row 32 while ndx gt 0 and ndx gt row 8 33 ds setValueAt ndx resultColNdx 1 34 ndx ndx 1 35 else 36 Over 8 consecutive x bar values are above x double bar 37 Continue writing a 1 into the result because this row is still out of 38 ds setValueAt row resultColNdx 1 39 else 40 x bar value is below reset the consecutive count 41 and write a zero to the result column meaning we are in control 42 consecutiveCount 0 43 ds setVal
156. C li 399 Returns the maximum value based on the attribute this sample deta Sbiect is associated with This is automatically set when the sample is created and is based on the sample definition getAttrValue Object Returns the data value for this sample data object getAttrValueAs String String Returns the value for this sample data object as a string setAttrValue Object attrValue Sets the value for this sample data object If the attrValue parameter is not the correct data type an attempt to convert it to the correct data type is performed before it is set isValueValid boolean Returns true if the value of this sample data object has been set and is between minimum and maximum values isModified boolean Returns true if the value of this sample data object has been modified 3 6 2 3 Attribute Data Type The attribute data type object contains the available data types of a sample attribute Available data types INTEGER Attribute can contain positive or negative numeric values with no fractions It has a minimum value of 2 147 483 648 and a maximum value of 2 147 483 647 inclusive REAL Attribute can contain double precision 64 bit IEEE 754 floating point values BOOLEAN Attribute can contain a true or false value INSPECTED_COUNT Attribute can contain a counting number 1 2 3 4 and represents a number of items inspected for a attribute samples This attribute data type is recognized and require
157. C7 Logged in as admin log out System Install or Upgrade Module Y Status Licensing Backup Restore To install a module choose its mod1 file and press Install Console To upgrade a module install the new version on top of the existing version User Manual Modules can be downloaded from our website Configuration Projects C Temp Quality Installer module modl Gateway Settings Install Redundancy mane a ree LL ee Pr at Nen ES nn Def Inductive Automation SPC Quality 226 Install Ignition Module Inductive Automation The SPC modules Instead it SPC Quality 227 Installer module will install all required modules These are the Production and SPC His important to keep in mind not to install or update these modules individually should be done by updating the SPC Installer module 3 2 1 2 New Ignition System 3 2 1 2 1 Selecting Install Options To install the SPC module at the same time as Ignition add the following steps to the normal Ignition installation 1 Select Custom Configuration on the setup step during the Ignition installation The following screen will appear Scroll down to SPC Module and select it This will cause the modules required for SPC functionality to be installed at the same time as Ignition r x Setup Select Components A J Select the components you want to install clear the components you do not want to install Click Next when you are ready to
158. CE a A _ Workday Routine List These settings can be inherited or overridden by a production Area A production Line can in turn inherit or override the entries from the production Area OEE Settings For OEE values to be calculated production data is needed This is configured by clicking on the OEE tab and configuring the system to collect production counts True OEE calculations use product infeed counts to determine OEE Performance The production outfeed is used to determine waste which affects OEE Quality Ata minimum a product outfeed for the production line must be configured but for more accurate results a product infeed should be configured as well Line 1 Line Production Item General OEE Downtime Schedule Quality Advanced Primary Infeed Line Infeed v Product Infeed Name Count SQL Tag Max Raw Count Production Units Line Infeed Line 1 PLC Filler Infeed 32768 Bottles Primary Oufeed Line Outfeed Production Outfeed Name Count SQL Tag Max Raw Count Default Standar Default Packag Standard Rate Production Units Waste Transit Line Outfeed Line 1 PLC Pal 32768 0 0 0 Hour Cases 20 Product Waste Name Count SQL Tag Max Raw Count Inspection Rejects Line 1 PLC Inspectioniaste 32768 Waste Calculation Method Product Waste Entries X Line OEE Settings Optionally each cell can
159. CEE Formenre E CEL Desi Date Oct 7 2011 mo co o 7 o so x L 1 0 Sisili 0060 POT 3011 nau SAM au AM AU OAM tU PM APM oru HP NP TAME ow 8 a EE 8 J anna 8 8 a 3 mes g 833308 Enterprise Sum mary Screen Line Graph Settings There are many settings for lines graphs which can be adjusted by right clicking on a line graph These options can be used to improve graphs and select specific areas to save and print Mode Zoom Allows the user to click and drag over the specific area of the graph that he or she wants to enlarge Pan Allows the user to click and drag to move to a different area of the graph Mark Gives the domain and range values of a single line at 12 00 AM on the day selected by clicking on the graph X trace Gives the domain value of all lines on the graph at 12 00 AM on the day selected by clicking on the graph Background The background color of a line graph is white by default but may be changed to black to allow the user to see lighter colors Zoom Allows the user to zoom in or out along the domain axis the range axis or both axes Can also be used with bar graphs Auto Range O Inductive Automation t Automatically selects the best range of values for the domain ane ES tne range axis or both axes to in order to see the entire graph for the date or time range selected at the bottom of the screen Can also be used with bar graphs Reset A
160. Char includeDelimiter If true the delimiter will be included in the return Data Type Boolean timeout The time in milliseconds to wait for a response from the port Inductive Automation Instrument Interface Module 581 Data Type Integer returns The data read from the port Data Type bytel clearBuffer Clear all data existing in the communication port receive buffer If an error occurs the errorMessage property will be set and an exception will be thrown parameters none returns nothing isSerialSupported Determines if the client serial module is loaded and available to be used with this component parameters none returns True if serial support is available Data Type Boolean parseText template text Parses the given text by using the template of templateName parameters templateName The template to use for parsing the text Data Type String text The text to be parsed Data Type String returns A ParseResults object see ParseResults object for information about accessing parsed values contained in the parse results Data Type ParseResults Sample script for the onAfterParse event Line 4 shows how to populate measurement values of the SPC module s Sample Entry component results event getParseResults if results None and results isRequiredValid reading results getValue reading event source parent getComponent Numeric Text Field doubleValue reading getValue
161. Data Type Coder The foreground color of the labels Scripting name labelForeground Data Type Calor The font to display the labels Scripting name labelFont Data Type Fone The background color of the measurement data values Scripting name dataBackground Data Type Color The foreground color of the measurement data values Scripting name dataForeground Data Type Color The font to display the measurement values Scripting name dataFont Data Type Font The background color of the calculated data values Scripting name calcBackground Data Type Color The foreground color of the calculated data values Scripting name calcForeground Data Type Color The font to display the calculated values Scripting name calcFont Data Type FONC Chart Properties Show Primary Chart Right Axis Width Limit Dialog Horizontal Offset Limit Dialog Vertical Offset Vertical Grid Line Color Show Vertical Grid Lines Horizontal Grid Line Color Show Horizontal Grid Lines Primary Chart Background SPC Quality 362 If true the primary chart will appear Scripting name showPrimaryChart Data Type boolean The width of the right chart axis in pixels Scripting name rightAxisWidth Data Type E The horizontal or x position to display the set control limit dialog box Scripting name limitDialogHorizontalC Data Type LME The vertical or y position to display the set control limit dialog box
162. Data Type SEring This comment Data Type String If set to 1 True the note will appear at the top of the list it False the note will appear in order it was entered Data Type Boolean Inductive Automation OFF Nawntima 201 system production utils adjustRunData runUUID cellName factorName factorValue system production utils adjustRunData runUUID cellName factorName factorValue adjustlnfeed Recalculates production data for a line or a cell based on the factor name and the factor value The run must be complete for adjustment to be accurate parameters runUUID cellName factorName factorValue adjustInfeed returns none The unique run identifier of the run to adjust This value ca accessed via the Analysis Controller datapoint called Rur Identifier Data Type String Name of the cell to adjust Leave blank to indicate the line Data Type SCLIN The run factor to adjust The possible values are InfeedC ProductionCount or WasteCount Data Type String The value to set the factor to NOTE PRODUCTION DAT BE MODIFIED AND CANNOT BE UNDONE USE WITH EXTREME CAUTION Data Type Double If set to 1 True the InfeedCount will always be modified i False the InfeedCount will not be modified if ProductionC or WasteCount are being adjusted Data Type Boolean Inductive Automation system production util factorName factorValue system production uti factorNa
163. EEDemo project s ScheduleNew window for a full implementation example esp event source parent gather parameters required to add a schedule entry linePath esp LinePath workOrderID esp getComponent WorkOrderContainer getComponent Work Order Selec scheduleType esp getComponent ScheduleType selectedValu startDate esp getComponent StartDateTime selectedDateTim coDuration esp getComponent WorkOrderContainer getComponent CODuration sele finishDate esp getComponent FinishDateTime selectedDateTim quantity esp getComponent WorkOrderContainer getComponent Quantity intValue userName esp getComponent HiddenContainer getComponent UserName text note esp getComponent note text call the add schedule entry method of the schedule entry controller result esp getComponent Schedule Entry Controller addScheduleEntry linePath w handle result if result esp getComponent WorkOrderContainer getComponent Work Order Selector select system nav closeParentWindow event 2 4 3 10 Schedule Controller a Description An invisible component that provides selection of scheduled entries for a specified production line It also provides start end and resume control of production runs The term invisible component means that the control appears during design time but is not visible during runtime Scheduled entries
164. Enabled State Inherit From Parent z Initial Start Time Inherit From Parent Shift 3 Initial Enabled State inherit From Parent Initial Start Time Inherit From Parent Additional Factors Factor Name Factor Description Factor SQL Tag Lot Number Qualit PackagingfLine 1 Lot Number A O is it tn re nm st 5 Gate ee a Additional Factor List Adding an Additional Factor To add an additional factor right click anywhere on the additional factor table and select the New menu item A dialog box will appear to allow entry of a new additional factor as shown below A Z Add Additional Factors 2 Factor Name Factor Description ox Additional Factor Settings Factor Name The required name of the additional factor is used to reference one additional factor from another You can have any number of additional factors but user usability will be hindered if too many are added This is because the additional factors are added to user menus and if too many are added the menus can become too long and confuse the end user The name given to an additional factor should be meaningful to the end user Again this is because additional factors appear in menus allowing the end user to filter and group analysis and report data by them Factor Description The optional description is just for reference or to keep internal notes about the additional factor Inductive Automation SPC Quality 260
165. End Date property of ihe Date Range component To allow the users to filter the analysis results by production line we need to bind the Analysis Controller Line filter property to the Production Line Selector component Click on the 4 for the Line property select Property binding type navigate to the Production Line Controller component and select Selected Line Name property as shown below Click the OK button 7 Y Property Binding Window Root Container Analysis Controller Line F soleus Choose Property Window M Root Container B Name String Background Color Colon M Styles Dataset Bl Data Quality ing Y Date Range Analysis Controller AE at Production Bar Chart AA Production Line Selector Name String B Selected Index Int O Indirect Tag a ll Property Property O Expression f Database DB Browse Selected Line Path String HB Styles Dataset B Data Quality nt O SQL Query M Noe Property Selector Now click the Production Bar Chart on the new window Next click the JD for the Data property select Property binding type navigate to the Analysis Controller component and select the Chart Data property as shown below Click the OK button Inductive Automation r a a OFF Downtime 52 Y Property Binding Window Root Container Production Bar Chart data en niga Choose Property T a Date Range amp Analys
166. Finisher Tue 09 55 01 AM Tue 09 55 02 AM Chopper 00 Reset _ _cancel_ Tue 09 54 01 AM Tue 09 55 01 AM Cooker Tue 09 44 01 AM Tue 09 54 01 AM Chopper Tue 09 42 01 AM Tue 09 44 01 AM Cooker Tue 09 38 01 AM Tue 09 38 02 AM Chopper Tue 09 37 02 AM Tue 09 38 01 AM Discharge Tue 09 20 01 AM Tue 09 31 01 AM Chopper Tue 09 19 01 AM Tue 09 20 01 AM 00 01 00 Machine Fault 00 01 01 Motor Off 00 02 00 Operator Stop 00 00 01 Motor Off 00 00 59 Operator Stop 00 03 01 Motor Off 00 01 00 lo a ce a ly a le AQAQIAQEQ EA Cooker Under Temperature DADO Tue 08 52 01 AM Tue 08 53 01 AM Cooker 1 00 01 00 Operator Stop Editing a reason for Original Cell A Inductive Automation OEE Downtime 117 When editing a reason with the Reason Selection Method set to Any Cell the user will presented with a tree view of all cells and reasons This allows the user to select a more appropriate cell and reason than what was originally detected by the system Select new reason Operator G Line 8 h Production Run Status iiie 2 Sorters Scheduled Entry WO 5000 units per hour 06 26 09 x Line Status Chopper Product Code PC_5000ph Rate FU Motor off Targets 5000 units per hour for Standard Rat L L MCP Tripped Quantity 5000 Scheduled Ri E L E3 Relay Faulted Units Lbs L Overload Run Started 06 26 11 31 AM F LI Stall Estimated Finish 07 17 10
167. G The name s of the recipe values to set to current tag values Separate multiple recipe value names with commas For all recipe values of a production item leave blank Data Type String Optional note to be stored in the recipe change log Data Type String Inductive Automation Recipe Changeover 543 4 7 1 23 exportRecipe Pp di system recipe exportRecipe projectName filters Adds a comment note to the current run for the selected line See the Import Export section of Editing Recipes for CSV file format and other information This script function can be used in gateway client scripts When called from the client omit the projectName parameter parameters projectName The project name Only include when called from the gateway When called from the client the project is the same as current project for the client Data Type String filters Filter statements separated by commas See the Recipe Analysis Provider for more information on the available filters Data Type Gering returns CSV formatted string containing the recipe values String Example itemPath event source parent getComponent Production Line Selector selectedLinePath filters Children Include Recipe Name Master C Item Path s itemPath csv system recipe exportRecipe filters system file writeFile C Temp recipe export csv csv False Inductive Automation Recipe Changeover 544 4 7 1 24 importRecipe system recipe im
168. Inductive Automation 1033134 SPC Quality 319 Background Color The background color Scripting name backgroundColor Data Type Color No Data Message Text to display if not data is available to show in the control chart Scripting name noDataMessage Data Type String No Data The foreground color to display the no data message F or e gr o u n d Scripting name noDataForeground Data Type Color No Data Font The font to display the no data message Scripting name noDataFont Data Type Font Chart Properties Vertical If true the bars will be shown vertically Scripting name vertical Data Type boolean Chart Background Color The background color of the chart Scripting name chartBackgroundColor Data Type Color Bar Color Color of the bars Scripting name barColor Data Type Color Accumulation Line Color Color of the total accumulation line Scripting name accumulationLineColor Data Type Color O Inductive Automation SPC Quali 320 Bar Spacing Specifies the spacing between the bars It is a frashonal Wale from 0 0 to 1 0 and represents the percentage of the bar width to make as space between the bars Scripting name barSpacing Data Type float Gradient If true show bars with gradient fill Scripting name gradient Data Type boolean Shadows If true show bars shadows for each bar Scripting name shadows Data Type boolean Tick Label Font The font to show values on the value and count axis Scripting name tickLabelFo
169. Limits xs Name XBar UCL Kind Bar UCL y Calculation Script Bar UCL Calculation LS ox Adding a Control Limit Name This is the required unique name of the control limit as it will appear in selection lists and control charts It is better to keep this short in length so that it will fit better on the control charts Kind Each type of control chart has control limit kinds that it works with If a control limit will be used with a Individual control chart then either the Individual LCL lower control limit Individual UCL upper control limit or Individual Other control limit kinds must be used Available control limits kinds grouped by control chart type XBar XBar Xbar S XBar UCL XBar LCL XBar Other XBar Range XBar Range LCL Range UCL Range Other Individual Individual Individual LCL Individual UCL Individual Other Moving Range Individual Median MR LCL MR UCL MR Other Standard Deviation XBar S Standard Deviation LCL Standard Deviation UCL Standard Deviation Other Median Median Median LCL O Inductive Automation P li 263 Median UCL SPC Quality Median Other p p Chart p LCL p UCL p Other np np Chart np LCL np UCL np Other u u Chart u LCL u UCL u Other c c Chart c LCL c UCL c Other Histogram Histogram Histogram LCL Histogram UCL Histogram Other Calculation Script Because control limit calculations can vary the SPC module uses scripting T
170. Line Production Item UNPUBLISHED Save project to make production chang Instrument Interface 3 Production gt p gt P 58 Enterprise General OEE Downtime Schedule Quality Recipe Advanced M Site Sub Recipe Mask l gt El Area 1 L E Timed Test Recipe Value Name Description Ta Re uest val Line Speed Description for Recipe Site Are BB Tag Change Test Value 1 ES ay TF di Line 1 Value 2 h gt a Line 2 i aP Line 3 a Line 4 L Transaction Groups H Windows by Templates P L fam Symbol Factory 1 SQLTags Browser D Q ASH VERG 3d O A1 3 A_1 D ActiveRecipeName Demo gt EnableRecipe Line Speed gt RecipeActive RecipeLoading gt RecipeScale Status Events RecipeTra State Running y Alert Last Execution Time 02 53 32 PM Last Execution Duration 189 mS Maximurn Execution Duration 1617 mS T G SS Line 2 Y Line 3 D Tiroa Tont EA Lol Assigning a Tag to Recipe Value Using Drag and Drop Ds E g y 1 4 3 4 2 Editing a Recipe Value To edit a Recipe Value select the existing Recipe Value you wish to edit then right click and select Edit from the menu The same window used to add recipe values will appear allowing the information to be edited 4 3 4 3 Deleting a Recipe Value To delete a Recipe Value select the existing Recipe Value you wish t
171. Lines Auto Detect Column Names date time 2011 10 27 11 24 50 2011 10 27 11 34 50 Column Format Column Name sample no M Required Datatype Int4 z Translation OK Cancel csv Row Parsing Box Will parse all data in the rows in a fashion similar to a CSV file A group of rows will be repeated For example date 2011 10 27 time 11 24 50 sample no 31 date 2011 10 27 time 11 34 50 sample no 32 date 2011 10 27 time 11 44 50 sample no 33 Inductive Automation i CSV Box Properties General tem Name CSVRowBox Expand Horizontal Delimiter O Tab Space Other Header Columns 1 Auto Detect Raw Names 2011 10 27 2011 10 27 1 34 50 sample no date 2011 10 27 AA C0 Row Format Row Name sample no Required M Datatype Int4 z Translation Key Translation OK Cancel Edit Parsing Box Properties This will bring up the appropriate editor for the selected parsing box Remove Parsing Box The selected parsing box will be removed Toggle Character Grid A visible grid can be displayed to show the position of all characters E Parse and Preview Template This will display a window showing the actual output of the template text after it has been parsed O Inductive Automation r Z Preview Parse Results
172. M Inspection 10 42 03 AM 10 44 03 AM Labeler 10 39 03 AM 10 41 03 AM Capper 10 36 03 AM 10 38 02 AM Filler 10 33 02 AM 10 35 03 AM Filler J 00 02 00 Setup G 00 02 00 Label Y 0 00 02 00 capt 60 120 00 01 59 Mach 10 51 03 AM poole peale Cancel Split Downtime Reason Table EN ee EN You will notice other information of the screen that give the operator realtime indication of how the production run is progressing The indictor shown below displays the target and actual production for the current shift At the start of every shift change new targets are calculated for the new shift This always provides the operator relevant production information on their shift to keep the entire production run on track Production 5 000 4 000 3 000 2 000 1 000 3270 Production Progress Indicator Target Below this the OEE information is displayed for the shift Here the total OEE for the shift is displayed as well as the Quality Performance and Availability individually Shift OEE Q P A 100 75 50 25 o 83 7 100 0 100 0 83 7 OEE Indicator O Inductive Automation 2 2 2 5 2 2 2 6 OEE Downtime 32 Line Charts The line charts screen provides realtime information as the production runs progresses Completed production runs can be selected using the production run drop down list At the bottom of the screen a graph showing the top reasons for down time is displayed
173. Name Description JDBC Driver Translator Status ProductionDB Microsoft SQLServer JDBC Driver MSSQL VALID edit delete Create new Database Connection Note For details about a connection s status see the Database Connection Status page Sample Database Connection To change the MES module settings go to the configuration section in the gateway and select the MES Modules gt Settings section from the left hand side configuration menu Once a database connection is created and if only one database connection exists then it will be automatically selected to be used by the MES modules If more than one database connection exists then the desired database connection can be selected to be used by the MES modules as shown below Inductive Automation 3 3 2 SPC Quality 249 MES Module Settings TAN DEMODB Database The database connection to store runtime production data Stop all production runs before changing this setting Data Retention 30 Duration Number of days to retain runtime production data Analysis Datasource DEMODB Analysis The database connection to store historical analysis production data to Multiple sites can be set to the same analysis database to allow enterprise Database reporting Stop all production runs before changing this setting Analysis OEEDBAUX Database The auxiliary or mirror database connection to store historical analysis production data to Auxiliary Stop all product
174. OEE Downtime and Scheduling Module other than for reference This reflects the enterprise Enabled property in the Designer If the enterprise Enabled is set to true then the OEE Downtime and Scheduling module will perform calculations for the enterprise and all sites areas lines and cells within it If this property is set to false then none of the sites areas lines or cells will have calculations performed This reflects the name of the enterprise that is set in the designer The name of the runtime database connection Indicates if control limits are saved by product code Exists only if the SPC module is also installed OFF Downtime 162 tring Read Only String Read Only String Boolean String Read Only String Read Only Boolean Read Only Inductive Automation Description OEE Downtime 163 The site folder contains some properties associated with the production site and a folder for each production area within it The name is the same as the site name that is configured in the designer The image below represents the Your Site of the OEEDemo project Child Folders Workday ip Production Gj OEEDemo amp Your Enterprise 5 Your Site Workday Routine CN Your Area Default Shift 1 Start Time Default Shift 2 Start Time Default Shift 3 Start Time Description Enabled Name Site t it Contains all of the workday routine en
175. OEEDemo Your Enterprise Your Site Your Area Line 1 Data Type String productCode The new product code for the line to run next Data Type String returns successful Returns true if the project name line path and product coc are valid and the new product code has been set Data Type Boolean Inductive Automation OEE Downtime 198 system production startRun projectName linePath Start a new production run for the current product code This is only valid if the line is not Currently in a production run parameters projectName linePath returns successful The project name that contains the specified line path Data Type String The line path of the production line that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Data Type String Returns true if the production run successfully started Data Type Boolean system production updateProductCodeLineStatus projectName productCode linePath enable Updates the line enabled status for this product code parameters projectName linePath productCode enable The project name that contains the specified line path Data Type String The line path of the production line that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterpr
176. Object none A component that displays tabular data with drill down capabilities This extends from the Table Component En that comes with Ignition When the user clicks on a row in the table the drill down menu will appear When an item in the drill down menu is clicked on the drillDown event is fired Script in the drillDown event is responsible for updating the Data property to change the results shown in the table The drill down menu information is set through the Drill Down Options property The Drill Down Options can populated from the Analysis Controller Analysis Selector SQL Query scripting or it can be manually defined in the designer Cell Name Downtime Minutes Occurrences Labeler 44 97 18 Palletizer Area 20 Filler Automatic Reason 44 Case Packer 21 Inspection 6 Line Operator Reason Package Count Product Code Production Units Run Shift Site Properties Analysis Table This component has the same properties as the Ignition Table Component with the addition of Inductive Automation OEE Downtime 114 the following properties Allow Export This controls the visibility of the Export menu option If it is set to true Export will appear at the top of the drill down options allowing the user to export the data appearing the table Scripting name allowExport Data Type Boolean Drill Down This is a Dataset that must have at least one column The first column Options
177. Only DateTime Read Only Boolean Read Only Boolean Read Only Int4 Read Only 167 Can Cancel Run Can Resume Run Can Start Run Changeover Overrun Reason Code Description Downtime Detection Method Downtime Reason Description Enable Run Enabled Infeed Count Name calculated for the project production model Indicates if this run can be cancelled Runs can only be cancelled while in changeover If true all conditions are good to resume a production run If true all conditions are good to start a production run Reference of the downtime reason code that will be triggered on a changeover overrun Optionally this property can be set to a description for the line It is not used by the OEE Downtime and Scheduling Module other than for reference This reflects the current value of the Downtime Detection Method setting in the designer Indicates the reason description of the current line downtime active event Setting Enable Run to true will enable the production run for the line Setting it to false will end the production run Typically this is controlled by the functionality of the operator screen but it can also be handled programmatically This reflects the line Enabled property in the Designer If the line Enabled is set to true then the OEE Downtime and Scheduling module will perform calculations for the all cells within it If this property is set to false then n
178. PC Data Format specified will be displayed AM 04 11 2012 09 24AM 04 16 2012 06 52PM 04 16 2012 06 53PM 04 25 2012 07 54 Measurement 1 Measurement 2 Measurement 3 Measurement 4 da 10000 di 14 A Median Moving Range Control Chart Through the use of the properties listed below the appearance and functionality of this component can modified as desired Properties This component has standard Ignition properties with the addition of the following properties Data Properties SPC Results Bind this property to the SPC Results property of the SPC Controller or SPC Selector components Ther SPC Results contain all the information so that the control charts can display the results which is not possible with the data set alone Scripting name spcResults Data Type SPCResults O Inductive Automation PC li 335 SPC Data This property holds the SPC data and includes colum na Tor e calculated values based on the SPC Data Format and selected attribute control limits and signals Scripting name spcData Data Type Dataset Measurement This property represents the number of measurements for each sample C in the SPC results O u nt Scripting name measurementCount Data Type int User This property can optionally be set to override the current user logged in It is used when notes or assignable causes are added or modified Scripting name user Data Type String Background Color The background
179. R Used for the u control chart HISTOGRAM_UCL HISTOGRAM_LCL HISTOGRAM_OTHER Used for the Histogram chart MOVING _RANGE_UCL MOVING_RANGE_LCL MOVING_RANGE_OTHER Used for the MA moving average control chart properties Inductive Automation SPC Quali 414 e getText String sa Returns the user friendly localized text for the control limit kind e intToType int ordinal ControlLimitKindTypes Returns the control limit kind type object for the ordinal value specified e getTypeFromName String name ControlLimitKindTypes Returns the control limit kind type object for the name value specified e getCategory SPCCategoryTypes Returns the category of chart See SPC Category Types for more information 3 6 2 11 SPC Category Types The SPC category type defines the possible types of charts currently supported by the SPC module Available data types XBAR RANGE SBAR INDIVIDUAL MEDIAN P NP U C HISTOGRAM PARETO MR 3 6 2 12 Signal Kind Types The signal kind type object contains the available types that a signal can be Available data types XBAR RANGE SBAR INDIVIDUAL MEDIAN P NP U C HISTOGRAM PARETO MR properties e getText String Returns the user friendly localized text for the signal kind e intToType int ordinal SignalKindTypes O Inductive Automation SP li 415 Returns the signal kind type object for the ordinal value speed des e getTypeFromName String name SignalKindT
180. Read Only Int4 Read Only Int4 Read Only Float8 Read Only String Read Only String Read Only 5 OEE Downtime 174 production line state from Work Order The current work order number String for the current production run Read Only 2 5 2 6 Cell Description The cell folder contains some properties associated with the production cell The name is the same as the cell name that is configured in the designer The image below represents the Filler of the OEEDemo project Production OEEDemo 3 Your Enterprise Gj Your Site G Workday Routine 5 Your Area Line 1 Qj Additional Factors Capper Case Packer Filler 3 Downtime Reasons gt Accumulation Count gt Auto Calc Waste gt CellEnabled gt Default Cell Enabled 5 Description gt Infeed Count gt Log pr bb Details EJE yasa Pl in o mans ED Sentara iS gt Standard Rate Period State gt State SQLTag Cell Inductive Automation OEE Downtime 175 Child Folders Downtime Contains all of the downtime reasons entries that have been configured for Reasons the production cell See Downtime Reasons for more details Properties Accumulation Accumulation Count Infeed Count Run Production Count Cell Enabled Default Cell Enabled Description Infeed Count Name OEE OEE Availability OEE Performance OEE Quality Produ
181. Recipes node and selecting the Add Recipe menu item New descendant recipes can be added by right clicking on the Descendants node and Inductive Automation y ps Recipe Changeover 482 selecting the Add Recipe menu item Existing descendant recipes can be fenamed removed or etc by right clicking on the descendant recipe node and selecting the desired menu item E Recipes f Master A Master C e Line 1 M2 Descendants Recipe C1 6Pk Line 1 Name Value Units Assigned By p Line Speed 82 CPM Master C Q Capper Q Casepacker Q Checkweigher Full Recipe Editor In addition to editing recipes default values for machines production lines cells cell groups and locations can be managed as shown in the image below The Show Item Defaults property determines if the default values root item is shown in the recipe editor See Default Values for more information Default Values Lo Enterprise Site Default Area 1 Default Line 1 Default Name Value Units Assigned By Line Speed 102 CPM EnterpriselSitelArea 1 Line 1 Default alue 1 Enterprise Site Default alue 2 EnterpriselSitelArea 1 Default Default Value Editor Sub recipes can also be managed by setting both the Show Item Defaults and Show Sub Recipes properties to true See Sub Recipes for more information New sub recipes can be added by right clicking on the Sub Rec
182. SPC Quality 340 showSetLimitPanel chartName Causes the calculate and set control limit dialog to be shown parameters chartName Which chart to show the control limit dialog for Av Primary or Secondary Data Type String returns nothing 3 4 2 9 Individual and Range Chart Description The Individual Moving Range MR control chart is used to display SPC results that have a single measurement for each sample It does not retrieve SPC results from the SPC module so it must be used with either the SPC Selector or the SPC Controller components that do Only SPC results with Individual and MR SPC Data Format specified will be displayed Date and Time 05 06 2012 08 33PM 05 06 2012 08 35 PM 05 06 2012 08 37 PM 05 06 2012 08 39 PM 120 47 120 17 120 08 120 47 120 17 120 08 0 25 0 3 0 09 AT ATT OTS I 4 individual UCL 120 120 7 120 50 Pri CI y 12028 VS o EN l MAS A ne a a YT 1107 119 80 a een 4 individual LEL 118 Secondary Chart fee Bobi 0 93 Individual Moving Range Control Chart Through the use of the properties listed below the appearance and functionality of this component can modified as desired Properties This component has standard Ignition properties with the addition of the following properties Data Properties Inductive Automation SPC Results SPC Data Measurement Bind this property to the SPC Results property of he sve htro or SPC Selector components The
183. Scripting name dateFormat Data Type String Inductive Automation SPC Quality 367 Label Background The background color of the labels Label Foreground Label Font Data Background Data Foreground Data Font Calc Background Calc Foreground Calc Font Chart Properties Inductive Automation Scripting name labelBackground Data Type Color The foreground color of the labels Scripting name labelForeground Data Type Color The font to display the labels Scripting name labelFont Data Type Font The background color of the measurement data values Scripting name dataBackground Data Type Color The foreground color of the measurement data values Scripting name dataForeground Data Type Color The font to display the measurement values Scripting name dataFont Data Type Font The background color of the calculated data values Scripting name calcBackground Data Type Color The foreground color of the calculated data values Scripting name calcForeground Data Type Color The font to display the calculated values Scripting name calcFont Data Type Font Show Primary Chart Right Axis Width Limit Dialog Horizontal Offset Limit Dialog Vertical Offset Vertical Grid Line Color Show Vertical Grid Lines Horizontal Grid Line Color Show Horizontal Grid Lines Primary Chart Background Show Notes SPC li 368 If true the primary chart will appear uate Scr
184. SitelYour Area Line 1 Data Type String Sub product code to set value for or else leave blank to set the default value for the production item Data Type GEING User name for this comment Data Type String Set the recipe value to this value Data Type SEEING Optional note to be stored in the recipe change log Data Type String 4 7 1 3 revertPathDefaultValue Recipe Changeover 524 system recipe revertPathDefaultValue projectName itemPath subProductCode valueNames note Revert production item default values back to be inherited from the parent This script function can be used in gateway client scripts When called from the client omit the projectName parameter parameters projectName itemPath subProductCode valueNames note returns none The project name Only include when called from the gateway When called from the client the project is the same as current project for the client Data Type SEKING The item path to a production line cell cell group or location For example Your Enterprise Your Site Your Area Line 1 Data Type SELLOS Sub product code to revert value s for or else leave blank to revert the default value s for the production item Data Type bring One or more recipe value names separated by commas to revert Data Type String Optional note to be stored in the recipe change log Data Type String Inductive Automation 4 7 1 4 createSubProduc
185. Start Time time for the production area If DateTime Start Time the associated Shift 1 Start Time property for the area in the Read Only designer is set to Inherit From Parent this will be the time defined for the parent production site See Area Configuration for more details Shift 2 The current Shift 2 Start Time time for the production area If DateTime Start Time the associated Shift 2 Start Time property for the area in the Read Only designer is set to Inherit From Parent this will be the time defined for the parent production site See Area Configuration for more details Shift 3 The current Shift 3 Start Time time for the production area If DateTime Start Time the associated Shift 3 Start Time property for the area in the Read Only designer is set to Inherit From Parent this will be the time defined for the parent production site See Area Configuration for more details 2 5 2 5 Line Description The line folder contains some properties associated with the production line and a folder for each production cell within it The name is the same as the line name that is configured in the designer The image below represents the Line 1 of the OEEDemo project Inductive Automation Child Folders Additional Factors Downtime Reasons Workday Routine Cell hd Product OFE Downtime 166 wy roguction G OEEDemo 2 5 Your Enterprise 2 3 Your Site Workday Routine Your Area Qj Line 1 Y Additional
186. Starting with line 13 each sample row in the data set is cycled through Line 16 reads the calculated value that in this case is the xBar value Line 17 reads the average of the calculated values which in this case is the xDBar value In line 20 a test is done for the xBar value being greater than the xDBar If it is further checking is done in lines 22 through 38 If it is not then the consecutive count variable is reset and the signal state value is set to O for the sample in lines 42 and 43 Line 22 adds to the consecutive count variable before checking if the threshold of 8 has been Inductive Automation SPC Quality 269 exceeded Line 25 checks if the consecutive count threshold has been exceed If not the signal state value for the sample is set to 0 and the consecutive count variable is left at its current value Line 28 checks if the consecutive count just exceeded the threshold If it just did the signal state values for the previous 8 samples are set to 1 This flags the current sample and the previous 7 samples as out of control The else statement in line 35 is a check that occurs if more than 8 consecutive xBar values exceed the xBar value It sets the signal state value to 1 and leaves the consecutive count variable at its current value Default 8 consecutive points above control limit signal calculation script 1 8 Consecutive points above control line signal calculation 2 consecutiveCount 0 3 4 Get the SP
187. String Text to appear for the user menu item This is also used to identify the user menu item that was clicked in the userMenultemClicked event 1 String Ignition image path of the icon to display in the user menu item Events menu userMenultemClicked Is fired whenever a user menu item is selected Event Properties event getMenultem Name Returns the name of the user menu item that triggered the event Data Type String event getSelecteditemPath Returns the item path of the production item Data Type String event getSelectedRecipe Returns the name of the currently selected recipe Inductive Automation Recipe Changeover 499 Data Type String p q Methods none O Inductive Automation 4 5 4 5 1 Recipe Changeover 500 Analysis Providers Each of the MES modules depend on the core Production Module When any of the MES modules are purchased the Production Module is included at no additional cost The Production Module provides the production model functionality that is an object oriented hierarchy of production facilities It also provides analysis functionality that each specific MES module can extend The Recipe Changeover Module provides four analysis providers to analyze differences between recipes variances and change logs The image below shows the impromptu analysis screen where a Recipe C1 6Pk is being compared to its parent Master C Filters and data points can be selected using the Production Analy
188. T TI mx ihan pd a Pm Property Editor et El B Analysis Controller No Data com sepasoft productio com sepasoft productio lt No Data gt Chart Downtime pe D Cell Name Downtime Minutes lt No Date No Date Property Editor Now we will bind the date properties of the Analysis Controller component to the Date Range date properties This will allow the user to select the date range that will affect the analysis results Do so by clicking the for the Start Date property select Property binding type navigate to the Date Range component and select Start Date property as shown below Then click on the OK button FD Binding Types if 4 O Tag O Indirect Tag Property Property O Expression F Database O DB Browse O SQL Query 2 No Binding t Y Property Binding Window Root Container Analysis Controller startDate m Choose Property Window gt Y Root Container B Name String B Background Color Colon B Styles Dataset B Data Quality ind Date Range BD Name String B Bl End Date a B Outer Range Start Date Outer Range End Date B Styles Dataset i B Data Quality ini HF A Analysis Controller gf Production Bar Chart Production Line Selector Property Selector O Inductive Automation OEE D i 1 Do the same for the End Date property but select the
189. Table If true the table containing measurement and calculated values will be shown at the top of the control chart Scripting name showTable Data Type boolean Inductive Automation Min Visible SPC Quali 330 The minimum number of sample to show on the contrat chal If more S than the minimum visible samples exist in the SPC results then a a horizontal scroll bar will appear and allow the user to scroll back to ut earlier samples p es Scripting name minVisibleSamples Data Type LE Min Visible Measurements The minimum number of measurements to show in the Column Width Row Height Date Background Date Foreground Date Font Date Format table of the control chart If more than the minimum visible measurements exist in the SPC results then a vertical scroll bar will appear and allow the user to through all measurements Scripting name minVisibleMeasurements Data Type int The width of the table column for each sample The charts will be expanded to match the column width Scripting name columnWidth Data Type int The height of the table rows Scripting name rowHeight Data Type int The background color of the sample date row Scripting name dateBackground Data Type Color The foreground color of the sample date values Scripting name dateForeground Data Type color The font to display the sample date values Scripting name dateFont Data Type Font The date formatting pattern to displa
190. The background color of the calculated data values Scripting name calcBackground Data Type Color The foreground color of the calculated data values Scripting name calcForeground Data Type Color The font to display the calculated values Scripting name calcFont Data Type Font Chart Properties Show Primary Chart If true the primary chart will appear Scripting name showPrimaryChart Data Type boolean Show Secondary Chart If true the secondary chart will appear Scripting name showSecondaryChart Data Type boolean Inductive Automation Right Axis Width Limit Dialog Horizontal Offset Limit Dialog Vertical Offset Vertical Grid Line Color Show Vertical Grid Lines Horizontal Grid Line Color Show Horizontal Grid Lines Primary Chart Background Secondary Chart Background Show Notes P li 326 The width of the right chart axis in axel y Scripting name rightAxisWidth Data Type LE The horizontal or x position to display the set control limit dialog box Scripting name limitDialogHorizontalC Data Type int The vertical or y position to display the set control limit dialog box Scripting name limitDialogVerticalOf Data Type int hh The color of the chart vertical grid lines Scripting name verticalGridLineColor Data Type Color If true show the vertical grid lines in the charts Scripting name showVerticalGridLines Data Type boolean The color of the chart horiz
191. Time Shift Site Schedule Description The Schedule Analysis Provider is used to analyze scheduled versus actual production run times Provider Name Schedule Filters These are the filters that are available in the OEE Downtime and Scheduling Module However in addition to these filters additional factors may be available if they are string data type All additional factors start with Factor For example Factor Operator A filter will allow the user to see all of the data points in the analysis provider as it pertains to a specific area shift etc For more information on filters see the Filter By paragraph in the Analysis Screen section Area Enterprise Line Package Count Product Code Production Units Run Shift Site Compare By These are the comparisons that are available in the OEE Downtime and Scheduling Module However in addition to these comparisons additional factors may be available if they are string data type All additional factors start with Factor For example Factor Operator A comparison allows one data point to be compared between all areas days etc For more information on comparisons see the Compare By paragraph in the Analysis Screen section Area Enterprise Line Package Count Product Code Production Units Inductive Automation OEE Downtime 216 Site Data Points These are the data points that are available in the OEE Downtime and Scheduling Module However in
192. Timestamp 2 This property is only applicable if the File Processing Priority property is set to Date This property defines the parsing pattern to use when converting the file name to a date value when determining the processing order of the files The patterns can contain both date and time format designators Scripting name fileNameDateFormat Data Type String Example Pattern Example File Name yyyy MM dd 2012 08 15 13 10 00 csv HH mm ss yyyy 2012 July 04 txt MMMMM dd MM dd yy 10 31 12 log Letter Date or Time Component Example G Era designator AD y Year yyyy 1996 or yy 96 M Month in year Week in year 1 53 Week in month 1 5 Day in year 1 365 Day in month Day of week in month Day in week AM PM marker Hour in day 0 23 Hour in day 1 24 Hour in AM PM 0 11 Hour in AM PM 1 12 Minute in hour Second in minute Millisecond Time zone general NOoZ3Z5 gt xKA x TOMTNG OSE Time zone RFC 822 Escape for text N MMMM July MMM Jul MM 07 orM 7 27 2 DDD 065 or D 65 dd 05ord 5 2 EEEE Tuesday or EEE Tue AM HH 00 or H 0 kk 08 ork 8 KK 05orK 5 hh 01 orh 1 mm 09 orm 9 ss Olors 1 SSS 890 zzzz Pacific Standard Time or zzz PST 0800 hour h hour 9 Enable Monitoring Monitor Rate Encoding Instrument Interface Module 570 If true automatically detects and processes file s contained with the File Path property Sc
193. WorkOrder Data Type Boolean OEE Downtime 148 Inhibit Start Can be set to true to prevent a production run from being started Scripting name inhibitStart Data Type Boolean Start Set to true to start the production run for the current Schedule ID Scripting name start Data Type Boolean End Set to true to stop the current production run Scripting name end Data Type Boolean Resume Set to true to resume the current production run Scripting name resume Data Type Boolean Events This component has standard Ignition events Methods startRun Start production run parameters none returns message If successful returns true Data Type SteLag endRun End production run parameters none returns message If successful returns true Data Type SECAS O Inductive Automation OEE Downtime 149 cancelRun Cancel production run parameters none returns message If successful returns true Data Type String resumeRun Resume production run parameters none returns message If successful returns true Data Type String Example Code The following script can be entered in a button s actionPerformed event It will end the current production run See the OEEDemo project s Operator_Control window for a full implementation example value 1 event source parent getComponent Schedule Controller end valu 2 4 3 11 Time Selector JN Y Description A component that provides users h
194. a Character encoding of the data If checked clears the receive buffer before sending data If checked corrects any combination of end of line characters to carriage return CR and line feed LF If checked the port will be polled at the requested rate The rate in milliseconds to poll the port The script to run for each polled request When writing scripts you can use the event object to reference methods in the Serial Controller component that this Instrument Interface is assigned Example import time port event getSerialController port clearBuffer Instrument Interface Module 560 port writeString Ar time sleep 0 5 port writeString As time sleep 0 5 vent setReceivedData port readString Accept Unsolicited If checked the port will can accept requests without being solicited Request Inductive Automation Instrument Interface Module 561 5 4 Parse Template This page configures a parsing template of this instrument interface configuration It allows a visual way to define the individual data points to extract from the raw text returned from the instrument The text represents what is returned from a instrument and is displayed in a fixed character width Multiple parsing boxes can then be added to define areas to extract meaningful values from Project Browser a Alcolyzer Plus Port Eg Configuration L Ls Instrument Inter
195. a recipe can be changed Depending on the functionality that you are looking for recipe values can be changed using the recipe editor by importing or from script Recipe Editor The recipe editor component provides a visual and interactive method to allow end users to manage recipes It handle all of the details and is as easy as adding the component to any Ignition window It also provides the ability to manage sub product codes recipe value security master recipes and add MES production items to recipes To add a new recipe right click on the root Recipes item in the recipe editor and select Add Recipe menu item The new recipe will be added and will be ready to enter the name of the new recipe Commonly the name of the recipe will be the same as a product code but it does not have to be It can represent a mode of the machine such as Cleaning Mode Inductive Automation Recine Changeover 442 MA Recipes Master A MEN Master C E Master D A SPCProduct 1 nr SPCProduct 2 i SPCProduct 3 Timed Test he ioe P eo ae Add Recipe Type in the name of the new recipe which for this example it is My Recipe Next right click on the new My Recipe and click on the Select Production Items menu item Please note that you must first add production items in the designer before they appear as options to be added to a menu Because not all machinery is used in every recipe this step is used so that only the ma
196. a single character and have the csv file extension The file name c temp Data10 csv will not be processes but c temp Data1 csv will because the wildcard character is for a single character c temp Will process all files contained in directories below the temp directory Scripting name filePath Data Type String If the After Processing Handling property is set to Move File this is the file Directory Pathpath location to move processed files Scripting name moveToDirectoryPath Data Type String After Processing This setting of this property defines how files are handled after Handling processing them Scripting name afterProcessingHandling Data Type Integer Values Delete File 0 Move File 1 Inductive Automation File Priority File Name Date Format Inductive Automation st Int Modul This property defines the priority to process multiple He fi napp t is applicable when a single file is selected in the File Path property If Alpha Numeric is selected the files are processed in alphabetical order If Date is selected the file names are converted to date values using the pattern defined in the File Name Date Format property and then processed in chronological order If File Timestamp is selected the files are processed in chronological order of the file modified date Scripting name Data Type Values fileProcessingPriority Integer Alpha Numeric 0 Date 1 File
197. a values However what if other values outside of downtime and production values are of interest Additional factors are the solution Additional Factors are user defined data points that are logged along with the production and downtime information Once they are logged they can be shown in charts tables and reports Additionally other analyses can be done by filtering and or setting up comparisons by their values Any value that can be read from an Ignition SQLTag can be added as a additional factor This includes values derived from scripts or from barcode readers databases calculations PLCs etc Example An additional factory named cardboard manufacturer can be added The operator can select the manufacturer that provided the cardboard or it can be obtained from some other source Now OEE and downtime results can be shown for each cardboard manufacturer This can identify quality problems with raw material that directly affect efficiencies In the OEEDemo the operator is setup as an additional factor The operator s name will be logged along with the production and downtime data By doing so OEE and downtime information can be filtered and grouped by the operator name But this could just as well be the production crew supervisor maintenance crew or any other user defined value that can be monitored or entered into the system 2 9 2 Production Rate Calculation Rate per Minute The production rate per minute is calculated from t
198. ach production line within it The name is the same as the area name that Isc 378 Ohfigured in the designer The image below represents the Your Area of the QualityDemo project Child Folders Line Properties Description Enabled Name Shift 1 Start Time Shift 2 Start Time Shift 3 Start Time Production 3 OEEDemo 3 Your Enterprise Your Site 3 Workday Routine Your Area 9 Line 1 O Line 2 O Workday Routine gt Description gt Enabled gt Name gt Shift 1 Start Time gt Shift 2 Start Time gt Shift 3 Start Time Area One folder will exist for each Line that has been configured in the Ignition Designer The folder can be opened to view all values within the ine Optionally this property can be set to a description for the area It is not used by the OEE Downtime and Scheduling Module other than for reference This reflects the site Enabled property in the Designer If the area Enabled is set to true then the OEE Downtime and Scheduling module will perform calculations for the area and all lines and cell within it If this property is set to false then none of the ines or cells will have calculations performed This reflects the name of the area that is set in the designer The current Shift 1 Start Time time for the production area If the associated Shift 1 Start Time property for the area in the designer is set to Inherit From Pare
199. ad Only Int4 Read Only Inductive Automation Run Time Minutes Run Waste Count Running Schedule Rate Schedule Rate Period Scheduled Finish Time Scheduled Quantity Scheduled Run Start Time Scheduled Start Time Sequence No Shift Shift 1 Enabled Shift 1 Start Time Inductive Automation The total minutes that the production line has run for the current production run This value excludes planned and unplanned downtime See Product Waste for more details on how this value is calculated This value will be true if a production run is started and production line is running The current schedule rate based on the selected product code and line The period of time used for the scheduling rate The options are Hour and Minute The production run finish date and time as it appears on the schedule The total quantity to produce as it appears on the schedule The start date and time of the production run as it appears on the schedule The start date and time of the change over as it appears on the schedule A number that is O at the beginning of a production run and increments at the beginning of every shift The current shift based on the shift start times configured for the production line The current Shift 1 enabled state for the production line It reflects the Shift 1 Enabled property for the line in the designer The initial value of this property is determined by th
200. al This reflects the ordinal value of the shape to display in the control charts when a sample is out of control for this signal See SPCChartShapeTypes for more information int SPC Quality 376 Read Only String Read Only int Read Only int Read Only int Read Only The quality intervals folder contains a folder for each interval The name of each folder is the same as the interval name that is configured in the designer The image below represents the Every Value Change interval of the QualityDemo project Production 5 QualityDemo 5 New Enterprise Properties QualitylntervalName EY ControlLimits New Site Qualityintervals Every Value Change QualityintervalName H CN Every x Value Changes ON Manual Sam pling Intervals This reflects the name of the interval that is configured in the designer String Read Only Inductive Automation 3 5 2 3 Site Pusey AT Description The site folder contains some properties associated with the production site and a folder for each production area within it The name is the same as the site name that is configured in the designer The image below represents the Your Site of the QualityDemo project ip Production Gj OEEDemo amp Your Enterprise 5 Your Site Workday Routine CN Your Area Default Shift 1 Start Time Default Shift 2 Start Time Default Shift 3 Start Time Description Enabled N
201. alculation Method Product Waste Entries x pr m paa CZ ds mme Ca pr ef Waste Calculation Methods Waste Calculation Methods There are several ways to calculate the amount of waste coming from a production line None No waste calculation methods will be used to determine waste counts Run Waste Count Tag Waste will be calculated based on what is entered in the Run Waste Count tag This may be a unique formula used to calculate waste or a manual entry of the waste count Started vs Finished When this method is used outfeed will be compared to infeed to determine how many units were lost to waste If 1000 units enter the production line and 900 finished products exit the production line then it is assumed that 100 units were lost to waste A Waste Transit time other than 0 must be entered for the primary outfeed The Waste Transit time should be the normal amount of time a production unit takes to travel from infeed started to outfeed finished Product Waste Entries In order to calculate waste by this method one or more entries must be in the Product Waste table The waste from each entry is added together to equal the total amount of waste For example there may be two cells on the line that inspect and discard faulty products If the first cell discarded 10 units and the second cell discarded 5 units the total waste count would be 15 units Sum Product Waste From Each Cell This method will sum up eac
202. ally selected to be used by the MES modules If more than one database connection exists then the desired database connection can be selected to be used by the MES modules as shown below D ti by inductive automation Developer Mode Home Status Configure Launch Designer C7 Logged in as admin log out System MES Module Settings Runtime Datasource Console Runtime ProductionDB User Manual Database The database connection to store runtime production data Data Retention 30 Duration Number of days to retain runtime production data Analysis Datasource ProductionDB Configuration Analysi trait The database connection to store historical analysis production data to Multiple sites can be set to the Databases same analysis database to allow enterprise reporting Connections Driv Save Changes Store and Forward Inductive Automation MES Module Settings Page Recipe Changeover apt Inductive Automation Recipe Changeover 462 4 3 Configuration There are two areas to configure the Recipe module The first area is in the Ignition Gateway and affects all MES Modules The second is in the Ignition Designer and is used to configure production models user screens and the like These settings are saved in an Ignition project and can be backed up and restored using the built in project backup and restore features of Ignition 4 3 1 MES Module Configuration The Recipe module is just on
203. alues can be added to cells and can represent settings that are written to a PLC or other controller associated with a machine or be used internally in Ignition See Recipe Types for more information about recipe values and Recipe Values for more information about configuring recipe values 4 3 2 1 6 Cell Group Configuration Adding a Cell Group To add a production cell group right click on a line folder in the project browser and select the New Production Item gt New Production Cell Group menu item A cell group named New Cell Group will be added to the ine folder Multiple production cell groups can be added to a production line Renaming a Cell Group To rename it to the name representing the production cell group right click on it and select Rename then enter the new name Important Note It is extremely important to understand production OPC values have an OPC item path that matches the layout of the production model and that renaming production items can cause Ignition tags associated with a production item to stop being updated See Production OPC Server for more information Deleting a Cell Group To remove an existing production cell group right click on the cell group item and select the Delete menu item A window will appear confirming that you permanently want to delete the production cell group Please note that the cell s underneath the cell group will also be permanently removed Inductive Automation Racine Cha
204. alysis Back to Main Control Chart Menu 3 2 2 2 1 Control Charts When a sample definition is created it will appear as an option in the Stored SPC Settings selection box Stored SPC Settings D SQLTag Line 2 Checkwei Final Final Imperfections SQLTag LTest SQ LTag Level S LTag Line 1 Checkweigh SQLTag Line 2 Checkweigh Stored SPC Settings Selection Box Inductive Automation SPC Quality 242 Note When the demo is first installed there is no SPC data After it has run for 10 minutes or so the SQLTag Line 1 Checkweigher and SQLTag Line 2 Checkweigher options will have collected a sample amount of data If any samples have been entered on the sample entry screens they will appear as well After selecting one of the Stored SPC Settings options the appropriate control chart will be shown From here other options can be selected which will be discussed later on The image below labels the major parts of the control chart The Date Range Selector is used to select the date range of samples to view It defaults to the current period of time but can be used to select samples from the past The table shows the data collected and the calculated values The calculated values that are included depends on the kind of control chart being displayed When the scroll bar at the bottom of the table is moved to the left the table primary chart and secondary chart will all scroll in unison to previous samples within th
205. alysis Provider using the core analysis components but it can also be used to provide data to the Ignition Reporting Module BEE SOC Time Stamp Changed By FromValue ToValue Recipe Name Change Type Note 2013 06 19 1 admin 85 Recipe C1 6Pk Recipe value Recipe ChangeLog 7 2013 06 19 1 admin ag Recipe C1 BPk Recipe value 2013 06 17 1 admin 99 Recipe C1 6Pk Recipe value 2013 06 07 1 admin 85 Recipe C1 6Pk Recipe value AAA 2013 06 07 1 admin 85 Recipe C1 BPk Recipe value Filter By 1597 3 05 300 0 admin 125 Recipe C1 6Pk Recipe value Category 2013 05 30 0 admin 125 Recipe C1 6Pk Recipe value Recipe Value 2013 05 29 1 admin 110 Recipe C1 6Pk Recipe value Item Path 2013 05 29 1 admin 110 Recipe C1 6Pk Recipe value RecipeDemolEnterpriseiSitelArea 11Line 1 2013 05 29 1 admin 103 Recipe C1 6Pk Recipe value Recipe Name 2013 05 28 1 admin 102 103 Recipe C1 6Pk Recipe value ok Recipe C1 BPk 2013 05 22 1 admin 100 102 Recipe C1 6Pk Recipe value Another testo Compare By add 2013 05 20 0 admin 100 Recipe C1 6Pk Recipe value Import all test 1201 3 05 06 1 admin 1 Recipe C1 6Pk Recipe value Data Points add Time Stamp Changed By From Value To Value Recipe Name Change Type Note Recipe Change Log Analysis Script Script functions can also be used to read the recipe change log history This is useful if the recip
206. ame Site t it Child Folders Area One folder will exist for each area that has been configured in the Ignition Designer The folder can be opened to view all values within the area Properties Description Optionally this property can be set to a description for String the site It is not used by the OEE Downtime and Scheduling Module other than for reference Enabled This reflects the site Enabled property in the Boolean Designer If the site Enabled is set to true then the OEE Downtime and Scheduling module will perform calculations for the site and all areas lines and cells within it If this property is set to false then none of the areas lines or cells will have calculations performed Name This reflects the name of the site that is set in the String designer Read Only Default Shift 1 This reflects the site Default Shift 1 Start Time DateTime Start Time property in the Designer See Site Configuration for Read more details Only Default Shift 2 This reflects the site Default Shift 2 Start Time DateTime Start Time property in the Designer See Site Configuration for Read more details Only Default Shift 3 This reflects the site Default Shift 3 Start Time DateTime Start Time property in the Designer See Site Configuration for Read more details Only 3 5 2 4 Area Description The area folder contains some properties associated with the production area and a folder for Inductive Automation f TR SPC Quali e
207. ameters none Returns SampleDefinition new sample definition instance Scope client gateway 3 6 3 2 1 2 getSampleDefinition system quality definition getSampleDefinition by definition ID Description Returns a reference to the sample definition with a matching ID The ID is generated by the database when the sample definition was first saved Syntax Client system quality definition getSampleDefinition int sampleDefID Gateway system quality definition getSampleDefinition String projectName int sampleDefID O Inductive Automation SPC Quali 418 Parameters ty int sampleDeflD Database created ID for the sample definition String projectName Name of the Ignition SPC project Returns SampleDefinition A reference to the matching sample definition Scope client gateway system quality definition getSampleDefinition by definition name Description Returns a reference to the sample definition with a matching name Syntax Client system quality definition getSampleDefinition String sampleDefName Gateway system quality definition getSampleDefinition String projectName String sampleDefName Parameters String sampleDefName The name given to the sample definition when it was created String projectName Name of the Ignition SPC project Returns SampleDefinition A reference to the matching sample definition Scope client gateway 3 6 3 2 1 3 addSampleDefinition system quality definition addSampl
208. ample Enterprise Site Area 1 Line 1 Scripting name Data Type temPathFilter Seeing H To limit which recipe to show in the recipe editor this property can be set This provides a method to only show recipes that are of interest to the end user The wildcard characters or can also be included in the filter value Example Recipe C Scripting name Data Type recipeNameFilter String Recipe Value Name Filter Recipe Value Category Default Row Height Max Recipe Value Rows Popup Panel Font Value Table Font Value Table Header Font Recipe Changeove 86 To limit which recipe values fof the recipe to Show fh the recipe editor this property can be set This provides a method to only show recipe values that are of interest to the end user The wildcard characters or can also be included in the filter value Example Recipe C Scripting name recipeValueNameFilter Data Type String Category of recipe values to return Where 1 is recipe values created by the recipe module 2 is recipe values created by the OEE module and 3 is recipe values created by the SPC module Use blank to include all categories Scripting name recipeValueCategory Data Type SCELNG Set to the default row height of items in the recipe editor tree Scripting name defaultRowHeight Data Type Integer Set to the maximum number of rows to display in the recipe value table before scrolling Scriptin
209. an Read Only When set to true prevents the popup menu from appearing when the user right clicks on the Definition List component Scripting name readOnly Data Type boolean Activity Number of seconds to wait after user activity before automatic refresh of data There is no scripting support for this property Events This component has standard Ignition events with the addition of the following events add Is fired when Add menu item is selected The Add menu item will only appear if script has been added to this event Event Properties none edit Event Properties event getSampleDefinitionName Return the currently selected sample definition name String remove Event Properties event getSampleDefinitionName o Return the currently selected sample definition name Inductive Automation SPC Quality 280 Data String Type event setRemoveDefinition Used to tell the Definition List component to remove the boolean selected sample definition If this is not included in the remove event script with a parameter of 1 then the sample definition will have to be removed using another method event setSuppressConfirmation By including this in the remove event script with a boolean parameter of 1 the confirmation message will not be shown before removing a sample definition Including the event RemoveDefinition 0 and setSuppressConfirmation 1 script lines in the remove event will prevent default handling
210. an contain and wild card characters For example Recipe C will include all recipes that start with Recipe C Recipe C1 and Recipe C21 will be included but Recipe D1 will not setSubProductCodeFilter String subProductCode Set an optional sub product code filter The filter can contain and wild card characters setUserFilter String userName Set an optional user name filter The filter can contain and wild card characters setValueNameFilter String recipeValueName Set an optional recipe value name filter The filter can contain and wild card characters Example Collect values we want to filter by projectName system util getProjectName itemPath event source parent getComponent Production Line Selector selectedPathWithout fromDate event source parent getComponent Date Range startDate toDate event source parent getComponent Date Range endDate Build the filters object filters system recipe filter changelog createNew filters setProjectName projectName filters addCategory Recipe filters setItemPathFilter itemPath Inductive Automation Recipe Changeover 548 filters setFromDate fromDate filters setToDate toDate Request the change log for the given filters ds system recipe getChangelogHistory filters event source parent getComponent Table data ds 4 7 3 2 VarianceFilters A VarianceFilters object is used when requesting variances with the getRecipeVariances scrip
211. an enter notes for each downtime entry in the table Scripting name enableNotes Data Type Boolean Activity Timeout Indicates the number of seconds the table will freeze after any user activity such as scrolling is performed on the table Keeps the table from immediately jumping to a new event until the timeout is reached Scripting name activityTimeout Data Type Integer Inductive Automation Reason Selection Method Run ID Controls the ability to select reasons front 6h t an de originating cell Scripting name cellSelectionType Data Type Integer Values Original Cell 0 Any Cell 1 Enter the run id when the downtime table is used to view previous runs 1 indicates the current run Normally is linked to the Line Run Selector component to get a previous run id Note When set to a value other than 1 the table will not be notified of new events even if the runid is set to the current run id Scripting name runid Data Type Integers Reason Tree Expand subWhen true sub reasons will be automatically expanded under the reasons current reason when displaying the selection panel Reason Tree Width Reason Tree Height Scripting name autoExpandSubReasons Data Type Boolean The width of the pop up reason tree panel Scripting name reasonTreeWidth Data Type Integer The height of the pop up reason tree panel Scripting name reasonTreeHeight Data Type Integer Reason Tree Row Height Con
212. and past production run information down to the minute for the past 30 days Analysis Database The analysis database is where summarized production and downtime data is saved For single production site installations this can be the set to the same database as the runtime database For multi production site installations all sites must set the analysis database to the same database to allow for enterprise analysis and reporting Analysis Database Auxiliary The MES Modules will mirror the historical analysis data that is written to the local analysis database to this database For single site implementations set this to none For multi site implementations set this to the datasource for the common remote enterprise database Analysis Query Cache Duration This setting represents the number of seconds to cache analysis results Production Model Configuration A production model defines your manufacturing or process in tree view form It provides an organized way to easily configure control and analyze your facility It starts with your enterprise which represents your company and continues down to the site physical location area line and cells Inductive Automation OEE Downtime 55 2 3 2 1 Production Model The production model is configured within the Ignition designer and is accessed by selecting the Production folder in the project browser From here your enterprise site area s line s and cell s can be added
213. and the number of minutes of down time caused by each of the given reasons It is possible to Zoom in on any of the graphs by clicking and dragging over the desired area or by right clicking and selecting Zoom In To restore the previous view you can right click and select Zoom Out or Reset Axes Auto Range can also be used to see more of the graph Ignition MES Software Operator Analysis Report Schedule Product Code Work Order Line Charts Production Run lt Current Run gt E 14 y Actua vs Ta y c 4 St 1 hl man Hourly Actua Target Ey Efficiencye Brewing and Bottling so 7 40 5 m c Line 2 30 2 60 5 20 E o 2 Line 1 x 5 2 H o o v2 a0 6 2 0110 0 1 2 2 4 6 4 7 9 Actual ys Standard Hourly Accum Waste 400 IE e 300 e 2 2 200 E 0 0000000 o 100 4 oi lt r 2PM 4PM OPM SPM 012345676809 Mar 13 2011 Top Down Time Reasons Minutes o 5 10 15 20 25 30 35 40 45 0 5 O Palletizer Machine Fault FilerMachine Faut ME Inspection Setup FillerScate taut J PalletizesWiapper teed empty En Sample Line Charts Screen Analysis Screen The analysis screen allows for ad hoc analysis of production data OEE TEEP downtime production and even user defined data can be viewed across a date range This data can also be filtered to only include specific criteria Additionally comparisons can be made between different factors For example downtime by operator can be analyzed o
214. anel Causes the calculate and set control limit dialog to be shown parameters None Inductive Automation SPC li 318 returns nothing ES 3 4 2 5 Pareto Chart 3 Una Description The Pareto chart is used to display which nonconforming items or nonconformities are the largest issue It does not retrieve SPC results from the SPC module so it must be used with either the SPC Selector or the SPC Controller components that do Only SPC results with Pareto SPC Data Format specified will be displayed 60 100 50 80 60 Count 40 15 20 0 Speck Scratch Hole Discoloration Incorrect Size Broken Mount Attribute Pareto Chart Through the use of the properties listed below the appearance and functionality of this component can modified as desired Properties This component has standard Ignition properties with the addition of the following properties Data Properties SPC Results Bind this property to the SPC Results property of the SPC Controller or SPC Selector components Ther SPC Results contain all the information so that the control charts can display the results which is not possible with the data set alone Scripting name spcResults Data Type SPCResults SPC Data This property holds the SPC data and includes columns for the calculated values based on the SPC Data Format and selected attribute control limits and signals Scripting name spcData Data Type Dataset
215. ard Ignition properties with the addition of the following properties Selected Interval The name ofthe currently selected interval Scripting name selectedInterval Data Type Stering Events This component has standard Ignition events none Methods none 3 4 1 8 Datatype Selector Description A component that allows selection of sample attribute data types The data types are built into Inductive Automation SPC li 290 the SPC module and cannot be added to or changed as There is no need for SQL queries or scripting to display the data types Select One gt a Nonconforming Count Nonconformity Count Data Type Selector The following table describes each data type Data Type Description Range Integer Positive and negative numbers without decimal points 2 147 483 648 to and fractional digits 2 147 483 647 Real Numbers including decimal points and fractional 1 40129846432481707e digits 45 to 3 40282346638528860e 3 8 positive or negative Boolean True or false True or false Inspected Count A count of inspected units in an integer format This is up to 2 147 483 647 used for attribute types of sample definitions Nonconforming Count A count of nonconforming defective units in an up to 2 147 483 647 integer format This is used for attribute types of sample definitions Nonconformity Count A count of nonconformities defects in an integer up to 2 147 483 647 format This is used for
216. are stored in the Schedule database table and this control handles all SQL statements duplicate checking etc This component has built in functionality to calculate finish date and time of work order type of schedule entries based on the start date and time product code change over time quantity and configured workday routine breaks Alternatively schedule entries can added directly into the Schedule database table directly bypassing the OEE Downtime and Scheduling Module This method supports integration to ERP or other software systems The properties are provided so that after the Schedule ID property is set selection components can be bound to them to display their current values The methods are provided to perform adding editing and deleting of schedule entries O Inductive Automation Properties OEE Downtime 147 This component has standard Ignition properties with the addition of the following properties Line Path Running Production Enabled Can Start Started Can End Can Resume Can Change Schedule The line path of the production line that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your ArealLine 1 Scripting name linePath Data Type Ser ng The current running read only state of the production line The production line is considered running if a production run is started and the lin
217. ariances in real time for a production run If the production run has stopped it will return the variances as long as a new recipe has not been selected for the production item Q DATE_RANGE to return variances for the date range specified with the Start Date and End Date properties Scripting name displayVarianceScope Data Type VarianceScopeType 4 4 4 Start Date End Date Data Events none Methods none Recipe Selector Combo El Description RCIP pe chan aoar 496 Starting date of any entries in the recipe change log to include The Display Variance Scope property must be set to DATE_RANGE Scripting name startDate Data Type Date Ending date of any entries in the recipe change log to include The Display Variance Scope property must be set to DATE_RANGE Scripting name endDate Data Type Date Recipe value variances data that can be bound to or used in script Scripting name date Data Type Dataset A component that is added to Ignition windows to select recipes in a drop down list This is just one method of selecting a recipe for a production line cell cell group or location For more information on the other methods see the Selecting Recipes section The Recipe Selector Combo component is automatically updated when recipes are added removed etc Properties This component has standard Ignition properties with the addition of the following properties Item Path This is a required property
218. art is used to display SPC results that have nonconforming counts for each sample It does not retrieve SPC results from the SPC module so it must be used with either the SPC Selector or the SPC Controller components that do Only SPC results with np chart SPC Data Format specified will be displayed Date and Time 04 12 2012 04 36PM 04 12 201204 43PM 04 12 201204 44PM 04 23 2012 08 35 AM A eae A np UCL 15 9 da 10 8 gt gt T NP Control Chart Through the use of the properties listed below the appearance and functionality of this component can modified as desired Properties This component has standard Ignition properties with the addition of the following properties Data Properties O Inductive Automation SPC Results SPC Data Measurement Bind this property to the SPC Results property of he sve htro or SPC Selector components Ther SPC Results contain all the information so that the control charts can display the results which is not possible with the data set alone Scripting name spcResults Data Type SPCResults This property holds the SPC data and includes columns for the calculated values based on the SPC Data Format and selected attribute control limits and signals Scripting name spcData Data Type Dataset This property represents the number of measurements for each sample C in the SPC results o u nt User Scripting name measurementCount Data Type TAC This pro
219. ashboard The executive dashboard provides a high level view of OEE downtime and production information 2 2 3 1 Area Summary The Dashboard Area Summary shows OEE Downtime and Production and Waste Count comparisons between different areas through various graphs The slide at the bottom of the page causes the date to be changed allowing the user to select a specific day or time or a broad range of dates to view These graphs may also be saved or printed by right clicking on the desired graph O Inductive Automation OFF Nawntime 28 Area Summary OEE by Are Production by Area an pa e Pare Due 00t5 7 2081 assi ANT 5688 8 E E Packaging Line Progucsen Court Pr a TT TT so we 300 we sw ns i mo i 0 El i i SE an aie iia SE in Date 001 57 2011 Povhepes mts og 88 amp 8 Packaging Line Waste Court Processing Line Waste Count Devens var m Occwrencet Ver Bo Area Summary Screen Line Graph Settings There are many settings for lines graphs which can be adjusted by right clicking on a line graph These options can be used to improve graphs and select specific areas to save and print Mode Zoom Allows the user to click and drag over the specific area of the graph that he or she wants to enlarge Pan Allows the user to click and drag to move to a different area of the graph Mark Gives the domain and ra
220. at is originally included The SPC module sits on top of the Ignition platform which allows for configuring it to accommodate the desired functionality 3 1 1 SPC Charts Here is a brief overview of the control charts in the Quality modules The control charts can be separated into three groups value charts attribute charts and analysis charts On all charts it is possible to add assignable causes and notes to explain a data point A sample note can be entered on the Lab or Test Stations page when the sample is first entered This can be done by selecting a sample then clicking Add Note An attribute note is added directly from an SPC chart by right clicking on a data point and selecting Set Note from the drop down list In addition to attribute notes an assignable cause can also be added in this way Assignable causes can also be saved for future use Out of Control Signals and Control Limits can also be added to the graphs Value Charts X Bar Range Chart The X Bar Range Chart is used when there are multiple measurements taken in one sample For example if the pH is taken for five different pieces of product the five different measurements will show up in the X Bar Range table If all of these values are added together and then divided by the number of measurements taken it will equal the average value or x bar This is what is graphed on the X Bar chart When the lowest value is subtracted from the highest value this equals the range w
221. ata OMANI Oo O1 amp WBN HE Get the columnn indexes within the SPC data xBarColNdx ds getColumniIndex XBar rangeColNdx ds getColumniIndex Range Initialize xBar and range sums that are need to calculate average xBar and range xBarSum 0 0 rSum 0 0 0 I Oo O1 amp N RO Cycle through each row and add to the sums for row in range ds rowCount xBarSum xBarSum ds getValueAt row xBarColNdx rSum rSum ds getValueAt row rangeColNdx N N NN w N OH Lo Calculate the average xBar and range xDBar xBarSum ds rowCount rBar rSum ds rowCount N N NM NY NYO OS Get the sample size sampleSize event getSampleSize WN NM oO 00 Lookup the A2 value if sampleSize lt len a2 a2Value a2 sampleSize WW Ww WN EF else Ww wd a2Value a2 len a2 1 w w o yu Calculate the xBar UCL ucl xDBar a2Value rBar WW Ww LO OO N Return the new xBar UCL back to the SPC module event setControlLimitValue ucl A o Looking at the default control limit calculations along with the Scripting section of this manual O Inductive Automation 0 266 SPC i 265 and the Scripting section in the Ignition manual is the best method to Ram athe possibilities of calculating control limits 3 3 3 4 Edit Control Limits To edit a control limit right click the Control Limits table and select Edit from the drop down menu A window will appear identical to the wi
222. ata Type Boolean Events This component has standard Ignition events Methods none Work Order Controller gt x Description An invisible component that provides adding editing and deleting work orders The term invisible component means that the control appears during design time but is not visible during runtime Work orders are stored in the WorkOrder database table and this control handles all SQL statements duplicate checking etc Alternatively work orders can added directly into the WorkOrder database table directly bypassing the OEE Downtime and Scheduling Module This method supports integration to ERP or other software systems Properties This component has standard Ignition properties Inductive Automation OEE Downtime 133 Events This component has standard Ignition events Methods addWorkOrderEntry workOrder productCode quantity Add new work order parameters workOrder The work order number to add to the database Data Type String productCode The product code to produce for work order being added Data Type String quantity The quantity of units to produce for work order being added Data Type Integer message Contains a description of any error encountered otherwise it will be empty Data Type SLT ng editWorkOrderEntry workOrder productCode quantity workOrderID Edit an existing work order Inductive Automation workOrder productCode quantity
223. ate 3600 0 3600 0 RA A A ee a APA E ee ee Product Code Properties Table The Value column will indicate the property setting value and allow editing the of value for the specified line The default value is for reference and is not editable The values are saved in the ProductCodeLineProperty database table This component usually works in conjunction with the Product Code Table and Product Code Line Table components Refer to the OEEDemo project for a complete example Properties This component has standard Ignition properties with the addition of the following properties Product Code Line ID The product ine ID This is the ID for the ProductCodeLine database table Normally this is bound to the Product Code Line Table Selected Product Code Line ID Scripting name productCodeLinelID Data Type SE LAG Events This component has standard Ignition events Methods none Production Comments Panel E e Description A component that allows comments notes to be entered for the current production run This component is similar to the Ignition Comments Panel component but eliminates the need for SQL statements or scripting It ties comments to the production run that the production line is currently running O Inductive Automation OFF Nawntime QR db Add Note adminuser Feb 23 11 11 23 AM delete funstick adminuser Filler infeed jammed up with product surge Feb 23 11 11 28 AM ESA
224. atic signal evaluation There is no need for SQL queries or scripting to display control limits If the Definition List component is on the same screen the Definition Control Limit List will find the Definition List component and register as a listener Anytime the sample definition changes or the users selects a different sample definition the Definition Control Limit List will be updated automatically HOO OO 0 Sample Definition Control Limit List Properties This component has standard Ignition properties none Inductive Automation 3 4 1 5 SPC Quality 286 Events This component has standard Ignition events none Methods none Definition Signals List A Description A component that provides a list of signals rules to apply to a sample definition All signals that are configured in the project will appear in the list and can be selected by the user Signals that are selected by the user will be available to show on control charts and will be automatically evaluated when new samples are added There is no need for SQL queries or scripting to display signals If the Definition List component is on the same screen the Definition Signals List will find the Definition List component and register as a listener Anytime the sample definition changes or the users selects a different sample definition the Definition Signals List will be updated automatically Name Enable Individual Ou
225. ation properties e getRecipeValueName String Returns the name of the recipe value This is the same name entered in the recipe value entry in the designer e getTagPath String Returns the Ignition tag path assigned to the recipe value This is the tag path entered for the recipe value e hasHighVarianceThresholdStatement Boolean Returns True if a high variance threshold statement was entered for the recipe value e getHighVarianceThresholdStatement String Returns the high variance threshold statement that was entered for the recipe value entry e getHighVarianceThresholdValue String Returns the high variance threshold value This is calculated after the tag value change is detected and is used for default handling for the log variance state It is Inductive Automation f Recipe Changeover 552 provided here as a convenience hasLowVarianceThresholdStatement Boolean Returns True if a low variance threshold statement was entered for the recipe value getLowVarianceThresholdStatement String Returns the low variance threshold statement that was entered for the recipe value entry getLowVarianceThresholdValue String Returns the low variance threshold value This is calculated after the tag value change is detected and is used for default handling for the log variance state It is provided here as a convenience hasPrevious Value Boolean Returns True if a previous value has been recorded
226. ation SPC Quali 403 Adds a new attribute defined in the attribute parameter Any error me sages are returned otherwise an empty string is returned removeAttribute SampleDefinitionAttribute attribute String Removes the attribute defined in the attribute parameter Instead of attributes being permanently removed thier enabled flag is set to false Any error messages are returned otherwise an empty string is returned removeAttribute int index String Removes the attribute defined in the index parameter Instead of attributes being permanently removed thier enabled flag is set to false Any error messages are returned otherwise an empty string is returned removeAttribute String name String Removes the attribute defined in the name parameter Instead of attributes being permanently removed thier enabled flag is set to false Any error messages are returned otherwise an empty string is returned e clearAttributes All attributes contained in this sample definition are removed Instead of the attributes being permanently removed thier enabled flag is set to false getAttribute String name SampleDefinitionAttribute Returns the attribute with the same name as the name parameter getAllAttribute List lt SampleDefinitionAttribute gt Returns a list of all attributes associated with this sample definition This function will return enabled and disabled attributes getEnabledAttributes List lt SampleDefinitionAt
227. attribute types of sample definitions Properties This component has standard Ignition properties with the addition of the following properties Selected Data The currently selected data type D D lt lt 4 Scripting name selectedDataType Data Type AttributeDataType Events This component has standard Ignition events none Inductive Automation SPC li 291 Methods eee none 3 4 1 9 Definition Selector CA gt Description A component that allows selection of sample definitions One source of sample definitions is from the definition management screen that uses the Definition List component There is no need for SQL queries or scripting to display the data types Select One gt a Final Final Imperfections pH2 SQLTag Density SGLTag Level SGLTag Line 1 Checkweigher SQLTag Temp Sample Definition Selector When an allowable location is added to a sample definition a tag value can be set This component can limit the sample definitions that appear by entering in a matching tag values It is typically used for defining who has ownership for collecting sample data For example the lab takes samples at packaging line 1 every 2 hours The operator also takes samples at packaging line 1 every 1 hour When the lab takes a sample they don t want to see information that the operator has ownership for and visa versa To accomplish this set the tag value to Lab for sample d
228. ays be the same which simplifies reports Only one of the valid options are required Q Number Suffix Q Recipe Name Prefix Default Example when using it with the Analysis Controller Column Naming Number Suffix Recipe Name This is a filter to limit the recipe s to include in the results Example when using it with the Analysis Controller Recipe Name Recipe A Recipe Name Recipe B Recipe Value Name This is a filter to limit the recipe value s to include in the results Example when using it with the Analysis Controller Recipe Value Name Line Speed Recipe Value Name Force Value Types This is a filter to specify the type of recipe values to include Only one of the valid options are required Q Equal Values Include only recipe values that match between two or more recipes Q Not Equal Values Include only recipe values that do not match between two or more recipes Q All Values Default Include both values that do not match and do match between two or more recipes Example when using it with the Analysis Controller Value Types Not Equal Values Compare By The recipe analysis provider does not allow any comparison statements Data Points The recipe analysis provider can accept the following data points Assigned By This is the recipe or production item that assigned the recipe value based on inheritance Inductive Automation Data Type Description Format Recipe Name Units ipe Ch 503
229. b Recipe Name Filter Show Full Details Display Variance Type Display Variance Scope Inductive Automation ene IC pose To limit which recipe values to show in the Variances 4 is property can be set This provides a method to only show recipe values that are of interest to the end user The wildcard characters or can also be included in the filter value Scripting name valueNameFilter Data Type SLELOS To limit which sub recipes to show in the variances this property can be set This provides a method to only show sub product codes that are of interest to the end user The wildcard characters or can also be included in the filter value Scripting name subRecipeNameFilter Data Type St Las If true show recipe values when the recipe was first selected Scripting name showFullDetails Data Type Boolean Set the variance types to include in the results Valid values are Q RECIPE to return variances that occurred while a production item was selected to a recipe Q SUB_RECIPE to return variances that occurred while a sub product code was selected for a production item See Sub Recipes for more information Scripting name showdefaultValueChange Ss Data Type VarianceEntryTypes Set the variance scope to include in the results Valid values are Q LAST to return variances that occurred for the current or last recipe that a production item was set This is useful for detecting any v
230. background color of the labels Label Foreground Label Font Data Background Data Foreground Data Font Calc Background Calc Foreground Inductive Automation Scripting name labelBackground Data Type Color The foreground color of the labels Scripting name labelForeground Data Type Color The font to display the labels Scripting name labelFont Data Type ESE The background color of the measurement data values Scripting name dataBackground Data Type Color The foreground color of the measurement data values Scripting name dataForeground Data Type Color The font to display the measurement values Scripting name dataFont Data Type Font The background color of the calculated data values Scripting name calcBackground Data Type Color The foreground color of the calculated data values Scripting name calcForeground Data Type Color 5 SPC Quali 344 Calc Font The font to display the calculated values al Scripting name calcFont Data Type Font Chart Properties Show Primary If true the primary chart will appear Scripting name showPrimaryChart Data Type boolean Show Secondary Chart If true the secondary chart will appear Scripting name showSecondaryChart Data Type boolean Right Axis Width The width of the right chart axis in pixels Scripting name rightAxisWidth Limit Dialog Horizontal Offset Limit Dialog Vertical Offset Data Type int limit dialog box The horiz
231. be changed locally Settings can also be changed from other sources besides the local OIT and it is important to detect and log when any setting varies from the recipe value Recipe a A E N AA r A Variance Database Detected DN Ignition Tags Line Speed Fill Weight Variance Report Max Fill Level Min Fill Level Barcode PLC i Line Speed Fill Weight Max Fill Level Min Fill Level Recipe Variance Detection Recipe Value Variance Options There are cases where it is normal for a live production value to vary after the initial recipe value has been written to the Ignition tag In other cases it might be okay for the live production value to change within a range Recipe values in the Recipe Changeover Module can be configured to not monitor variances or to have a variance window that the live production value must fall outside of before the variance is logged By default the variance monitoring is enabled for each recipe value but it can be disabled by recipe value in the designer This allows for a mix of recipe values that variances will be monitored and other that will not to prevent irrelevant variances from being logged The configuration for the variance window is also done by recipe value in the designer Both Inductive Automation Recipe Changeover the upper and lower variance thresholds can be defined by percentage of re e recipe value ora fixed offset arou
232. be configured with product outfeed and infeeds This will enable OEE Inductive Automation OEE Downtime 45 data to be calculated for each cell as well as the production line Z Edit Product Infeed x Name Line Infeed Count SQLTag Line 1 PLCiFiller infeed is Max Raw Count 32768 Productions Units Bottles Product Infeed Settings The Count SQL Tag property is set to the Ignition SQLTag that will provide infeed production counts This is typically from a PLC but can be from a barcode scanner database or other source The programming required in the PLC is simplified greatly because no handshaking or start of resets are required In the PLC the counter can simply rollover from the maximum value of a counter back to O and continue counting The OEE module tracks the production count at the start of the run and all rollovers This tracking is even maintained during power outages Downtime Settings The OEE Downtime and Scheduling module uses a single numeric value typically read from a PLC to determine the current state This applies to both a production line or production cells of a line If the state value is 0 it is considered that the ine or cell is idle and if it is 1 it is considered the line or cell is running State values 2 on up typically to 32767 are user defined and can be automatically detected or can tied to a operator selectable downtime reason Below
233. be refreshed parameters none returns nothing 3 4 1 2 Definition Attribute List E Description A component that provides a list of measurement attributes associated with a sample definition There is no need for SQL queries or scripting to display sample definition attributes If the Definition List component is on the same screen the Definition Attribute List will find the Definition List component and register as a listener Anytime the sample definition changes or the users selects a different sample definition the Definition Attribute List the attributes will be updated automatically Name Description Data Type Enabled Required Total Inspected Inspected Count M M Speck Nonconforming Co M M Scratch Nonconforming Co M M Hole Nonconforming Co M M Discoloration Nonconforming Co w M Unam Dixa cal Cal AAA Oa Sample Definition Attribute List The Ignition table customizer is used to change the appearance of the table To access the customizer right click on the Definition Attribute List component and select the Cutomizers gt Table Customizer menu item Using the customizer you can hide columns change colors and change formatting to make the Definition Attribute List appear as desired O Inductive Automation PC Quality 282 When the Read Only property is set to false the Move Up and Move Bown menu items will appear in the popup menu This allows the user to change the or
234. be updated until after the sample is updated Instead use get the sample from current event object and set the product code directly in the sample Syntax Client setLocationProductCode String locationPath String productCode String refNo Gateway setLocationProductCode String projectName String locationPath String productCode String refNo Parameters String locationPath The full path of the location to set the product code String productCode The new product code String refNo Optional reference number String projectName Name of the Ignition SPC project Returns none Scope client gateway Inductive Automation SPC Quality 417 Example This is a sample gateway script to change a location s product code based on a SQLTag value pc system tag getTagValue Default Quality Test ProductCodeTest if pe system production utils cancellocationProductCode QualityDemo QualityDemo New Enterprise New Site Packaging Line 1 Line 1 Quality else system production utils setLocationProductCode QualityDemo QualityDemo New Enterprise New Site Packaging Line 1 Line 1 Quality pc 3 6 3 2 sample quality 3 6 3 2 1 sample quality definition 3 6 3 2 1 1 getNew system quality definition getNew Description Creates and returns a new instance of a SampleDefinition object Syntax Client system quality definition getNew Gateway system quality definition getNew Par
235. ble Sc Enable Var Low Varian High Varia Evaluate Y Line Speed Descriptio RecipessSit false true Value 1 false false Value 2 false false ne 7 pa n sim D Sub Recipe Mask Setting 4 3 4 Recipe Values Recipe values are defined by production item Each machine process or other equipment will have settings that are unique For example a casepacker will not have the same settings as a mixer so this is why recipe values are defined by production line cell cell group or location Inductive Automation Recipe Changeover 475 See Recipe Types for more information on how recipe values work The following sections detail how to add edit delete export and import recipe values for a production item 4 3 4 1 Adding a Recipe Value There is more than one method to add recipe values to a production line cell machine cell group or location Create Recipe Value To create a new recipe value for a production line cell cell group or location first select the production item Next select the Recipe tab and right click in the recipe value table A popup menu will appear as shown in the image below RS EST CT SL General Downtime Schedule Recipe 1 Sub Recipe Mask i Recipe Value y ce New h Y Edit ye Cut Ctrl gt D copy ctn IA Paste Ctrl Delete Delete 3 Delete All Y Import E Export Recipe Value Table Popup Menu Select the New menu it
236. but user usability will be hindered if too many are added This is because the additional factors are added to user menus and if too many are added the menus can become too long and confuse the end user The name given to an additional factor should be meaningful to the end user Again this is O Inductive Automation si QEF Downtime 64 because additional factors appear in menus allowing the end user to filter and group analysis and report data by them Factor Description The optional description is just for reference or to keep internal notes about the additional factor Factor SQLTag The required SQLTag is the source of the data value that will be logged It is an Ignition SQLTag and the values can come from a PLC a database query other device in the field such as a barcode reader expression user input or script This opens the door to mesh any type of outside data into the MES module analysis and reporting Any type format of data that can be stored in an SQLTag can be logged If SQLTag value is a string then the end user can filter and group by the additional factor If the SQLTag is a number the option to filter and group by the additional factor will not be shown to the end user The SQLTag can be manually typed or pasted into the Factor SQLTag edit box Optionally clicking on the D icon will display a browser where a SQLTag can be selected Editing an Additional Factor To edit an existing additional factor right
237. bute is disabled it will not appear during sample entry Based on the value of the included disabled attributes property on the SPC Selector component disabled attributes will not show on the control charts e setEnabled boolean enabled Sets sample definition enabled state e getRequired boolean Returns true if this attribute is required while entering samples If an attribute is required a value must be entered before the sample will be saved e setRequired boolean enabled Sets this attribute required state If an attribute is required a value must be entered before the sample will be saved e getDatatype AttributeDataType Returns the attribute data type for this attribute See Attribute Data Type for more information e setDatatype AttributeDataType dataType Sets this attribute s data type See Attribute Data Type for more information Inductive Automation Inductive Automation SPC Quality 407 getFormat String Returns the format for this attribute The format is used to verify formatting values on the control charts and that entered data is correctly formatted See Attribute Data Type for more information setFormat String format Sets this attribute s format The format is used to verify formatting values on the control charts and that entered data is correctly formatted Format strings consist of one or more of the characters shown in the table below For example the format string 0 will roun
238. c collection of measurements and creation of samples Additionally any tags associated with this property can be changed to start and stop automatic collection See Quality OPC Values for more information Name This is the required unique name of the Tag Sample Collector as it will appear with SQLTag pre pended to it in selection lists Behind the scenes a sample definition is created using this sample name Sample definitions created for the purpose of Tag Sample Collectors will not appear in the definition management and manual sample entry client screens SQLTag Path This is the SQLTag path from which measurement values will be read Interval Type The interval options that can be selected here match those defined in the Intervals list on the Enterprise quality tab Only intervals that have script will be included as options for Tag Sample Collectors The reason for this is that manual intervals which are the those without script will never be created and do not apply to automatic collection of measurements Inductive Automation 3 3 6 3 3 3 6 4 3 3 6 5 SPC Quality 276 Interval The interval to collect data and create new samples The units of this interval are defined by the interval type and can be minutes days every x value read etc Control Limits The control limits that are checked will be calculated for this Tag Sample Collector during signal evaluations Available control limit options are defined in the Contro
239. cal or logical production area within your production site Some examples of production areas are packaging cracking filtration fabrication etc Renaming an Area To rename it to the name representing the production area right click on it and select Rename then enter the new name Inductive Automation Recipe Changeover 468 Important Note It is extremely important to understand production OPC values have an OPC item path that matches the layout of the production model and that renaming production items can cause Ignition tags associated with a production item to stop being updated See Production OPC Server for more information Deleting an Area To remove an existing production area right click on the area item and select the Delete menu item A window will appear confirming that you permanently want to delete the production area Please note that the ine s cell s cell group s and location s underneath the area will also be permanently removed Project Browser dd x F Lg Configuration aa Production B Your Enterprise Your Sit New Area Area General Settings These settings are accessed by selecting the desired area item contained in the site folder in the project browser and then selecting the General tab Enabled By default added areas are enabled It can be disabled by un checking the Enabled setting and saving the project This will stop the MES modules from executing the area and all
240. can come from a variety of sources including any OPC connected device values from external databases manual entries etc Any samples that are automatically created and recorded by a Tag Sample Collector are automatically approved and will appear in the control charts By setting the Auto Refresh property of either the SPC Selector or SPC Controller components new samples will appear in the control charts in real time as they are created In addition the appropriate events found on the Advanced tab for the production location will be executed Tag Sample Collectors can be added edited or deleted on the Location page of the designer under the Quality tab 3 3 6 2 Add Sample Collectors To add a Tag Sample Collector right click the Tag Sample Collector table and select New from the drop down menu A window will appear with several fields to be completed including the name of the tag sample collector as well as the tag path and other properties required Inductive Automation Y Edit Tag Sample Collectors Enabled M Name Tag Path QualityPackaging Line 1 Checkweighenweight J Interval Type Every x value Changes gt Interval Control Limits Signals Individual Outside Out of Limits Outside Limits Bar 8 Above Control Line Bar 8 Below Control Line ox Add SQL Tag Sample Collector Enabled Tag Sample Collectors enabled property provides a method of stopping the automati
241. cation that samples for a sample definition can be taken from When using the term Location within the SPC module it refers to a virtual location where actual samples are taken For example if a sample bottle is taken from packaging line 1 and is tested in the lab for color then the location is packaging line 1 In addition the the lab taking samples from this location the operator can take samples to test labels The tag property is used to define the ownership of who is responsible to take a sample properties e getID int Returns the database created ID for this sample definition location Note this is not the same as the production location ID e getNew int locationID String name SampleDefinitionLocation Returns a new sample definition location instance for the production location Inductive Automation Inductive Automation ds SPC lity _ 409 specified by the locationID parameter The new instance names Spacified by the name parameter e getLocationiD int Returns the database created ID for the production location that this sample definition location is associated with Note this is the same as the production location ID e getParent SampleDefinition Returns the sample definition that this location is a child of e getName String name Returns the name of the production location associated with this sample definition location This name also appears as the name for this sample definition location
242. ce the Analysis Controller datapoint called Shift Date Data Type Date The run factor to adjust The possible values are Infeed ProductionCount or WasteCount Data Type String The value to set the factor to NOTE PRODUCTION DA BE MODIFIED AND CANNOT BE UNDONE USE WITH EXTREME CAUTION Data Type Double If set to 1 True the InfeedCount will always be modified False the InfeedCount will not be modified if Production or WasteCount are being adjusted If this parameter is ol the default is 1 True Data Type Boolean Inductive Automation OEE Downtime 194 system production cancelRun projectName linePath Cancel the current run for a line This is only valid if the production run is currently in the changeover period parameters projectName linePath returns successful The project name that contains the specified line path Data Type String The line path of the production line that this component is associated with This is the full path name of the line starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Data Type String Returns true if the production run successfully has been canceled Data Type Boolean system production endRun projectName linePath End the current run for a line This is only valid if the line is currently in a production run After a production run has been ended it can restarted using the resume script fun
243. ced under an area or a line Cell Group A cell group contains two or more cells Typically these cells occur at the same time in the sequence of the line instead of one after another causing the cell group to act as a single sub process or step within the production Cell The cell is a single machine sub process or step required in the manufacturing of a product Cells are used for tracking OEE and downtime but can also have recipe values added to them and can be used for track and trace The product may be a hard product such as used in packaging liquid powder etc Packaging machines are a common example but a cell applies to processes also Recipe Value Propagation Recipe values that are added to a production item are propagated down to the child production items For example if LineSpeed recipe value is added to a production line then all cells cell groups and locations that are children of the production line will also have the LineSpeed recipe value The Ignition tag associated with the recipe value is not propagated to the child recipe value O Inductive Automation Racine Channenver 4236 Project Browser og x E P Line 1 Lg Configuration 4 _ 4 Instrument Interface Line Production Item ig a3 Production gt gt 15 Enterse General OEE Downtime Schedule Quality Recipe Advanced A Site Sub Recipe Mask 4 2 Area 1 LE T
244. changed using the designer or additional ownership tags can be added The following screen shows the entering of measurements for a value based sample In this case viscosity and temperature values Users also have the ability to enter a product code and reference number located in the upper right hand corner These can be used when Inductive Automation SPC Quali 239 viewing the samples in the control charts or for analysis beyond control charis Y Because multiple measurements are being entered for each attribute the attributes appear horizontally and the measurements vertically If the sample definition only calls for one measurement then the attributes will appear vertically Rose Product Code 9072953 Sample Type Reference No Soutn 9912 Measurement Viscosity Temperature Value Sample Entry Below represents entering data for a attribute based sample Inductive Automation Sample Type Product Code Attribute Value Total Inspected Speck C Scratch C Hole C Discoloration C Incorrect Size E Broken Mount E Attribute Sample Entry 3 2 2 2 SPC Control Charts This is the SPC Control Chart Menu Here the user can click on the menu item to select the corresponding control chart or click on the Back to Main to return back to the main demo menu O Inductive Automation SPC Quality 241 Puzzle Works Inc XBar Range Individual Median XBar S P NP c U Histogram Pareto Impromptu An
245. chart this chart should be used when the data is variable In addition data may also be costly or time consuming to gather or remain constant for a long periods of time This chart should also be used when the data will not be normally distributed or when detecting small process changes X Bar Standard Deviation Chart This chart is very similar to the X Bar Range Chart The major difference between the two is that the X Bar and S chart uses standard deviation to find the amount of variation within a sample instead of the range Data must be in variable form to use this chart It should also be used when data is plentiful enough that samples can have ten measurements or more or when there is a need to rapidly detect small changes Attribute Charts P Chart P charts are used to track the proportion of nonconforming items in a sample The number of nonconformities per item is irrelevant for this type of chart which only tracks the total number of items however it is possible to have the types of nonconformities displayed on the same chart P charts are used only when looking at the number of nonconforming items and when the sample size is not consistent NP Chart Unlike the P Chart the NP chart requires that all the sample sizes are the same The number of nonconforming items is graphed instead of the proportion because the samples can be directly compared The types of nonconformities can also be displayed on the Inductive Automati
246. chedule entries Properties Inductive Automation OEE D This component has standard Ignition properties with the addition of he fo Schedule ID Line Path Work Order ID Work Order wame 142 owing properties The currently selected ID of the schedule entry being edited This is the ID for the Schedule database table Scripting name scheduleID Data Type Integer The line path of the production ine that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Scripting name linePath Data Type Scring The current ID of the work order being scheduled This is the ID for the WorkOrder database table Scripting name workOrderID Data Type Inbeger The work order number being scheduled Scripting name workOrder Data Type String Product Code The product code number associated with the work order being scheduled Product Description Schedule Type Start Date Time Scripting name productCode Data Type SETIAS The product code description associated with the work order being scheduled Scripting name productCodeDescription Data Type String The type of schedule entry Scripting name scheduleType Data Type Integer Options 0 Work Order Run 1 Maintenance 2 Other The start date and time of the schedule entry Scripting name startDateTime Data Type Date
247. chinery that is appropriate for a recipe appears in the recipe editor and recipe selector components For this example Line 1 and all of the cells machines beneath it are added to the recipe f Recipes Master A Master C H Master D H Select lines machines locations to include in the currently selected recipe A Mm Labeler M Palletizer M Sealer Cancel ok Select Production Items to Add to Recipe After clicking the Ok button expand the production item to view and edit the recipe values Notice the Assigned By column When the new recipe was first added all of the recipe values show a assigned by of Enterprise Site Area 1 Line 1 Capper Default for the capper This is because the initial values of a new recipe are inherited from the default values for the capper production item See Default Values for more information When a recipe value is changed the assigned by changes to My Recipe This is because the value is no longer that from the default values and is now from the recipe In simpler terms it tells you where the value has been changed in the inheritance tree Inductive Automation Recine Chanaeover 443 Master C a Master D EN My Recipe 0 Line 1 Name Value Units Assigned By ne Speed 102 CPM EnterpriselSittelArea 11Line 1 Default 2 0 Capper EnterpriselSiteVvea 1 Line 1 Capper Default o Casepacker o Checkweigher o Filler m Edit Recipe Valu
248. cipe For example Your Enterprise Your Site Your Area Line 1 Data Type String Optional note to be stored in the recipe change log Data Type String Recipe Changeover 534 4 7 1 14 getChangelogHistory system recipe getChangelogHistory projectName changelogFilters Based on the filters set in the changelogFilters parameter return change log history for recipe See Recipe Change Log for more information This script function can be used in gateway client scripts When called from the client omit the projectName parameter parameters projectName The project name Only include when called from the gateway When called from the client the project is the same as current project for the client Data Type String changelogFilters Change log filters See ChangelogFilters object for more information Data Type ChangelogFilters returns A Dataset object containing rows and columns of change log history Dataset Example Collect values we want to filter by projectName system util getProjectName itemPath event source parent getComponent Production Line Selector selectedPathWithout fromDate event source parent getComponent Date Range startDate toDate event source parent getComponent Date Range endDate Build the filters object filters system recipe filter changelog createNew filters setProjectName projectName filters addCategory Recipe filters setItemPathFilter itemPath filters setFro
249. control Some signals include six points in a row that are increasing or decreasing eight points in a row that are farther than one standard deviation away from the centerline or fourteen points in a row that are alternating up and down When used properly these signals can identify important changes that can help to improve or maintain the process Signals can be configured so that they are evaluated every time new sample data is recorded This allows for quick and automatic detection of out of control conditions Once an out of Inductive Automation ae f or y SPC Quali 267 control condition is automatically detected Ignition provides a variety F AN hat can be performed such as standard alerting communications logging and more For automatic signal evaluation to be enabled the Look Back Period must be set to something other than No Auto Evaluation a valid look back duration must be set and the signal must be selected for the desired sample definitions Out of Control Signals can be added edited or deleted on the Enterprise page in the designer under the Quality tab 3 3 4 2 Default Signals When a new Enterprise Production Item is added the following control limits are added Individual Outside Out of Limits Outside Limits 3 3 4 3 Add Signals To add an out of control signal right click the Out of Control Signals table and select New from the drop down menu A window will appear with several fields to be complet
250. count information can be configured which will result in more OEE calculations For example if the infeed production count is configured for a production then product accumulation and waste can also be calculated Also OEE Performance uses items started vs standard rate so that it is isolated from quality factors When the infeed production count is not used and quality is being used then quality will not be isolated from performance If a production line is configured for more than one infeed or outfeed then accumulation and waste calculations will be performed for each combination For example a production ine can be configured to track container caps and product as infeeds and a single outfeed of full containers The independent waste calculations for containers caps and production will be performed See Production Count Tracking section for more information Below is an example showing a single infeed and outfeed configure for a production line Line 1 Line Production Item General oee Downtime Schedule Quality Advanced Primary Infeed Line Infeed Product Infeed Name Count SQL Tag Max Raw Count Production Units Line Infeed Line 1 PLC Filleriinfeed 32768 Bottles Primary Oufeed Line Outfeed Production Outfeed Name Count SQL Tag Max Raw Count Default Standar Default Packag Standard Rate Production Units Waste T
251. ct Code 3 623 852 0 0 WO_PCIA PC_001 Product Code 1 10 000 32 488 0 Product Code Description Produced Work Order Table The users can click on a checkbox in the Closed column to close out a work order After it is closed out it will no longer show in the Work Order Table component and it will not be available in any other work order selector components This feature is provided because some production runs may finish before the target number of units are produced due to lack of raw materials change in production priorities etc O Inductive Automation 2 4 3 3 The user can also click on a checkbox in the Hide column to hide fe wor order from being shown in the Work Order Component Implementations that integrate with other software systems such as an ERP system may show work orders that are not relevant to this system By hiding them this list can be kept clean of unrelated work orders Properties This component has standard Ignition properties with the addition of the following properties To Date This property is the starting date of when work orders were created Scripting name startDate Data Type Date From Date This property is the ending date of when work orders were created Scripting name endDate Data Type Date Show Closed If set to true will show the closed work orders Scripting name showClosed Data Type Boolean Show Hidden ff set to true will show the hidden work orders Scripting name showHidden D
252. ct Code Screen To assign a product code to one or more production lines select the product code then select the Enable box next to the appropriate line It is also possible to disable a product code altogether by selecting the box to the right of the product code To edit the properties select the product code and the ine you wish to edit then double click the value to be changed Pressing Enter or clicking off of the value will save the change Product code descriptions can also be edited by double clicking The demo demonstrates adding product codes but the system also supports editing and removing product codes For companies that have ERP Enterprise Resource Planning or other systems containing product code information product codes can be added or updated automatically from them 2 2 2 3 Production Schedule The scheduling screen is similar to Outlook calendar and is easy for new users to learn how to use It has month week and day views that are selected by clicking on the Day nn Monin buttons Select the production ine to view and edit the schedule by using Inductive Automation OEE Downtime 28 the drop down list as shown below Ignition MES Software Operator Line Charts Ang Schedule lt lt gt Stihlman Day Week Month Brewing and Bottling 2011 Sunday Mar 4 Line 1Al Line 1 y 3 Al 4 Al Date o 7 Al March 2011 i FA S M T WT F OS x 1 2 3 4 5 Line Selection on Calendar Prod
253. ct code For example Cola_120z_Cans Data Type String description A description of this product code Data Type String returns result Error message if the product code could not be added bl successful Data Type Sri system production utils addRunComment projectName linePath userName note isSticky Adds a comment note to the current run for the selected line parameters projectName A valid project name Data Type String linePath The line path of the production line that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Data Type SEring userName User name for this comment Data Type SECAS note This comment Data Type SELIDO isSticky If set to 1 True the note will appear at the top of the list it False the note will appear in order it was entered Data Type Boolean returns none O Inductive Automation system production adjustRunData runUUID ce system production adjustRunData runUUID ce Name Name OFF Nawntima 199 factorName factorValue factorName factorValue adjustInfeed Recalculates production data for a line or a cell based on the factor name and the factor value The run must be complete for adjustment to be accurate parameters runUUID cellName factorName factorValue adjustInfeed returns none The unique run identifier of the run
254. ct code String productCode The new product code O Inductive Automation SPC li 416 String refNo Optional reference number gua String projectName Name of the Ignition SPC project Returns none Scope client gateway Example This is a sample gateway script to change a location s product code based on a SQLTag value pe system tag getTagValue Default Quality Test ProductCodeTest if pe system production utils cancelLocationProductCode QualityDemo QualityDemo New Enterprise New Site Packaging Line 1 Line 1 Quality else system production utils setLocationProductCode QualityDemo QualityDemo New Enterprise New Site Packaging Line 1 Line 1 Quality pc 3 6 3 1 1 2 setLocationProductCode system production utils setLocationProductCode Set Product Code Description Set the product code and optional reference number for a production location If the production location is already assigned a product code then it will be canceled and the new product code will be set Note that this scripting function will not immediately change the product code This is because if a production location is already assigned a product code it requires two steps to change the current product code The current product code must be canceled before the new product code is made active This can be an issue if using this script function in the Before Sample Update Event The product code will not
255. ctName itemPath returns none Inductive Automation The project name Only include when called from the gateway When called from the client the project is the same as current project for the client Data Type Ering The item path to a production line cell cell group or location For example Your Enterprise Your Site Your Area Line 1 Data Type SEring 4 7 1 22 readitemCurrentValues Recipe Changeover 542 system recipe readItemCurrentValues projectName itemPath includeChildren recipeName subProductCode valueNames note Set the recipe values to the current tag value s for the production item specified by the itemPath parameter This script function can be used in gateway client scripts When called from the client omit the projectName parameter paramete projectName itemPath includeChildren recipeName subProductCode valueNames note returns none The project name Only include when called from the gateway When called from the client the project is the same as Current project for the client Data Type String The item path to a production line cell cell group or location For example Your Enterprise Your Site Your Area Line 1 Data Type String If true also set the recipe values for children of the items Data Type Boolean The name of the recipe only applies for recipes Data Type String The sub product code only applies for sub recipes Data Type SEYIA
256. ction parameters projectName linePath returns successful The project name that contains the specified line path Data Type String The line path of the production line that this component is associated with This is the full path name of the line starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Data Type String Returns true if the production run successfully ended Data Type Boolean O Inductive Automation OEE Downtime 195 system production getLinelD projectName linePath Returns the internal line id of the given line path Allows advanced usage of direct SQL queries in the database parameters projectName The project name that contains the specified line path Data Type String linePath The line path of the production line that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Youi Area Line 1 Data Type String returns lineID Returns the internal line id of the linepath or 1 if the line c be found Data Type Integer system production isProductionModelRunning projectName Returns true if the production model for this project is running parameters projectName The project name that contains the specified line path Data Type String returns running Returns true if the production model for this project is runt Data Type Boolean Inductiv
257. ction Package Count Production Rate Hour Production Rate Minute Production Units Run Down Time Inductive Automation Count This represents the amount of product accumulated on the production line and is adjusted for package count It will be the same units as the infeed If Cell Enabled is set to true then the OEE Downtime and Scheduling module will perform calculations for the cell This value is determined by the product code and production ine It can also be programmatically changed This reflects the site Default Cell Enabled property in the Designer Optionally this property can be set to a description for the cell It is not used by the OEE Downtime and Scheduling Module other than for reference The true unit count at the primary product infeed for the production run The true unit count reflects the start of production run count and raw count rollovers This reflects the name of the cell that is set in the designer The current OEE value for the current shift See OEE for more details The current OEE Availability value for the current shift See OEE for more details The current OEE Performance value for the current shift See OEE for more details The current OEE Quality value for the current shift See OEE for more details The current package count of the primary outfeed The current hourly production rate of the primary product outfeed See Production Rate Calculation for more de
258. ction items Production items that support recipe selection are lines cells cell groups and locations When a production line recipe is selected it will also select the same recipe for all of the cells cell groups or locations that are children of the line This can be disabled by setting the EnableRecipe tag for the child production item to false This is a feature that makes day to day selection of line recipes easier and mistake free Recipes can also be canceled that simply turns off variance tracking This will keep recipe value variance reporting clean with only data from actual production runs Components After the Recipe Changeover Module is installed a Recipe tab will be added to component pallet in the Ignition designer There are two components that allow selection of recipes for a production item Below is what the Recipe Selection List component looks like My Recipe 1 Recipe C1 6Pk WA Recipe C2 12Pk Recipe Selection List Component Only final recipes for the production item that is specified by the Item Path property will be displayed See Master Recipes for more information about final recipes versus master recipes The list can be limited to only show a subset of recipes by using the Recipe Name Filter property End users can select and cancel recipes using this component by right clicking on a recipe Inductive Automation Recipe and selecting the desired menu item If this functionality is nA desidi A e
259. ctor Operator A comparison allows one data point to be compared between all areas days etc For more information on comparisons see the Compare By paragraph in the Analysis Screen section Area Cell Name Day Enterprise Hour Of Run Line Month Package Count Product Code Production Units Run Shift Site Week O Inductive Automation g OEE Downtime 214 Data Points These are the data points that are available in the OEE Downtime and Scheduling Module However in addition to these comparisons additional factors may be available if they are string data type All additional factors start with Factor For example Factor Operator Data points are the different values that will be presented or compared on a graph or chart For more information on data points see the Data Point paragraph in the Analysis Screen section Area Cell Down Time Cell Infeed Count Cell Name Cell Package Count Cell Production Count Cell Production Units Cell Run Time Cell Standard Count Cell Target Count Cell Waste Count Date Enterprise Hour Of Run Line Line Infeed Count Line Production Count Line Standard Count Line Standard Rate Line Standard Rate Period Line Target Count Line Waste Count OEE OEE Availability OEE Performance OEE Quality Package Count Product Code Production Units Run Run Down Time Run Elapsed Time Inductive Automation 2 8 4 OEE Downtime 215 Run Planned Down Time Run
260. ctured against a work order these values will update Ignition MES Software Operator Line Charts Analysis Schedule Product Code Work Order Work Orders Add O Show Closed Work Orders O Show Hidden Work Orders Stihlman Brewing and Bottling Cj O wo Peig PC_001 Product Code 1 42 000 0 0 42 000 o O wo_pc2 PC_002 Product Code 2 67 000 0 0 67 000 O O wo_pc3 PC_003 Product Code 3 623 852 0 0 623 852 fs 216 11 2 18 11 al e a T i i 1 1 1 A Jan 19 Jan 24 Jan 29 Feb3 Febs Feb 13 Work Order Screen It is possible to remove work orders that are closed or hide an open work order by selecting one of the two check boxes to the left of the work order It is also possible to show these work orders again by selecting Show Closed Work Orders or Show Hidden Work Orders in the top right hand corner of the screen In order to show work orders in a specific date or the time range there is a slide bar at the bottom of the screen which can be dragged to the correct date The magnifying glasses allow a more specific time or a broader range of dates to be viewed The system supports adding work orders as well as editing and removing work orders For companies that have ERP Enterprise Resource Planning or other systems containing work order information work orders can be added or updated automatically To add a work order simply click Add and fill in the necessary information A p
261. d Range SPC Data Format specified will be displayed O Inductive Automation 222 SPC Quality 04 25 2012 07 55AM 04 25 2012 07 56 AM 04 25 2012 07 56AM 04 25 2012 09 22 AM o gt a ax 4 Bar UCL 10010 dx 9998 dl xBar LCL 9986 gt lt dr 14 XBar Range Control Chart Through the use of the properties listed below the appearance and functionality of this component can modified as desired Properties This component has standard Ignition properties with the addition of the following properties Data Properties SPC Results Bind this property to the SPC Results property of the SPC Controller or SPC Selector components Ther SPC Results contain all the information so that the control charts can display the results which is not possible with the data set alone Scripting name spcResults Data Type SPCResults SPC Data This property holds the SPC data and includes columns for the calculated values based on the SPC Data Format and selected attribute control limits and signals Scripting name spcData Data Type Dataset Measurement This property represents the number of measurements for each sample C in the SPC results o u nt Scripting name measurementCount Data Type int User This property can optionally be set to override the current user logged in It is used when notes or assignable causes are added or modified Scripting name user Data Type String Ind
262. d by the p np c and u control charts NONCONFORMING _COUNT Attribute can contain a counting number 1 2 3 4 and represents a number of nonconforming items defective items for a attribute samples This attribute data type is recognized and required by the p and np control charts NONCONFORMITY_COUNT Attribute can contain a counting number 1 2 3 4 and represents the number of nonconformities items that have deformities for a attribute samples This attribute data type is recognized and required by the c and u control charts Inductive Automation properties SPC Quality 400 e getText String Returns the user friendly localized text for the attribute data type e intToType int ordinal AttributeDataType Returns the attribute data type object for the ordinal value specified e dataTypeToType DataType dataType AttributeDataType Returns the attribute data type object for the Ignition data type specified For more information about DataType see the Ignition documentation e getJavaType Class Returns the java data type e isNumeric boolean Returns true if the attribute data type handles numbers e isLogical boolean Returns true if the attribute data type is boolean e convert Object attrValue Object Returns value in the true java data type for the type of data this attribute data type represents 3 6 2 4 Sample Additional Factor The sample additional factor object holds all of the
263. d in this sample definition are removed e getSignal String name SampleDefinitionSignal Returns the signal that has the same name as the name parameter e getAllSignals List lt SampleDefinitionSignal gt Returns all signals that have been selected for this sample definition e signalExists SampleDefinitionSignal signal boolean Returns true if the signal specified in the parameter already exists for this sample definition Le 2 SPC Quality 406 3 6 2 6 Sample Definition Attribute The sample definition attribute object holds all of the information defining an attribute used in samples Asample definition attribute specifies the name data type default value and more for a single attribute that resides in a sample definition properties e getID int Returns the database created ID for this attribute e getParent SampleDefinition Returns the sample definition that this attribute is a child of e getNew SampleDefinitionAttribute Returns a new sample definition attribute instance e getName String Returns the name of this attribute e setName String name Sets the name used for this attribute It is recommended that once samples have been created using this name it should not be changed e getDescription String Returns the description of this attribute e setDescription String Sets the description of this attribute e getEnabled boolean Returns true if this attribute is enabled If an attri
264. d to show one decimal place Search java DecimalFormat for more information Symbol Description 0 A digit absent digits show as zero A digit zero shows as absent Placeholder for decimal separator Placeholder for grouping separator E Separates mantissa and exponent for exponential formats Separates formats Default negative prefix Multiply by 100 and show as percentage Multiply by 1000 and show as per mille Currency sign replaced by currency symbol if doubled replaced by international currency symbol if present in a d pattern the monetary decimal separator is used instead of the decimal separator X Any other characters can be used in the prefix or suffix Used to quote special characters in a prefix or suffix Example format strings Value Pattern Output 123456 789 HHH HHH HHH 123 456 789 123456 789 HHH HH 123456 79 123 78 000000 000 000123 780 12345 67 SHH HHH HHH 12 345 67 12345 67 UOOAS HHE HHH HHH 12 345 67 getDefaultValue Object Returns the default value for this attribute If this optional default value exists the sample s measurement values associated with this attribute are automatically set to this value when a sample is created SPC Quality 408 e setDefaultValue Object defaultValue Sets the default value for this attribute If this optional default value exists the sample s measurement values associated with this attribute are automatically set to this value when a sample is created
265. d values csv formatted file The first line of the file must at least contain the property names separated by commas If additional names exist they will be ignored The property names can be in any order Below is a sample csv file showing multiple downtime entries Reason Name Reason Code Record Downtime Planned Downtime Operator Selectable Sub Reason Of Stop 0 true false 0 1 Machine Fault 3 true false 0 1 Machine Fault Electrical 31 true false 1 3 Machine Fault Mechanical 32 true false 1 3 Outfeed Backup 4 false false 0 1 Waiting For Product 6 true false 0 1 Scale Fault 8 true false 3 1 Over Temperature 9 true false 0 1 Scale Maintenance 20 true false 2 1 Container Jam 22 true farset om Planned Shutdown 99 false true 2 1 Meal1 100 false true 2 1 Break 101 false true 2 1 To export downtime entries right click anywhere on the table containing downtime entries and select the Export menu item A dialog box will appear to allow selection of an existing file or the typing in of a name of the new file to save the downtime entries to If a file extension is not entered then the default csv will be used 2 3 5 Product infeed Product infeeds are used only to calculate waste or if infeed rate information is desired This appl
266. dataFormat Data Type AnalysisDataFormat values Table Chart Both This component has standard Ignition events Methods drillDown drillDownName item Sets all the analysis selections to new state dictated by the drill down definition drillDownName A drill down definition name This is typically parameters item returns nothing prevDrillDown parameters none returns nothing supplied by the drill down event of one of the display components Data Type String A drill down category This is typically supplied by the drill down event of one of the display components Data Type Object Inductive Automation OEE Downtime 109 Example Code This script would be entered into the drillDown event of a Production Bar Chart event source parent getComponent Production Analysis Selector drillDown event getDrillDownName event getCategory This script would be entered into the back event of a Production Bar Chart event source parent getComponent Production Analysis Selector prevDrillDown 2 4 1 11 Production Stored Analysis Selector Description A component that allows creating recalling and saving analysis data selections in the Production Analysis Selector This component will automatically use the available Production Analysis Selector in the container Saved Reports menu Stored Analysis Selector By clicking on the link a menu with the option to create new sa
267. dd a data point click on the add icon on the right side of the Data Points section Within the popup Data Point selection window click on the data point item to include in the analysis Data Points add Occurrences Downtime Minutes Data Point Selections Data Points can be removed by clicking on the located to the left of the name O Inductive Automation OEE Downtime 36 Drill Down The drill down feature simplifies the compare by and filter selections Click on a chart series to display the available drill down options As shown in Drill Down Example 1 below clicking on the Line 1 pie segment will show a popup menu of drill down options If the Cell Name option is selected then the analysis filters to show the information by Cell Name The Filter By and the Compare By sections add Cell Name The result is shown in Drill Down Example 2 Again by clicking on the Filler pie segment and selecting Operator Reason the Filter By and Compare By selections will change to show information for only Line 1 Filler and Compare By Operator Reason as shown in Drill Down Example 3 Une 1 20 000 Drill Down Example 1 Japon 19 00m nen Tee 02 00 O Palau Carper imsperton Drill Down Example 2 tres estao 1 188 State toute 12 18 fee nes amy 42 65 Moshine F nat 14 17 8 Inductive Automation OEE Downtime 37 2 2 2 7 Report Screen This is a very basic sample repo
268. dding a Recipe Value for more information 4 7 2 1 Evaluate Variance Script If the Evaluate Variance Script property see Adding a Recipe Value for more information of a production item contains a script it will be executed every time an Ignition tag associated with a recipe value changes Variance monitoring must also be active When it is executed the event object provides information about the recipe value being evaluated If event setLogVariance logVariance is not called then the log variance state determined before this event will be used See Variance Monitoring for more information Inductive Automation Event Properties event getRecipeTag event getScale event isLogVariance Recipe Changeover 545 Returns RecipeTag object associated with recipe value The RecipeTag object contains details about the recipe value and associated Ignition tag See RecipeTag object for more information Data Type RecipeTag Returns the recipe scale being used when the recipe was selected Data Type Double Returns the current log variance state for the recipe value If true a variance will be logged event setLogVariance logVariance parameters Example upperLimit lowerLimit Data Type Boolean logVariance If true a variance will be logged Data Type Boolean returns none system tag read Default UpperLimit system tag read Default LowerLimit recipeValue event getRecipeTag getCurrentValue if
269. de Only one of the valid options are required Q Initial Values Include only the initial recipe values when the recipe was first selected Q Changed Values Include only recipe values that changed after the initial values were set Q Both Include both initial and changed values Example when using it with the Analysis Controller Values Both The sub product code variance analysis provider does not allow any comparison statements Data Points The sub product code variance analysis provider can accept the following data points Description From Value Item Path Sub Recipe Name This is the description from the recipe value configuration that was entered in the designer This is the value of the Ignition tag associated with the recipe value before it changed This is the item path of the production item for the recipe value This is the name of the sub recipe at the time when the recipe value changed Inductive Automation Recipe Value Recipe Value Name Time Stamp To Value Units Recipe Changeover 507 The value that is defined in the recipe This is the name from the recipe value configuration that was entered in the designer The date and time the recipe value changed This is the value of the Ignition tag associated with the recipe value after it changed This is the units from the associated Ignition tag 4 5 4 Recipe Change Log Analysis Provider The recipe change log analysis
270. der that attributes appear in the Sample Entry component Properties This component has standard Ignition properties with the addition of the following properties Show Attribute Read Only Events When set to true disabled sample attributes will be shown This provides a method to re enable previously disabled sample attributes Scripting name showDisabled Data Type boolean The attribute name property does not show in the Ignition Designer property list It is only available in scripting to read the name of the current attribute that is selected when the Edit menu item is clicked Scripting name attrName Data Type String When set to true prevents the popup menu from appearing when the user right clicks on the Definition Attribute List component Scripting name readOnly Data Type boolean This component has standard Ignition events with the addition of the following events add Is fired when Add menu item is selected The Add menu item will only appear if script has been added to this event Event Properties none edit Event Properties event getSampleAttrName Return the currently selected sample definition attribute name Data String Type remove Event Properties event getSampleAttrName Return the currently selected sample definition attribute name O Inductive Automation SPC Quality 283 Data String Type event setRemoveAttribute boolean Used to tell the Definition Attribute List componen
271. dit Log See Scheduled vs Actual in the Binding Function Reference section Scripting name data Data Type Dataset Inductive Automation Duration Text Enable Info Popup Run Bar Color Run Legend Text Changeover Bar Color Changeover Legend Text Planned Downtime Bar Color Planned Downtime Legend Text OEE D ti 128 The text to show for the duration values int the Info popup panel Scripting name durationText Data Type String Show an info popup when you right click on the chart Scripting nam nableInfoPopup Data Type Boolean Selects the color of the running section of the chart Scripting name runColor Data Type Color Set the text that will appear in the legend that represents the running section of the chart Scripting name runLegend Data Type GETING Selects the color of the changeover section of the chart Scripting name changeoverColor Data Type Color Set the text that will appear in the legend that represents the changeover section of the chart Scripting name changeoverLegend Data Type Serine Selects the color of the planned downtime section of the chart Scripting name plannedDowntimeColor Data Type Color Set the text that will appear in the legend that represents the planned downtime section of the chart Scripting name plannedLegend Data Type S RIE Unplanned Downtime Bar Color Selects the color of the unplanned downtime section of the Unplanned Do
272. ductCode Set the current product code for a line If the line is currently in a production run it will have to be ended before setting a new product code The product code must exist in the production code table and the line must be enabled to run it parameters projectName The project name that contains the specified line path Data Type String linePath The line path of the production ine that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Data Type String productCode The new product code for the line to run next Data Type SEI AG returns successful Returns true if the project name line path and product coc are valid and the new product code has been set Data Type Boolean system production startlineProductCode projectName linePath productCode Set the current product code for a line and immediately starts it running If the line is currently in a production run it will have to be ended before setting a new product code The product code must exist in the production code table and the line must be enabled to run it parameters projectName The project name that contains the specified line path Data Type String linePath The line path of the production ine that this component is associated with This is the full path name of the line starting with the project name For example
273. duction OPC Server It is added automatically when any of the Ignition MES modules are installed When the production items are added removed or modified the changes will be reflected in the Production OPC Server when the project is saved and published in the designer Below are some of the values available to read and in some cases write to for the RecipeDemo project Inductive Automation Production OPC Server Project Enterpnse Note 1 Site Note 1 OPC Browser Racine Chanaenver 455 Da Sg as ap Ignition OPC UA Server A Production Recipe 5 RecipeDemo Enterprise Calculations EJ ControlLimits Qualityintervals 9 Signals e atar F tbe ool 3 Site H Note 1 As defined in the production model p Gj Area 1 Line 1 Line 2 gt 3 Line 3 EJ RecipeValue lt gt Accumulation Count gt Active Downtime Duration gt Active Downtime Is a Short Stop gt Active Downtime Starttime ActiveRecipeName E gt Actual Changeover End Time a actual Finish Time gt Ps das Production Model OPC Values To use the production OPC values in your projects Ignition tags have to be created The easiest method to do this is drag the production OPC value to the SQLTag Browser Once the tag has been created it can be used to display status on screens used in expression and any of the other tasks that can be done with any ot
274. duction location It reflects the Shift 2 Enabled property for the location in the designer The initial value of this property is determined by the Shift 2 Initial Enabled State property for the production location in the designer It can be changed from the initial value The current Shift 2 Start Time time for the production location If the associated Shift 2 Start Time property for the location in the designer is set to Inherit From Parent this can be the time defined for the parent production area or line The current Shift 3 enabled state for the production location It reflects the Shift 3 Enabled property for the location in the designer The initial value of this property is determined by the Shift 3 Initial Enabled State property for the production location in the designer It can be changed from the initial value The current Shift 3 Start Time time for the production location If the associated Shift 3 Start Time property for the location in the designer is set to Inherit From Parent this can be the time defined for the parent production area or line If true at least one signal associated with this location is out of control If true a product code has been assigned to this location and is considered as actively processing Cc i 384 Dateline Boolean DateTime Boolean DateTime Boolean Read Only Boolean Read Only The additional factors folder contains a folder for each additional factor within it Th
275. duction runs before changing this setting Data Retention 30 Duration Number of days to retain runtime production data Analysis Datasource DEMODB v Analysis The database connection to store historical analysis production data to Multiple sites can be set to the same analysis database to allow enterprise Database reporting Stop all production runs before changing this setting Analysis OEEDBAUX Database The auxiliary or mirror database connection to store historical analysis production data to Auxiliary Stop all production runs before changing this setting Analysis Query 300 Cache Duration Number of seconds to cache analysis results Increasing this setting will reduce the load on the database but will delay the propagation of current production information to the analysis results Save Changes MES Module Settings Page Runtime Database The runtime database is where recipe data is stored Data Retention Duration This setting specifies the number of days to retain the data in the runtime database after a production run has completed and does not apply to the recipe module Recipes are kept until they are manually removed by a user Analysis Database The analysis database is where recipe change log and variances are kept Analysis Database Auxiliary The MES Modules will mirror the historical analysis data that is written to the local analysis database to this database For single site implementations set this to
276. duction site and can be overridden by the production area and or production line Schedule Settings These settings are accessed by selecting the site item contained in the enterprise folder in the project browser and then selecting the Schedule tab as shown below See Workday Routines for more information Inductive Automation OFF NDawntime fa Your Site Site Production Item Save project to make production changes active General Down Time Schedule Advanced Workday Routine Name Start Time End Time Grave Shift Night Break 1 00 AM 1 15 AM Day Shift Meal Break 12 00 PM 12 30 PM Swing Shift Morning Break 6 00 AM 6 15 AM Swing Shift Meal Break 8 00 PM 8 30 PM Day Shift Morning Break 9 00 AM 9 15 AM Grave Shift Meal Break 3 00 AM 3 30 AM Swing Shift Evening Break 5 00 PM 5 15 PM Day Shift Afternoon Break 2 00 PM 2 15 PM Swing Shift Night Break 10 00 PM 10 15 PM ado ee pie a ONU A A A BEN D a E po aie men 5 Site Workday Routing List Workday Routine Entry See the Workday Routines section for more information Note The workday routine entries are the default for your production site and can be overridden by the production area and or production line 2 3 2 1 3 Area Configuration Adding an Area To add a production area right click on your site folder in the project browser and select the New Production Item gt New Production Area menu item An area named New Area will be added to the s
277. duled vs Actual This binding function returns a Dataset with a Variable Dataset number of columns based in the parameter settings Inductive Automation ee OEE Downtime 188 2 7 Scripting The OEE Downtime modules support various scripting functions that are availably on both the client and the gateway The Line Event scripts are by line and cell and allow performing custom tasks when the line execution cycle is occurring The custom OEE calculation scripts allow changing the default OEE calculations When overriding the default scripts it will be effective for run and shift OEE calculation as well as historical analysis The Ignition gateway scripts will run on the gateway so that clients do not have to be running for them to be used And last there are many events methods and properties associated with the components These are not covered in this section See Component Reference for more information Additional scripting help and examples can be found in the Ignition Manual 2 7 1 Line Events Due to modules included in the OEE Downtime and Scheduling Module the need for scripting is virtually nonexistent However if the user would like to expand on the existing scripting or make adjustments to better fit his or her needs this can still be done within Ignition Scripting is also used with Lines and Cells under the Advanced tab In order to edit the script under this tab simply click the Xx button and enter the desired script then
278. duling If not checked shift 2 will be scheduled around To inherit the shift enabled from the from the area select the Inherit From Parent option The time of day that second shift starts The second shift ends at the start of third shift To inherit the time of day that second shift starts setting from the area select the Inherit From Parent option If checked shift 3 will be included during scheduling If not checked shift 3 will be scheduled around To inherit the shift enabled from the from the area select the Inherit From Parent option The time of day that third shift starts The third shift ends at the start of first shift To inherit the time of day that third shift starts setting from the area select the Inherit From Parent option Additional Factors are user defined data points that are logged along with the production and downtime information Once they are logged they can be shown in charts tables and reports Additionally other analysis can be done by filtering and or setting up comparisons by their values Any value that can be read from an Ignition SQLTag can be added as a additional factor This includes values from barcode readers databases calculations PLCs or values derived from scripts etc Example An additional factor named cardboard manufacturer can be added The operator can select the manufacturer that provided the cardboard or it can be obtained from some other source Now OEE and downtime resu
279. e Reason Code The reason code is a required unique number to the cell that identifies the downtime reason PLCs and other equipment are more apt to handing numbers versus strings therefore a Inductive Automation f aii OEE Downtime 81 reason code is used for reference within the program The reason code 0 is reserved for idle The reason code 1 is reserved for running Record Downtime If the Record Downtime option is true then downtime events with this reason will be treated as unplanned downtime This allows for downtime reasons such as outfeed backup to not be counted as unplanned downtime Planned Downtime This option will make the reason Planned Downtime meaning it is scheduled and will not be used in computing the OEE Operator Selectable This option selects if or how this reason may be selected by an operator The options are Never This reason will not be available to a user to over ride any other reason It will display only if it is the original reason code detected by the state tag Always This reason can be selected by a user to over ride the original reason code detected Cannot Be Overridden When this is the originally detected reason code it cannot be over ridden with any other code If Parent Reason Detected This reason will be available for user selection only if the originally detected reason is the parent of this sub reason see Sub Reason of below Sub Reason Of This option allows the user to to en
280. e All additional factors start with Factor For example Factor Operator Data points are the different values that will be presented or compared on a graph or chart For more information on data points see the Data Point paragraph in the Analysis Screen section Area Automatic Reason Cell Name Enterprise Line Occurrences Operator Reason Package Count Product Code Production Units Run Shift Site 2 8 3 OEE Description The Run Analysis Provider is used to analyze OEE and production data Provider Name Run Inductive Automation OEE Downtime 213 Filters These are the filters that are available in the OEE Downtime and Scheduling Module However in addition to these filters additional factors may be available if they are string data type All additional factors start with Factor For example Factor Operator A filter will allow the user to see all of the data points in the analysis provider as it pertains to a specific area shift etc For more information on filters see the Filter By paragraph in the Analysis Screen section Area Cell Name Enterprise Hour Of Run Line Package Count Product Code Production Units Run Shift Site Compare By These are the comparisons that are available in tte OEE Downtime and Scheduling Module However in addition to these comparisons additional factors may be available if they are string data type All additional factors start with Factor For example Fa
281. e Shift 1 Initial Enabled State property for the production line in the designer See Line Configuration for more details It can be changed from the initial value The current Shift 1 Start Time time for the production line If the associated Shift 1 Start Time property for the line in the designer is set to Inherit From EE pownsims 171 oat Read Only Int4 Boolean Read Only Float8 Read Only String Read Only DateTime Read Only Int4 Read Only DateTime Read Only DateTime Read Only Int4 Read Only Int4 Read Only Boolean DateTime Read Only Shift 2 Enabled Shift 2 Start Time Shift 3 Enabled Shift 3 Start Time Shift Down Time Minutes Shift Elapsed Time Minutes OEE Downti 172 Parent this be the time defined ROME for the parent production area See Line Configuration for more details The current Shift 2 enabled Boolean state for the production line It reflects the Shift 2 Enabled property for the ine in the designer The initial value of this property is determined by the Shift 2 Initial Enabled State property for the production line in the designer See Line Configuration for more details It can be changed from the initial value The current Shift 2 Start Time DateTime time for the production line If Read Only the associated Shift 2 Start Time property for the line in the designer is set to Inherit From Parent this be the time defined for the parent productio
282. e Sy Your Site E Workday Routine 3 Your Area Line 1 3 Additional Factors E Capper O Case Packer Filler 5 Downtime Reasons Accumulation Count gt Auto Calc Waste CellEnabled gt Default Cell Enabled Description Infeed Count D Log Do pon Details EME vane os s y gt Standard Rate Period gt State gt State SQ LTag Cell Inductive Automation Child Folders Cell RecipeValue Properties ActiveRecipeName RecipeLoading RecipeActive RecipeScale RecipeTrackingUUID RecipeVariancesExists RecipeWriteError ValueMonitorEnabled EnableRecipe Inductive Automation Recipe Changeover 519 One folder will exist for each Cell that has been configured in the Ignition Designer The folder can be opened to view all values within the cell Any recipe values that are configured for the production cell group will appear in this folder If a recipe is active for this String production cell then this is the Read Only name of the recipe If a recipe is not active then this is blank True if a recipe is currently Boolean being loaded for the production Read Only cell group Indicates if a recipe is currently Boolean active Read Only Set this to the amount to scale Double a recipe prior to selecting a recipe for the production cell group This is a unique value used for String tracking initial recipe values and Read Only variances while a rec
283. e expanded to match the column width Scripting name columnWidth Data Type int Row Height The height of the table rows Scripting name rowHeight Data Type LE Inductive Automation SPC Quali 349 Date Background The background color of the sample date row Y Scripting name dateBackground Data Type Color Date Foreground The foreground color of the sample date values Scripting name dateForeground Data Type Color Date Font The font to display the sample date values Scripting name dateFont Data Type Pont Date Format The date formatting pattern to display the sample dates Scripting name dateFormat Data Type String Label Background The background color of the labels Scripting name labelBackground Data Type Color Label Foreground The foreground color of the labels Scripting name labelForeground Data Type Color Label Font The font to display the labels Scripting name labelFont Data Type Font Data Background The background color of the measurement data values Scripting name dataBackground Data Type Color Data Foreground The foreground color of the measurement data values Scripting name dataForeground Data Type Color Data Font The font to display the measurement values Scripting name dataFont Data Type Font Inductive Automation SPC Quali 350 Calc Background The background color of the calculated data values y Scripting name calcBackground Data Type Color Calc Foreground The
284. e 1 i Cell 1 5 m Cel1C Cell1A Cell1B Cell2 e Cell Group Tree Location A location is the space where a sample is collected This can be placed under an area or a line and is used only in the SPC Quality Module Cell Group A cell group contains two or more cells Typically these cells occur at the same time in the sequence of the line instead of one after another causing the cell group to act as a single sub process or step within the production Cell The cell is a single machine sub process or step required in the manufacture a product The product may be a hard product such as used in packaging adding liquid or powder etc Packaging machines are a common example but a cell applies to processes also O Inductive Automation 1 2 Introduction 14 Getting Help There are multiple methods of getting help with both Ignition and the MES modules Online Forum From www inductiveautomation com website the online support forum can be accessed to search for solutions and post questions It is actively patrolled by Inductive Automation staff and many knowledgeable users Email Support E mail support is available at support inductiveautomation com Phone Support You can reach us during business hours 8am 5pm Pacific time at 1 800 266 7798 Support charges may apply 24 hour support is also available for an addition fee Design Services Inductive Automation has design support staff skilled in working with IT mai
285. e Automation OFF Nawntima 196 system production reset runUUID cellName shiftDate factorName Sets to 0 the Infeed count and the factor count for the cell or line The run must be complete for adjustment to be accurate parameters runUUID The unique run identifier of the run to reset This value car accessed via the Analysis Controller datapoint called Rur Identifier Data Type SECOS cellName Name of the cell to reset Leave blank to indicate the line Data Type String shiftDate The shift date you want reset This value can be accesser Analysis Controller datapoint called Shift Date Data Type Date factorName The run factor to adjust The possible values are InfeedC ProductionCount or WasteCount Data Type String returns none system production resumeRun projectName linePath Resume the current production run for a line This is only valid if the production run has ended parameters projectName The project name that contains the specified line path Data Type String linePath The line path of the production line that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Data Type String returns successful Returns true if the production run successfully has been resumed Data Type Boolean Inductive Automation OFF Nawntima 497 system production setLineProductCode projectName linePath pro
286. e OEEDemo project Inductive Automation SPC Quality 372 Ignition OPC UA Server Production 5 QualityDemo O New Enterprise Project O Inductive Automation Child Folders SPC Quality 373 Enterprise One folder will exist for each Enterprise that has been configured in the Ignition Designer The folder can be opened to view all values within the enterprise 3 5 2 2 Enterprise Description The enterprise folder contains some properties associated with the enterprise and a folder for each production Site within it The name is the same as the enterprise name that is configured in the designer The image below represents the New Enterprise of the QualityDemo project y dp Ignition OPC UA Server si Production QualityDemo 2 5 New Enterprise ControlLimits O New Site G Qualityintervals O Signals gt Analysis DB Connection Name gt Description gt Enabled Name gt Runtime DB Connection Name Enterprise Child Folders Site One folder will exist for each Site that has been configured in the Ignition Designer The folder can be opened to view all values within the site Control This is the parent folder that holds all of the control limits Signals This is the parent folder that holds all of the signals Intervals This is the parent folder that holds all of the intervals Properties Inductive Automation Description Enabled Name Analysis DB Connect
287. e Read Only workday routine ends 2 5 2 9 Downtime Reasons Description The downtime reason folder contains a folder for each downtime reason entry within it The name of each folder is the same as the downtime reason entry name that is configured in the designer The image below represents the Filler cell downtime reason entries of the OEEDemo project See Downtime Reasons for more details Inductive Automation Properties Reason Name Reason Code Record Downtime Planned Downtime Operator Selectable OFF Downtime 180 ips Production 2 5 OEEDemo J Your Enterprise Your Site 3 Workday Routine E Additional Factors Capper I Case Packer 3 Filler 2 3 Downtime Reasons Break Clear out product jam G Machine Fault Y Operator Selectable H Planned Downtime Reason Code Reason Name gt Record Downtime Meal Y Outfeed Backup Downtime Reasons This reflects the Reason Name property of the downtime reason entry that is configured in the designer This reflects the Reason Code property of the downtime reason entry that is configured in the designer This reflects the Record Downtime property of the downtime reason entry that is configured in the designer If true downtime events with this reason code will count as unplanned downtime during the OEE calculation This reflects the Planned Downtime property of the d
288. e SPC Results property of the SPC Controller or SPC Selector components Ther SPC Results contain all the information so that the control charts can display the results which is not possible with the data set alone Scripting name spcResults Data Type SPCResults This property holds the SPC data and includes columns for the calculated values based on the SPC Data Format and selected attribute control limits and signals Scripting name spcData Data Type Dataset Inductive Automation SPC Quali 365 Measurement This property represents the number of measurements tor Ych sample C in the SPC results o u nt Scripting name measurementCount Data Type Ine User This property can optionally be set to override the current user logged in It is used when notes or assignable causes are added or modified Scripting name user Data Type String Background Color The background color Scripting name backgroundColor Data Type Color Definition Name The sample definition to used when building SPC results Scripting name definitionName Data Type String No Data Message Text to display if not data is available to show in the control chart Scripting name noDataMessage Data Type SEring No Data The foreground color to display the no data message F or e gr o u n d Scripting name noDataForeground Data Type Color No Data Font The font to display the no data message Scripting name noDataFont Data Type Font Table Pro
289. e change log history is needed for reasons other than displaying or reporting The recipe change log history is returned as a dataset from the script and the rows can be iterated O Inductive Automation Recipe Changeover 446 through p j See getChangelogHistory script function for more information 4 1 8 Recipe Security Recipe Value Security The recipe value security uses lgnition s authentication roles to limit who can change what recipe values by how much Each recipe value can be set to specific security settings or it can inherit from its parent Like other recipes value settings the security settings can propagate down multiple levels of inheritance Referring to the image below the Inherit Security check box determines if the recipe value should use its parent s security settings or break the inheritance By unselecting the Inherit Security check box the settings for each authentication role can be made Initially when doing so the inherited security settings will remain that of the parent until they are edited Default Select inherit to use the settings from the parent else enter the security settings for the currently selected recipe value C Inherit Security Authentication Role 1 Allow Edit Minimum Value Maximum Value Administrator 10 100 Operator Tl 20 80 Cancel Ok Recipe Value Security Settings The recipe value security is verified when changing values using the recip
290. e desired item path s Because analysis is independent of projects the project name is required in the item path Example when using it with the Analysis Controller Item Path RecipeDemo Enterprise Site Area 1 Line 1 Item Path RecipeDemo Enterprise Site Area 1 Line 2 Inductive Automation Children Recipe Name Recipe Value Name Values Compare By ipe Ch 04 This is a filter to specify Yarden O ki reduction item s specified in the Item Path filter should be included Only one of the valid options are required Q Include Q Exclude Default Example when using it with the Analysis Controller Children Include This is a filter to limit the recipe s to include in the results Example when using it with the Analysis Controller Recipe Name Recipe A Recipe Name Recipe B This is a filter to limit the recipe value s to include in the results Example when using it with the Analysis Controller Recipe Value Name Line Speed Recipe Value Name Force This is a filter to specify the type of recipe values to include Only one of the valid options are required Q Initial Values Include only the initial recipe values when the recipe was first selected Q Changed Values Include only recipe values that changed after the initial values were set Q Both Include both initial and changed values Example when using it with the Analysis Controller Values Both The recipe variance analysis provider does not
291. e editor component importing recipes or changing values using script When changing a recipe value using the recipe editor component importing recipe values or from client script the authentication role applied comes from the roles the currently logged in user belongs to If the user belongs to multiple roles then the role with the least security will be applied For example if a user belongs to both the Operator and Maintenance authentication roles then the least secure one will be applied If the Operator role can change the Product Pressure recipe value from 10 to 15 and the Maintenance role can change it from 5 to 20 then the Maintenance role will apply When changing a recipe value from gateway script the Administrator authentication role is always applied The only place the recipe value security can be changed is by using the recipe editor component Also it can only be changed in the default values area and not in the actual recipes Wether or not the logged in user can change the security settings can be controlled with the Enable Security Editing property of the recipe editor component This property can be bound to an expression to determine if the currently logged in user belongs to authentication roles that are allow to edit security Another approach is to create a window that allows the Inductive Automation 4 1 9 Recipe Chan s bas A z a over 447 recipe value security editing and restrict opening the wi
292. e getDefUUID String Returns the definition UUID associated with this out of control event See Sample Definition section more information e getEvaluationResults SignalEvaluationResults Returns a single evaluation result of the signal attribute combination that transitioned from in control to out of control 3 6 1 12 Signal in Control Event When sample data changes all of the out of control signals associated with it will be evaluated If an out of control signal changes from Out of Control to In Control any script in this event is run It is provided to allow for the performance of other actions such as alerts when an out of control condition no longer exists event properties e getDefUUID String Returns the definition UUID associated with this in control event See Sample Definition section more information e getEvaluationResults SignalEvaluationResults Returns a single evaluation result of the signal attribute combination that transitioned from out of control to in control 3 6 1 13 Sample Due State Types UNKNOWN COMING_DUE DUE OVERDUE WAITING_APPROVAL 3 6 2 Object Reference 3 6 2 1 Sample The sample object holds all of the information associated with one sample properties e getDefUUID String Returns the definition UUID associated with this sample See Sample Definition object for more information O Inductive Automation SPC Quality 394 getSampleUUID Stri
293. e getMinValue Object Returns the minimum value for this attribute If this optional minimum value exists the sample s measurement values associated with this attribute are required to be greater than or equal to this value e setMinValue Object minValue Sets the minimum value for this attribute If this optional minimum value exists the sample s measurement values associated with this attribute are required to be greater than or equal to this value e getMaxValue Object Sets the maximum value for this attribute If this optional maximum value exists the sample s measurement values associated with this attribute are required to be less than or equal to this value e setMaxValue Object maxValue Sets the maximum value for this attribute If this optional maximum value exists the sample s measurement values associated with this attribute are required to be less than or equal to this value e isModified Returns true if this attribute definition has been modified e isNew Returns true if this attribute definition is new 3 6 2 7 Sample Definition Location The sample definition location object holds all of the information defining a location that samples are taken from A sample definition location may specify the interval to schedule samples and various due time values Be sure not to confuse a production location with the sample definition location object The sample definition location object defines a production lo
294. e it to the name of your enterprise right click on it and select Rename then enter the new name Project Browser odo g x H C Configuration S Production gt 1 EL SB Transaction Groups Windows IAH AS AAA ss g PAA Enterprise Name Deleting an Enterprise To remove an existing enterprise right click on the enterprise item and select the Delete menu item A window will appear confirming that you permanently want to delete the production enterprise Please note that the site area s line s and cell s underneath the Inductive Automation ey SPC Quality 251 enterprise will also be permanently removed Inductive Automation SPC Quali 252 General Enterprise Settings ai These settings are accessed by selecting the enterprise item contained in the Production folder in the project browser and then selecting the General tab as shown below Your Enterprise f Enterprise Production Item Save project to make production changes active General OEE Down Time Schedule Advanced Enabled M e Description Enterprise General Settings Enabled By default added enterprises are enabled It can be disabled by un checking the Enabled setting and saving the project This will stop the OEE downtime and scheduling module from executing the enterprise the site and all area s line s and cell s that are underneath it Description This is an optional description and is just for your reference
295. e kine Tabla A A dd e a avai entente 95 Product Code Properties Table iaa ii Ad ia 96 Production Comments Panel ws Product Code Controlere finite RE atin Rian Wil WI A eens Analysis Controller A aval dann hin es ta es Production Analysis Sele IOT tire in faved cased oa inner nn nn che tete HAs tii ete rite tte ee 105 Production Stored Analysis Sel cionsissssuinnmaneet nenennMianianh nat e ae e daia aa e a 109 Production Bar Charts cits A A E AAA seen AN i 110 Prod ction Pe Chart enenatis 111 AnalySiS Tabla AN a a ites te Hadi ae oad ne eee dali 113 Down Tim COM PONENES E A E E A A E E T A E anna ne dasin ds 115 Down time Tabl ans han E a a At AAA de a 115 Performance dica A A a ae ATOE 123 A A oe E E E E E A E E E N coi eda 124 Analysis Time Chatto sssrin A e Ada 127 Schedule Components 130 Work Order Selector iii vii adil AAG eevee is eee a ene 130 Work Order Table ss sce aan A codes asda cl et a eee tee a ete Reed 131 Work Order Controlan thereat nets henri antenne 132 Line Schedule Selec iii Ad ied nt eit eee nn A es nan es 134 Sehed le Day VIEW ii ake acacia ania ed enter O ON 135 Schedule Week Vi Wii a AAA rite ere add enr titan tee dicate 137 Sch du l MOV Winona 138 Schedule Date Selec A A A AAA acid 140 Schedule Entry Controlan a ed oes ele heen 141 Schedile Controlleties 33 ia Aiki hina ih Abia este a end lone sde ide Mean 146 Inductive Automation Time Selector inc Sen A Se e
296. e name of each folder is the same as the additional factor name that is configured in the designer The image below represents the Line 1 Quality additional factors of the QualityDemo project Inductive Automation Properties Factor Description Factor Name Factor SQLTag 3 5 2 6 2 Tag Collectors Description Production 5 QualityDemo 5 New Enterprise EJ ControlLimits New Site 5 Packaging Line 1 Gj Line 1 Quality 2 3 Additional Factors amp Lot Number ig Factor Name Additional Factors Optionally this property can be set toa description for the additional factor It is not used by the SPC Module other than for reference This reflects the name of the additional factor that is configured in the designer This reflects the Factor SQLTag setting that the additional factor is configured for in the designer It is the name of the SQLTag to read the factor value from gt Factor Description gt Factor SQLTag SPC Quality 385 String String Read Only String Read Only The SQLTag Collectors folder contains a folder for each tag collector within it The name of each folder is the same as the tag collector name that is configured in the designer The image below represents the Line 1 Checkweigher tag collector of the QualityDemo project Inductive Automation SPC Quality 386 Production QualityDemo gt 5 New Enterprise
297. e of the MES Manufacturing Execution System modules that has settings which can be set 4 3 1 1 Datasource Settings Recipe data is stored in databases external to Ignition These database s are setup in the gateway configuration section by selecting the Databases gt Connections section from the left hand configuration menu See the Ignition documentation for more information on setting up a database connection Below shows a typical database connection that is required for the Recipe module Database Connections Name Description JDBC Driver Translator Status ProductionDB Microsoft SQLServer JDBC Driver MSSOL VALID edit delete Create new Database Connection Note For details about a connection s status see the Database Connection Status page Sample Database Connection To change the MES module settings go to the configuration section in the gateway and select the MES Modules gt Settings section from the left hand side configuration menu Once a database connection is created and if only one database connection exists then it will be automatically selected to be used by the MES modules If more than one database connection exists then the desired database connection can be selected to be used by the MES modules as shown below O Inductive Automation 4 3 2 Racine Channenvar 4623 MES Module Settings Runtime DEMODB X Database The database connection to store runtime production data Stop all pro
298. e option to select a time from a drop down list The interval of time between each option is defined by the Time Interval property azooam Time Selector Properties This component has standard Ignition properties with the addition of the following properties O Inductive Automation ee OEE Downtime 150 Time Interval The time interval between each option in the drop down ist Scripting linePath name Data Type String Options Hour 30 minutes 15 minutes 10 minutes 1 minute Selected The currently selected date and time Date Time Scripting name selectedDateTim Data Type Date Date Part The currently selected date Scripting name datePart Data Type Date Selected The currently selected time Time Scripting name selectedTim Data Type String Events This component has standard Ignition events Methods none 2 4 3 12 Line Schedule View Description A component that displays scheduled entries and status for a line adding editing and deleting of schedules and allows drag and drop rescheduling O Inductive Automation OFF Nawntime 151 Dec 9 11 2012 Sunday Monday Tuesday vie Ga fel IE eS let e rt 2 A e 8 10 12 ae 16 20 22 Pi PS A IA LIE A A re ere A A A BE ar ET sr ai PTS A et Es LITE MAL TAL TTT B o en Line Schedule View Events This control has the common i
299. e pre defined for the downtime table component Field Name Description Commens o endtime When the event ended ooo O OOOO ooo O ooo O operatorcell Operator Selected Cell Name count Event Count Indicates the number of times this event has occured Inductive Automation Field Name po consecutively A totalseconds Down Time Le duration formatted as a string in hours minutes A AA seconds reasoncode Operator Selected Reason code descri potion Reason Description The selected reason code description ids Internal ID s Used by the system linestate Original Reason Code Split and note icons Used by the system This is the elapsed seconds of this event Since it is duration Duration an integer it can be used for background mapping etc associated with it i if thi i Will indicate 0 for t 1 for short isshortstop dei if this reason is short ill indicate O for long stops and 1 for sho Downtime table customizer fields Example using Translation List In the isshortstop column configuration if you create a translation list and set O Long and 1 Short and set the field to not be hidden you will see a column with either Long or Short representing the type of downtime 2 Table Customizer a Column Configuration Background Color Mapping icon duration Header Duration Hide Editable hasnote isshortstop Stop Type K
300. e selected date range For the attribute type of control charts the secondary table will not appear Date and Time 05 21 2012 01 37 PM 05 21 2012 01 38 PM 05 21 2012 01 40 PM 05 21 2012 01 42 PM Measurement 1 119 99 119 73 120 26 119 51 XBar 119 99 119 73 120 26 119 51 Moving Range 0 16 0 27 0 54 0 76 Table 121 00 XBar X 120 01 Primary Chart individual LCL 119 di 0 32 Secondary Chart 48 4 19 12 5121112 al eT CO UL PP pe tt ey et pe ee gt eg E ES NE Apr Apr 16 Apr21 Apr26 May 1 May 6 May 11 May 16 May 21 Pp eee pee ee pee ee pee ee pe ey ay 26 May 31 Jun 5 Jun 10 Jun 15 Jun 20 Date Range Selector Control Chart Changing what attribute is currently being shown in the control chart is done using the SPC settings panel To change the attribute click on the select to the right of the Attribute label This Inductive Automation S lj 43 will show all of the attributes defined in the sample definition In the case oF he Gal tag Cine 1 Checkweigher only one attribute is available Control limits and signals can be selected or hidden using the same method as the attribute with the exception that more than one control limit or signal can be selected The filter by section allows for the limiting of samples that will be shown and included in the calculated values Ata minimum at least one location must be specified This is because data collected from o
301. e shiftDisplayType Data Type Integer Values Current Shift 0 Previous and Current Shift 1 Selected Shift Sequence 2 Display Cutoff Duration Minutes 3 All 4 Selected Shift Sequence This is the shift sequence to start displaying downtime events if Display Cutoff Duration Minutes Stop FilterType Inductive Automation the Number of shifts to display property is set to Selected Shift Sequence Shift sequence numbers are the consecutive numbers of shifts of a run Scripting name Data Type selectedShiftSequence Integer Displays downtime events where the end time is within this number of minutes from the current time Applicable when Display Filter Type is set to Display Cutoff Duration Minutes Scripting name dutoffMinutes Data Type Tateger Determines if the table will display long short or both types of downtime events Scripting name selectedStopType Data Type Integer Values Both 0 Short Stops 1 Long Stops 2 Rollup Interval Rolls up events that are consecutive identoarand Secured within Seconds this many seconds of each other If set to less than 1 then no rollup will occur Scripting name rollupinterval Data Type integer Events This component has standard Ignition Table events and the following custom events reasonUpdated ls fired after a user has updated an existing reason Methods none Inductive Automation OEE Downtime 123 2
302. e state is running Scripting name running Data Type Boolean The current production enabled read only state of the production run This will be true after the changeover time has expired or the operator initiated the production run start depending on the setting of the Auto Start property that configured in the designer Scripting name productionEnabled Data Type Boolean This will be true if a production run can start It is typically used to control the enable state of a Start button on the operator screen Scripting name canStart Data Type Boolean This will be true if the production run is started Scripting name started Data Type Boolean This will be true if a production run can be ended It is typically used to control the enable state of a End button on the operator screen Scripting name canEnd Data Type Boolean This will be true if a production run has been ended and a new schedule entry has not been selected It is typically used to control the enable state of a Resume button on the operator screen Scripting name canResume Data Type Boolean This will be true if the current schedule entry can be changed It is typically used to control the enable state of a Line Schedule Selector component Scripting name canChangeSchedule Data Type Boolean Is Work OrderThis will be true if the currently selected schedule entry is a work order type Inductive Automation Scripting name is
303. eDefinition Description Adds the sample definition passed in the parameter to the SPC system After it has been added it will become available to record samples and for selection on the control charts Attributes locations control limits and signals must be added to the sample definition prior to calling this function See Sample Definition for more information Syntax Client system quality definition addSampleDefinition SampleDefinition sampleDefinition Gateway system quality definition addSampleDefinition String projectName SampleDefinition sampleDefinition Parameters String sampleDefinition New sample definition that previously was created in script String projectName Name of the Ignition SPC project Returns none Scope client gateway O Inductive Automation SPC Quality 419 3 6 3 2 1 4 updateSampleDefinition system quality definition updateSampleDefinition Description Updates an existing sample definition passed in the parameter After it has been updated the changes will be reflected during recording samples and on the control charts Syntax Client system quality definition updateSampleDefinition SampleDefinition sampleDefinition Gateway system quality definition updateSampleDefinition String projectName SampleDefinition sampleDefinition Parameters String sampleDefinition Existing sample definition String projectName Name of the Ignition SPC project Returns none Scope client gate
304. ea Configuration Adding an Area To add a production area right click on your site folder in the project browser and select the New Production Item gt New Production Area menu item An area named New Area will Inductive Automation 2 SPC Quality 25 be added to the site folder Multiple production areas can be added to your production She Each area can represent a physical or logical production area within your production site Some examples of production areas are packaging cracking filtration fabrication etc Renaming an Area To rename it to the name representing the production area right click on it and select Rename then enter the new name Deleting an Area To remove an existing production area right click on the area item and select the Delete menu item A window will appear confirming that you permanently want to delete the production area Please note that the line s and cell s underneath the area will also be permanently removed Project Browser EJ x i Lg Configuration Production gt Your Enterprise gt 3 Your Site Lame NY New Area Area General Settings These settings are accessed by selecting the desired area item contained in the site folder in the project browser and then selecting the General tab Enabled Description Shift 1 Default Enabled Default Start Time Shift 2 Default Enabled Default Start Time Shift 3 Default Enabled
305. ealStandardCount Integer event setIdealStandardCount Integer idealStandardCount void event getStandardVariance Integer event setStandardVariance Integer standardVariance void vent getWasteCount Integer vent setWasteCount Integer wasteCount void 2 7 2 Custom OEE Calculations Created in Project gt Events Script Gateway gt Startup If a custom script is added for any key then it is responsible for setting the value internal calculations will not be run Each key type will allow access to the component parts of the calculation see definition of each key for those parts Format system oee addCustomS cript key script system oee removeCustomS cript key Key system oee AVAILABILITY system oee PERFORMANCE system oee QUALITY system oee OEE Event properties AVAILABILITY key event getElapsedTime Double event getRunTime Double event getPlannedDownTime Double event getAvailability Double event setAvailability Double availability void PERFORMANCE event event getInfeedCount Integer event getPackageCount Double event getStandardRatePeriod String Inductive Automation event getStandardRate Double event getProductionCount Integer event getWasteCount Integer event getRunTimeMin Double event getElapsedTimeMin Double event getStandardCount Integer event getPerformance Double event setPerformance Double performance void QUALITY event event getInfeedCount I
306. ean This component has standard Ignition events none Methods showSetLimitPanel chartName Causes the calculate and set control limit dialog to be shown parameters chartName Which chart to show the control limit dialog for Av returns nothing 3 4 2 7 Xbar and S Chart ES CLOS Description Primary or Secondary Data Type String The XBar Standard Deviation S control chart is used to display SPC results that have Inductive Automation SPC li 2 multiple measurements for each sample It does not retrieve SPC results on the she module so it must be used with either the SPC Selector or the SPC Controller components that do Only SPC results with XBar and S SPC Data Format specified will be displayed Date and Time 1209 23AM 04 11 2012 09 24 AM 04 16 2012 06 52PM 04 16 2012 0653PM 04 25 21 Measurement 1 10000 10000 10000 Measurement 2 9995 9990 10000 9990 9995 9990 10010 10005 9990 9980 10005 39980 39960 40015 39995 9995 9990 10004 9999 Secondary Chart p gt dx 0008 Ss 3 2 5 a gt A do 6 XBar Standard Deviation Control Chart Through the use of the properties listed below the appearance and functionality of this component can modified as desired Properties This component has standard Ignition properties with the addition of the following properties Data Properties SPC Results Bind this property to the SPC Resu
307. ectName Name of the Ignition SPC project Returns Sample A reference to the existing sample or the newly created sample Scope client gateway Example sampleUUID system gui getParentWindow event getComponentForPath Root Container SampleUUID Inductive Automation SPC Quality 422 locationPath system gui getParentWindow event getComponentForPath Root Container LocationPath This will return a sample for the sampleUUID If the sampleUUID is blank it will return a new sample sample system quality sample data getCreateSampleByName sampleUUID Viscosity locationPath 3 6 3 2 2 5 getSample system quality sample data getSample Description Return a sample that matches the sampleUUID parameter Syntax Client system quality sample data getSample String sampleUUID Gateway system quality sample data getSample String projectName String sampleUUID Parameters String sampleUUID Sample UUID to lookup String projectName Name of the Ignition SPC project Returns Sample A reference to the existing sample Scope client gateway Example sampleUUID system gui getParentWindow event getComponentForPath Root Container SampleUUID sample system quality sample data getSample sampleUUID 3 6 3 2 2 6 updateSample system quality sample data updateSample Description Update an existing or new sample ff the valuesRecorded parameter is true
308. ecting the enterprise item contained in the Production folder in the project browser and then selecting the General tab as shown below Your Enterprise f Enterprise Production Item Save project to make production changes active General OEE Down Time Schedule Advanced e Enabled M pr Description i gt per F Enterprise General Settings Enabled By default added enterprises are enabled It can be disabled by un checking the Enabled setting and saving the project This will stop the OEE downtime and scheduling module from executing the enterprise the site and all area s line s and cell s that are underneath it Description This is an optional description and is just for your reference 2 3 2 1 2 Site Configuration Adding a Site To add your site right click on your enterprise folder in the project browser and select the New Production Item gt New Production Site menu item A site named New Site will be added to the enterprise folder Renaming a Site To rename it to the name representing the site s physical location right click on it and select Rename then enter the new name Deleting a Site To remove an existing site right click on the site item and select the Delete menu item A window will appear confirming that you permanently want to delete the production site Please note that the area s line s and cell s underneath the site will also be permanently removed L_ Pr
309. ecting the area item contained in the site folder in the project browser and then selecting the Schedule tab as shown below See the Site Schedule Settings section for more information on workday routines If no area workday routine entries are entered then they will be inherited from the production site as shown below Inductive Automation OFF Downtima Al Your Area Area Production Item Save project to make production changes active General Down Time Schedule Advanced Workday Routine Name Start Time DR ri Ud tt Ts SE a oat ae ae PA a Area Workday Routine List Workday Routine Entry See the Workday Routines section for more information Note The workday routine entries are the default for your production area and can be overridden by the production line 2 3 2 1 4 Line Configuration Adding a Line To add a production ine right click on an area folder in the project browser and select the New Production Item gt New Production Line menu item A line named New Line will be added to the area folder Multiple production lines can be added to a production area Renaming a Line To rename it to the name representing the production line right click on it and select Rename then enter the new name Deleting a Line To remove an existing production line right click on the line item and select the Delete menu item A window will appear confirming that you permanently want to delete the produc
310. ed including the signal name kind calculation script lookback period lookback duration chart point color and chart point shape Edit Signals a 2s Signal Name XBar 8 Above Control Line Kind Bar Calculation Script 8 Consecutive points abo Lookback Period Hours K Ce Lookback Duration Chart Point Color PM Chart Point Shape Dot Filled KI ca Adding a Signal Signal Name This is the required unique name of the signal as it will appear in selection lists and control charts It is better to keep this short in length so that it will fit better on the control charts Kind Each type of control chart has signal kinds that it works with If a signal will be used with a Individual control chart then the Individual signal kind must be used Inductive Automation SPC Quality 268 Available control limits kinds grouped by control chart type XBar Range Individual MR Standard Deviation Median p np u c Calculation Script Because signal calculations can vary the SPC module uses scripting This allows the user to override the default calculation of a signal or adding new signals that the SPC module may not provide by default Additionally they can be removed cleaning up selection lists of signals that may never be used Signals are evaluated when viewing them on control charts or when new sample data is recorded When either
311. ed data will be linked to a label on the template so that the position of the label value pair can appear at any location r Label Box Properties General Item Name Calories Required V Required Expand Horizontal M Include Units M Label Name Calories Value Position RIGHT Format Datatype Float4 Information Area Size 9 1 to 9 42 Character Count 42 Result OK Cancel Find Label Parsing Box Properties Erixed Position Parsing Box The parsed data will be read from the template at the exact position the box is placed Inductive Automation Instrument Interface hf Fixed Position Box Properties General fem Name Required M Expand Horizontal C Include Units Format Datatype Float4 Format Format Example1 Example2 3 602 42 al Information Area Size 6 18 to 6 24 Character Count 7 Cancel Fixed Position Parsing Box Properties csv Column Parsing Box Will parse all data in the columns in a fashion similar to a CSV file Rows of data contain repeating items For example date time sample no 2011 10 27 11 24 50 23 2011 10 27 11 34 50 33 Inductive Automation Instrument Interface Module 564 Z CSV Box Properties 2 1 General tem Name CSVOut Expand Horizontal Expand Vertical Delimiter Tab O Space Other Header
312. ed event items displayed eventBorder Border Scripting name Data Type Sets the border type for the selected event item selectedEventBorder Border Scripting name Data Type Height in pixels of each line row selectedEventBorder Integer Scripting name Data Type The margin in pixels from the top and bottom of a line row and the event item displayed Scripting name Data Type scheduledEventMargin Integer The color of the background of the line rows Scripting name Data Type scheduleBackground Color The color of the vertical line that indicates the current time Scripting name Data Type nowColor Cooler The color of the general dividing lines in the component Scripting name Data Type lineColor Color The font of the header text headerFont Font Scripting name Data Type The color of the header text Scripting name Data Type headerTextColor Color The color of the header background Scripting name Data Type headerBackground Color The color of the progress bar background The progress bar shows the the quantity produced versus the quantity scheduled Scripting name progressBackground Data Type Coles Inductive Automation Progress Bar Fill Progress Bar Border Header Item Font Event Font Line Item Running Color Line Item Running Icon Line Item stopped Color Line Item stopped Icon Run Completed C
313. ed they are enabled Also each cell cell group and location RecipeScale value will be set to match that of the line This enables simple recipe selection for a line without the tedious task of selecting each machine underneath the line 4 1 10 Variance Monitoring Variance Monitoring In most manufacturing systems it is important to know if the live production values match the recipe values There are two cases where this is important The first is when the recipe values are first written to verify that they match The second is during production in the event the live production values changed from an outside source Recipe values are written once when the recipe is first selected It is very important to confirm that the values were successfully set In the case of the Recipe Changeover Module when a Inductive Automation e C eover recipe is selected the values are written to the Ignition tags Should F ppen successfully but there can be expressions scripts etc that prevent the value from being written correctly This is more of an issue when the Ignition tag is configured as a OPC item connecting it to the PLC or other device If a communication error occurs when the new recipe value was being written to the PLC or device then it is very useful to know this before machinery is started It is very common to have operator interface terminals OIT or a standalone human machine interface HMI local to a machine that settings can
314. efinitions that the lab has ownership for and to Operator for sample definitions that the operator has ownership for Properties This component has standard Ignition properties with the addition of the following properties Inductive Automation Location Path Tag Selected Sample Definition Name Selected Sample DefUUID Events SPC Quality 292 Set to a valid path of a production location item to show the sample definition for the location Scripting name locationPath Data Type String Optionally set to a value to filter the sample definition by Scripting name locationPath Data Type String The currently selected sample definition name Scripting name selectedSampleDefiniti Data Type String Return the UUID assigned to the currently selected sample definition A UUID is a universally unique identifier that once assigned to a sample definition will never change It is automatically generated when a sample definition is created and is unique in that no two samples definitions will have the same UUID Scripting name selectedSampleDefUUID Data Type String This component has standard Ignition events none Methods none 3 4 1 10 Location Sample List Description A component that displays samples for a location and optionally by sample ownership Through configuration properties it can show samples that are scheduled to be coming due due overdue or waiting approval or approved
315. eing limited to one recipe at a time Recipe values can also be imported and exported using script either at the client or in the gateway See exportRecipe and importRecipe script functions for more information The following is an example statement that will import recipe values on the gateway The project name is required because recipe values are managed by project The csvData parameter is a string of csv data that can be read in from a file web service etc And last the note is what will show in the recipe change log system recipe importRecipe RecipeProject csvData note This functionality supports reading recipe values from ERP or other systems that are currently being used to manage recipes Once the recipe values are in Ignition they can be selected monitored for variances analysis etc Script In addition to importing and exporting recipe values there are scripts to add recipes rename recipes delete recipes and much more See Client Gateway Scripts for documentation of all script functions Because the built in functionality will not fit the requirements in every situation the scripting functions provide the built in functionality to be extended to accommodate the requirements 4 1 7 Recipe Change Log Keeping an audit log of when recipes are changed by who and why can be important Especially in some industries where regulatory compliance are in force The Recipe Changeover Module records all changes to recipes wether
316. elect the Edit menu item A dialog box similar to the add dialog box will appear allowing editing of the entry Deleting a Product Outfeed To remove an existing product outfeed entry right click on the desired entry in the product outfeed table of a production line or cell and select the Delete menu item A window will appear confirming that you want to remove the product outfeed entry Import Export To import product outfeed entries right click anywhere on the product outfeed table and select the Import menu item A dialog box will appear to allow selection of a comma separated values csv formatted file The first line of the file must at least contain the property names separated by commas If additional names exist they will be ignored The property names can be in any order Below is a sample csv file showing a single product infeed entry Name Count SQLTag Max Raw Count Default Standard Rate Default Package Count Standard Rate Period Production Units Waste Transit Time Seconds Line Outfeed Line 1 PLC Palletizer Outfeed 32768 60 0 10 0 Hour Cases 120 To export product outfeed entries right click anywhere on the table containing product outfeeds and select the Export menu item A dialog box will appear to allow selection of an existing file or the typing in of a name of the new file to save the product outfeed entries to Ifa file extension is not entered then the default csv will be used Inductive Automation
317. ell and select the Edit menu item A dialog box similar to the add dialog box will appear allowing editing of the entry 2 3 5 3 Deleting a Product Infeed To remove an existing product infeed entry right click on the desired entry in the product infeed table of a production ine or cell and select the Delete menu item A window will appear confirming that you want to remove the product infeed entry 2 3 5 4 Import Export To import product infeed entries right click anywhere on the product infeed table and select the Import menu item A dialog box will appear to allow selection of a comma separated values csv formatted file The first line of the file must at least contain the property names separated by commas If additional names exist they will be ignored The property names can be in any order Below is a sample csv file showing a single product infeed entry Name Count SQLTag Max Raw Count Productions Units Line Infeed Line 1 PLC Filler Infeed 32768 Bottles To export product infeed entries right click anywhere on the table containing product infeeds and select the Export menu item A dialog box will appear to allow selection of an existing file or the typing in of a name of the new file to save the product infeed entries to If a file extension is not entered then the default csv will be used 2 3 6 Product Outfeed Before OEE calculations can be performed production count information is required At a minimum the o
318. elow is a sample csv file showing multiple tag sample collector entries The lines in the example shown below have been shortened Enabled Name SQLTag Path Interval Type Interval Control Limits Signals true Line 2 Checkweigher Quality Packaging Line 2 Checkweigher Weight Every Inductive Automation SPC Quality 277 3 4 Component Reference This section is a reference for all of the components that come with the SPC Module 3 4 1 Quality Components Component Palette on x Buttons Display Tables Calendar amp Quality spc Production amp Reporting EA Cd Ca Eg EE Quality Com ponents 3 4 1 1 Definition List CA Description A component that provides a list of sample definitions A sample definition defines the attributes measurements locations control limits and out of control signals to use for samples lt allows for adding editing and deleting samples and works with the Definition Attribute List Definition Location List Definition Control Limit List and Definition Signals List components There is no need for SQL queries or scripting to display sample definitions The SPC Module will send notifications to each client with a Definition List component being displayed when there is a change to any sample definitions made by another user This event based functionality optimizes updates reducing database updates and network bandwidth Mame Version Final Imperfections 1 pH 1 pH
319. em it will automatically appear in the list as shown below No SQL statements script or configuration is needed inet Line 1 Production Line Selector Component If the functionality of the components that come with OEE Downtime and Scheduling Module does not meet the project requirements you can still use custom SQL statements customer script and the standard Ignition components 2 2 5 2 Creating a Screen To add a new window in Ignition right click on the Windows node in the Project Browser and select the New Window menu item Inductive Automation OFE Downtime 49 Ca Configuration Production gt 3 Transaction Groups db Import Window s Export Window s Adding a New Window Anew blank window will appear Here is an example of a window you can create in Ignition First drag a Analysis Controller Production Line Selector Production Bar Chart and Date Range components onto the new window as shown below 100 200 En o 50 800 a wig ve 2 3 4 lt SelectOne gt v 3 11 11 3113 11 Example of a New Window Inductive Automation OEE Downtime 50 With the Analysis Controller selected enter in the properties as shown below 24 E Common Name Data Table Data Chart Data Line Chart Data Automatic Update je M true Drill Down Options Data Format Provider Name Filter Compare By Data Points Start Date End Date Dynamic Properties Area I
320. em and the Add Recipe Value window will appear Configure the new recipe value based on the desired functionality that is described below O Inductive Automation a Recine Chanaenver 76 1 Add Recipe Value E Name New Recipe Value Description Tag O O Request Value Script Enable Scaling Enable Yariance Logging Low Variance Threshold High Variance Threshold Evaluate Variance Script Adding a Recipe Value Name required The required name is used to reference the recipe value The name must be unique and must not exist in any of the child production items of the production item that the recipe value is being added to The reason for this is that recipe values are propagated down to all of the children and if the name is the same a conflict will occur Also some characters are not allowed in recipe value names Description The recipe value description is used to further describe the recipe value It appears in the recipe editor component analysis reports and etc Tag required This is the path to the Ignition tag that is associated with this recipe value If a recipe value is added but a tag is assigned it will not appear in the recipe editor and values will not be used when recipes are selected Request Value Script Optionally script can be added to calculate or obtain a value to return for a recipe value anytime a recipe is
321. em contained in the enterprise folder in the project browser and then selecting the General tab Enabled By default added sites are enabled lt can be disabled by un checking the Enabled setting and saving the project This will stop the MES modules from executing the site and all area s line s cell s cell group s and location s that are underneath it Description This is an optional description and is just for your reference Recipe Values Recipe values can be added to sites but tags cannot be associated with them The recipe values that are added to a site are propagated down to production areas lines cells cell groups and location beneath the site This provides a quick method to add recipe values that are common to all machines beneath a site It also allows for the ability to propagate a value of a recipe value down to all production items beneath the site See Production Model for more information on propagating recipe values to child production items See Recipe Types for more information about recipe values and Recipe Values for more information about configuring recipe values 4 3 2 1 3 Area Configuration Adding an Area To add a production area right click on your site folder in the project browser and select the New Production Item gt New Production Area menu item An area named New Area will be added to the site folder Multiple production areas can be added to your production site Each area can represent a physi
322. en h reve New Site General Site Settings These settings are accessed by selecting the site item contained in the enterprise folder in the project browser and then selecting the General tab Enabled Description Shift 1 Default Enabled Default Start Time Shift 2 Default Enabled Default Start Time Shift 3 Default Enabled Default Start Time By default added sites are enabled It can be disabled by un checking the Enabled setting and saving the project This will stop the OEE downtime and scheduling module from executing the site and all area s line s and cell s that are underneath it This is an optional description and is just for your reference If checked shift 1 will be included during scheduling If not checked shift 1 will be scheduled around The time of day that first shift starts The first shift ends at the start of second shift If checked shift 2 will be included during scheduling If not checked shift 2 will be scheduled around The time of day that second shift starts The second shift ends at the start of third shift If checked shift 3 will be included during scheduling If not checked shift 3 will be scheduled around The time of day that third shift starts The third shift ends at the start of first shift Note The shift enabled and shift start times are the default for your production site and can be overridden by the production area and or production line 3 3 2 1 3 Ar
323. ent Interface Module 586 parseRowList rowCollection getParseRows for parseRow in parseRowList parseValueList parseRow getParseValues for parseValue in parseValueList log info s Ss parseValue getName str parseValue getValue 5 6 1 4 Parse Row A ParseRow object is available from the getParseRows funtion of the ParseRowCollection object properties e isValid Boolean If true indicates that all parse value objects are valid e isRequiredValid Boolean If true indicates that all parse values objects that are required are valid e isRequired Boolean If true indicates that at least one parse value object is required e getParseValues List of ParseValue objects Results all of the parse values contained in the row 5 6 2 Gateway Scripts Methods system instrument parse parseText projectName templateName text Parses the given text by using the template of templateName parameters projectName The project name where this template is defined Data Type SELLOS templateName The template to use for parsing the text Data Type REFLAS text The text to be parsed Data Type String returns result Data Type ParseResults 5 6 3 Client Designer Scripts Methods Inductive Automation Inctrirmant Interface Module 587 system instrument parse parseText templateName text Parses the given text by using the template of templateName parameters templateName The template to use
324. ent also supports additional menu item to be added by using the User Menu Items property and the userMenultem Clicked event Properties This component has standard Ignition properties with the addition of the following properties Item Path Inductive Automation This is a required property to specify a single production item to show recipes for Example Enterprise Site Area 1 Line 1 temPath Ering H Scripting name Data Type m e Changeover 498 Recipe Name Filter To limit which recipes to show eiis property can be set This provides a method to only show recipes that are of interest to the end user The wildcard characters or can also be included in the filter value Example Recipe C Scripting name recipeNameFilter Data Type SEXLAS Selected Recipe Name This will reflect the recipe that the user selected lt can also be set using script Scripting name selectedRecipeName Data Type SEXING Selected Icon Path Set to the Ignition image path of the icon to use to indicate the selected recipe If this property is left blank the default icon will be used Scripting name selectedIconPath Data Type String User Menu Items A dataset containing user menu item s to show in popup menus within the recipe selector list component Scripting name userMenultems Data Type Dataset The Dataset must have the following columns that are reference by column number when building the user menus 0
325. ent anything that samples will be tracked by except for the product code Sample Coming Due If true a sample is coming due for this Boolean location Read Only Sample Due If true a sample is due for this location Boolean Read Only Sample Overdue If true a sample is overdue for this Boolean location Read Only Sample Waiting Approval f true an unapproved sample is waiting Boolean to be approved for this location Read Only Sequence Date The date and time that the current shift Date started This is used for retrieving Read Only results based on a production day and not days that are split at midnight Sequence No Anumber that is 0 at the beginning of a Int4 production run and increments at the Read Only beginning of every shift Shift The current shift based on the shift start Int4 times configured for the production Read Only location Shift 1 The current Shift 1 enabled state for the Boolean Enabled production location It reflects the Shift 1 Shift 1 Start Time Shift 2 Enabled Shift 2 Start Time Shift 3 Enabled Shift 3 Start Time Signal Out Of Control Trace Enabled 3 5 2 6 1 Additional Factors Description P The current Shift 1 Start Time time for the production location ff the associated Shift 1 Start Time property for the location in the designer is set to Inherit From Parent this can be the time defined for the parent production area or line The current Shift 2 enabled state for the pro
326. eover 509 This is the item path of the production item that the change was made for This is the note that was entered by the user at the time of the change This is the name of the recipe the change was made for This is the sub product code the change was made for The date and time of the changed This is the value after the change This is the units from the associated Ignition tag This is the name from the recipe value configuration that was entered in the designer Recipe Changeover 510 4 6 Production OPC Values This references details the production OPC values that the Recipe Changeover Module provides For each property the Ignition data type is listed and if it is read only The Ignition data types correspond to the data types that are available for SQLTags Within this reference the Read Only means that the OPC value cannot be written to through the OPC Production Server It can only be set in the designer or it is a calculated value Trying to write to a read only property will result in an error message being shown Depending on the MES modules that are installed into the Ignition server more or less production OPC values will appear when browsing For example if only the Recipe Changeover Module is installed then only production OPC values that the core MES or Recipe Changeover Module provide will appear 4 6 1 Enterprise Description The enterprise folder contains some properties associated wi
327. er 481 44 Component Reference This section is a reference for all the components that come with the Recipe Module 4 4 1 Recipe Editor Description A component that is added to Ignition windows to manage recipes This is just one method of managing recipes and for more information on the other methods see the Editing Recipes section It has the capability for end users to do the following recipe related tasks e Manage recipe value security e Manage sub product code recipes e Manage default machine values e Manage master recipes e Manage machines that a recipe can be run Based on the setting of the properties of the Recipe Editor component more or less detail can be shown This provides a method of displaying the correct amount of information depending on the logged in user s authentication roles For example the image below is very clean only showing limited recipes This mode allows changing of recipe values for final recipes not in master recipes See Master Recipes for more information Al Recipes Recipe C a Recipe C1 6Pk Recipe C2 12Pk ba Recipe C3 24Pk Basic Recipe Editor Where as this image demonstrates a lot of recipe information with many more options providing much more configuration of recipes The Show Master Recipes property will determine if master recipes are shown See Master Recipes for more information New master recipes can be added by right clicking on the on the root
328. ered usually that the product code already exists Otherwise it will be empty Data Type String Example Code The following script can be entered in a button s actionPerformed event It will add the product code and description to the database The return message will indicate if the there are any issues adding the product code such as if the product code already exists message event source parent getComponent Product Code Controller addProductCode event source parent getComponent ProductCode text event source parent getComponent ProductCodeDescription text if message system nav closeParentWindow event else system gui errorBox message 2 4 1 9 Analysis Controller pe Description An invisible component that makes analysis data available for reports and other components The term invisible component means that the control appears during design time but is not visible during runtime In cases where the Production Analysis Selector offers too many options to the use this component can be used It has all of the same functionality as the Production Analysis Selector but without the user interface This means property bindings or script must be used to make the filter compare by and data point selections It also is used for providing data to canned reports and optionally allowing the user to make limited filter options Properties This component has standard Ignition properties with the addition of t
329. ersion on top of the existing version User Manual Modules can be downloaded from our website Configuration Projects C Users Tom Desktop OEEDT Installer module modi Gateway Settings Install 4 Regundancy Pe ee ne pe de ta O psa o a tn a A ra Js PEU Install Ignition Module Inductive Automation OEE Downtime 23 The OEEDT Installer module will install all required modules These are the Production OEE Downtime and Scheduling modules It is important to keep in mind not to install or update these module individually Instead it should be done by updating the OEEDT Installer module 2 2 1 2 Configure Database OEE downtime and schedule data is stored in databases external to Ignition These database s are setup in the gateway configuration section by selecting the Databases gt Connections section from the left hand configuration menu See the Ignition documentation for more information on setting up a database connection Below shows a typical database connection that is required for the OEE Downtime and Scheduling module Database Connections Name Description JDBC Driver Translator Status ProductionDB Microsoft SQLServer JDBC Driver MSSQL VALID edit delete Create new Database Connection Note For details about a connection s status see the Database Connection Status page Sample Database Connection 2 2 1 3 MES Module Settings The OEE Downtime and Scheduling module stores data in a SQL database
330. es My Recipe will now appear in the Recipe Selection List component and can be selected for any of the production items that were added to the recipe But My Recipe can also be made into a master recipe simply be add descendant recipes to it See Master Recipes for more information This is done by right clicking on the Descendants item beneath the My Recipe recipe in the recipe editor and clicking on the Add Recipe menu item Type in the name of the new recipe which for this example it is My Recipe 1 There is no limit to the number of descendants recipes you can add to a master recipe There is also no limit to the number of levels deep of master recipes After My Recipe 1 is added to My Recipe My Recipe will no longer show as a option in the recipe selection list component but My Recipe 1 will In general if a recipe has descendants it becomes a master recipe and will no longer show in the recipe selection list component Only final recipes with no descendant will show in the recipe selection list component However master recipes can be selected for production items by using script functions Import Export Recipes values can be imported and exported into the recipe management system Note that only the actual value of the recipe value item can be imported and not the recipe value definition Recipe value definitions can be imported in the designer See Recipe Value Import Export for more information This is because the recipe value defin
331. es and can represent settings that are written to a PLC or other controller associated with a machine or be used internally in Ignition The recipe values that are added to a line are propagated down to production cells cell groups and location beneath the line This provides a quick method to add recipe values that are common to all machines beneath a line It also allows for the ability to propagate a value of a Inductive Automation f ecipe Chan V recipe value down to all production items beneath the area S Broductio Model for more information on propagating recipe values to child production items See Recipe Types for more information about recipe values and Recipe Values for more information about configuring recipe values 4 3 2 1 5 Cell Configuration Adding a Cell To add a production cell right click on a line folder in the project browser and select the New Production Item gt New Production Cell menu item A cell named New Cell will be added to the line folder Multiple production cells can be added to a production line Renaming a Cell To rename it to the name representing the production cell right click on it and select Rename then enter the new name Important Note It is extremely important to understand production OPC values have an OPC item path that matches the layout of the production model and that renaming production items can cause Ignition tags associated with a production item to stop being updated See
332. es or derived by another means The data type format of the SQLTag containing the raw production count must be a number Max Raw Count This is the maximum raw count value before it is reset to zero See note below Production Units This can be anything you want that represents the units Examples are gallons cases bottles pounds liters etc Note The term raw count is used because it is a relative production count It just starts at zero and counts up to a rollover value typically 32767 where it becomes zero again The OEE Downtime and Scheduling module calculates the actual production count from raw count This eliminates having to reset the value in the PLC or other device at the beginning of a production run As a result the programming that is required in the PLC or other device is simplified It also eliminates problems typically associated wth reset handshaking and production runs that exceed the limits of PLC counters For an OEE tracking system to be accurate it must wthstand communication errors power outages etc By using rawcounts that rollover and let the OEE Downtime and Scheduling module handle the actual production count the system is robust Besides that is just less PLC programming that has to be done and tested Inductive Automation 7 OEE Downtime 84 2 3 5 2 Editing a Product Infeed To edit an existing product infeed entry right click on the desired entry in the product infeed table of a product line or c
333. etail is not used it is recommended to uncheck this setting as it saves space in the database See Downtime Reasons for more information State SQLTag This is the SQLTag used to read the current state of the cell It is an Ignition SQLTag and the values can come from a PLC a database query other device in the field such as a barcode reader an expression user input or script The data type format of the SQLTag containing the state must be a number The SQLTag can be manually typed or pasted in to the Factor SQLTag edit box Optionally clicking on the QJ icon will display a browser where a SQLTag can be selected Downtime Reasons Adding a Downtime Reason See the section on Adding a Downtime Reason for details on adding downtime reason entries Editing a Downtime Reason See the section on Editing a Downtime Reason for details on editing downtime reason entries Inductive Automation OEE Downtime 76 Deleting a Downtime Reason See the section on Deleting a Downtime Reason for details on deleting downtime reason entries 2 3 3 Workday Routines Workday routine activities can be breaks lunches safety meetings or anything that is scheduled non production times that occur every day Scheduling When production runs are scheduled by the production planner these workday routine items are scheduled around For example if you schedule a run and it would take 4 hours to produce the scheduled quantity a 30 minu
334. etails In general the recipe editor is used to manage sub recipes for a line cell cell group or location New sub recipes can be created and the recipe values for each can be edited Inductive Automation Racine Channenvar 441 Default Values 4 Enterprise o Site 4 F Sub Recipes Q Area 1 F Sub Recipes Line 1 0 Line 2 0 Sub Recipes 40 Default Assigned By EnterpriselSitelArea 1 Line 2 Default EnterpriselSitelArea 1 Line 2 Default Assigned By 2 EnterpriselSitelArea Mine 2 79 EnterpriselSitelArea 1 Line 2 79 Line Production Item General OEE Downtime Sched Quality Recipe Advanced 1 Sub Recipe Mask 0000000000000 eque Enable JEnabi Low Var THigh Y Evaiua _ true true Recipe Valug Value 1 Recipe Site Area 1 Line 2 Value 1 false true SQLTags Browser o 9 Xp Value 2 Recipe Site Area 1 Line Value 2 RGH VRO 3d La p Line C Cell 24 lintel te Cell 28 sn uit Gent H 3 Cell Group 2 C Location 2A 4 Location 2B I gt ActiveRecipeName Recipe A 2 H9 EnableRecipe A gt RecipeActive gt RecipeLoading gt RecipeScale 1 gt RecipeVarianceExists REK 8 gt Value 2 86 ae gt Value 4J gt ValueMonitorEnabled If a sub recipe is not found the default will be used 41 6 Editing Recipes There are multiple methods that values of
335. ettings TAN DEMODB Database The database connection to store runtime production data Stop all production runs before changing this setting Data Retention 30 Duration Number of days to retain runtime production data Analysis Datasource DEMODB Analysis The database connection to store historical analysis production data to Multiple sites can be set to the same analysis database to allow enterprise Database reporting Stop all production runs before changing this setting Analysis OEEDBAUX Database The auxiliary or mirror database connection to store historical analysis production data to Auxiliary Stop all production runs before changing this setting 300 Analysis Query Cache Duration Number of seconds to cache analysis results Increasing this setting will reduce the load on the database but will delay the propagation of current production information to the analysis results Save Changes MES Module Settings Page Runtime Database The runtime database is where production and downtime data is stored during a production run During a production run data is logged every minute or partial minute if a downtime event occurs so a larger amount of data is stored in the runtime database Data Retention Duration This setting specifies the number of days to retain the data in the runtime database after a production run has completed The default setting is 30 days This allows for viewing current
336. eturns true if the sample has been approved e isUnapproval boolean Returns true if the sample has been unapproved Example Add 1 to an unrelated SQLTag value val system tag getTagValue Default Quality Test Sample Approval Updated val val 1 system tag writeToTag Default Quality Test Sample Approval Updated val 1 3 6 1 4 Sample Coming Due Event When a sample due state changes to COMING _DUE any script in this event is run It is provided to allow for the performance of other actions such as alerts when sample is coming due event properties e getSample Sample Returns the sample that just became due See Sample section more information e getState SampleDueStateTypes Returns the current sample due state See Sample Due State Types for more information Example Inductive Automation SPC Quality 389 3 6 1 5 Sample Due Event When a sample due state changes to DUE any script in this event is run It is provided to allow for the performance of other actions such as alerts when sample is due event properties e getSample String Returns the sample that just became due See Sample section more information e getState SampleDueStateTypes Returns the current sample due state See Sample Due State Types for more information Example 3 6 1 6 Sample Interval Event Evaluates the sample interval and determines when to create a new sample event properties e getDefUUID
337. ew product code for the line to run next Data Type String Set to 0 to disable 1 to enable Data Type Integer OEE Downtime 208 system schedule selectRun linePath schedulelD Select the schedule entry to run on the specified line The schedulelD can be obtained from the Schedule database table If the line is currently in a production run it will have to be ended before setting a new product code The schedule entry must be valid with a work order and product code appropriate for the line parameters linePath The line path of the production ine that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Data Type GEVING scheduleID The value from the ID column of the schedule database te Data Type Integer returns successful Returns true if the new schedule entry for the line has successfully been selected Data Type Boolean system schedule selectNextRun linePath Select the next schedule entry to run on the specified line The next schedule entry is the row in the database Schedule table in chronological order by the StartDateTime column The schedule entry must be valid with a work order and product code appropriate for the line parameters linePath The line path of the production line that this component is associated with This is the full path name of the ine starting with the
338. extends Ignition to manage and monitor recipes It is ideal for quickly and accurately changing machine process or system recipes Powerful master recipe and sub recipe management recipe security change log tracking variance tracking and more empower you to improve efficiency and quality and take more control of your manufacturing facility 4 1 1 Recipe Types Batch Recipes We commonly think of recipes as making a batch of product An analogy to this is a batch of cookies where many ingredients are added in sequence along with mixing It is important to understand that a batch system is different from a recipe It is true that batch systems use recipes but a batch system has equipment definitions that are combined with the recipe to control the machinery to make a batch of product Batch Management Systems handle many other functions including inventory checks before starting a batch alarm detection machine control and more The Recipe Changeover Module does not do the functions of a Batch Management System This being said you can add multiple steps as child recipes to a master recipe and then step or sequence through the steps The sequencing through the steps must be done in Ignition script or the PLC Equipment Batch Management Recipe System Ingredient 1 Step 1 Add 10 gal of ingredient 1 Ingredient 2 Ingredient 3 Step 2 Add 5 gal of ingredient 2 Step 3 Agitate 5 min Step 4 Add 2 Ibs of ingredient 3 Step 5 Agitate
339. face id ab O E Configurations Serial Settings Parse Template L Digtal CagePortNT SMO Hm Tk a a ALCOLYZER Plus 3 2011 10 27 gt time TT TTT 11 24 50 sample no 22 0 92 amp m m alcohol 6 67 aV V density 1 001764 g cm3 Er 31 811 m m Calories 174 74 kcal 120z Alcohol ASBC E 5 216 amp m m SG 20 20 1 00357 p 13 41 Palto RDF 76 167 IA bp Parse Template configuration screen Parse Template Tools The Parse Template configuration screen contains a toolbar palette with tools that allow interaction with the current parse template Instrument Configuration y aaa Ia Ela Parse Template tool palette Serial Settings X Parsing Box Selector Allows the user to select any existing parsing boxes in the template The selected parsing box will be displayed with sizing arrows on all corners Inductive Automation Instrument Interface Module 562 2 Edit Content Text Allows editing of the actual template text that the parsing operations will be apply to New templates are blank and the user will need to add text representing the output received from the instrument here so that parsing boxes can be applied This can also be populated by using the Send to Template menu option of the Serial Controller and File Monitor Components Refer to the the documentation for these components for more information bed ind Label Parsing Box The pars
340. fier that once assigned to a sample definition will never change It is automatically generated when a sample definition is created and is unique in that no two samples definitions will have the same UUID getName String Returns the name of this sample definition setName String name Sets the name used for this sample definition It is recommended that once samples have been created using this name it should not be changed getDescription String Returns the description of this sample definition setDescription String Sets the description of this sample definition getEnabled boolean Returns true if sample definition is enabled setEnabled boolean enabled Sets sample definition enabled state getMeasurementCount int Returns the number of measurements that this sample definition is configured for setMeasurementCount int measurementCount Sets this number of measurement to be used when creating samples based on the sample definition getintervalType String Returns the default interval type for automatically scheduled samples based on this sample definition Allowed locations that belong to this sample definition are initialized with this default interval type The return value must match those configured on the Quality tab for the enterprise in the Sample Interval list setintervalType String intervalType Sets the default interval type for automatically scheduled samples Allowed locations that belo
341. fileName Inductive Automation 5 5 2 Instrument Interface Module 572 Check existence of and process one files If multiple S exist only one file IS processed because the ParseResults are returned parameters fileName File path to file to process if it exists Data Type String returns Returns a ParseResults object containing all the values that were parsed from the raw data See ParseResults object reference for more information about reading values from the ParseResults object Data Type ParseResults parseText template text Parses the given text by using the template of templateName parameters templateName The template to use for parsing the text Data Type STING text The text to be parsed Data Type SLTLAG returns A ParseResults object see ParseResults object for information about accessing parsed values contained in the parse results Data Type ParseResults Sample script for the onAfterParse event Is demonstrates displaying each parsed value in a label component parseResults event getParseResults if parseResults isValid event source parent getComponent event source parent getComponent event source parent getComponent LabelDate text str parseResults getValue Date event source parent getComponent LabelTime text str parseResults getValue Time LabelSampleNo text str parseResults getValue Sample LabelAlcohol text str parseResults getVa
342. foreground color of the calculated data values Scripting name calcForeground Data Type Color Calc Font The font to display the calculated values Scripting name calcFont Data Type Pout Chart Properties Show Primary Chart If true the primary chart will appear Scripting name showPrimaryChart Data Type boolean Right Axis Width The width of the right chart axis in pixels Scripting name rightAxisWidth Limit Dialog Horizontal Offset Limit Dialog Vertical Offset Data Type int limit dialog box The horizontal or x position to display the set control Scripting name limitDialogHorizontalc Data Type int The vertical or y position to display the set control limit dialog box Scripting name limitDialogVerticalOoff Data Type Line Vertical Grid Line Color The color of the chart vertical grid lines Scripting name verticalGridLineColor Data Type Colo Show Vertical Grid Lines If true show the vertical grid lines in the charts Scripting name showVerticalGridLines Data Type boolean Inductive Automation Horizontal Grid Line Color Show Horizontal Grid Lines Primary Chart Background Show Notes Note Image Enable Note Editing Enable Point Deletion Enable Control Limit Editing Events SPC Quality 351 The color of the chart horizontal grid lines Scripting name horizontalGridLineColc Data Type Color If true show the horizontal grid lines in the charts Scripting name showHorizontalG
343. ft It is in the primary product outfeed units The total minutes that the production line has run for the current shift This value excludes planned and unplanned downtime The total number of units that should be produced for the current shift If a production run extends over multiple shifts this value is calculated for the current shift This value is adjusted for previous shift true production whether it did not achieve or exceeded its target This value will equal whichever is less of the forecasted production run completion time and the end of the current shift The ideal production count to the minute for the current shift based on the standard rate The variance between the Shift Standard Count and the Shift Production Count The ideal production count to the minute for the current shift based on the scheduling rate The variance between the Shift Target Count and the Shift Production Count The amount that the Run Waste Count increased for the current shift The current standard rate based on the selected product code and line The period of time used for the standard rate The options are Hour and Minute This reflects the State SQLTag setting that the production line is configured for in the designer It is the name of the SQLTag to read the current OBE Downtime Int Read Only Int4 Read Only Float8 Read Only Int4 Read Only DateTime Read Only Int4 Read Only Int4 Read Only Int4
344. fuse a signal defined in the Ignition designer with the sample definition signal object The sample definition signal object connects a signal defined in the Ignition designer with a sample definition Once a signal is associated with a sample definition it will appear as an option in the SPC Selector and can appear on control charts It will also be included during automatic signal evaluations properties Inductive Automation SPC Quality 412 e getID int Returns the database created ID for this sample definition signal e getParent SampleDefinition Returns the sample definition that this signal is a child of e getName String Returns the name of this signal as defined in the Ignition designer e setName String name Sets the name of this signal as defined in the Ignition designer e getKind SignalKindTypes Returns the the kind of signal There are different types of signals and calculations for each type of chart category and this property makes this association between the two e setKind SignalKindTypes kind Sets the the kind of signal There are different types of signals and calculations for each type of chart category and this property makes this association between the two e setKind int ordinal Sets the the kind of signal based on a SignalKindTypesordinal value There are different types of signals and calculations for each type of chart category and this property makes this association between the
345. g eek ee Rt ete 149 LING Schedule A t dl NA ee cag Aa 150 5 Production OPC VUES a a ia 159 USING OPC Vale S a araa e a ie 159 OPC Value Reference EEA TET EE AET AE A E T 160 Project o ee eee it an Aire ee a Ales 160 Enterprise aa inci iar Gennes ravie nn ve mm ont 161 Site RRA AS ideas i a i ada 163 Area CCC Cp ann nant tere ae done Lu Er na advan 164 Eine Lee Ad ln AAA ened wi Are nr RS be es eee MU ne 165 Gel E OO 174 Additional ee lei LoT Soil ta aiii dde Niang een ete dienes 178 Workday ROUINB ss taire id A A A A id 179 Downtime REASON Sii A A Aide R hea ina ee 179 6 Binding Function Refere nCeii ccicciccccccesseceecetscececesssveeeteceeeensscceevetece nena 181 PATVANYSIS O TON Analysis ESA 25e A AO AAA AA A PASS tr A dad Histo A A O A AN Ai o epa S Dow ntime History Production History Scheduledivs Acta iii nn A Ad eed ied i ee ee 185 Te CMI PUIG ON 188 Line Events eses 188 Gustom OEE Calculator iaa 189 AS ON 190 Gate Way SCFIP S gt iii AA A AAA AIR 190 Clie nt De ARA AAA oO sis re sr it ete nn ire ere eee nie esse rene ir esse este 199 8 AnalVSIS PrOVIMerS T apetecia ss 209 Comment Downtime OEE Schedule TEEP 9 Miscellane OUS ici a dd 219 Additional Factors caiaeii RRE 219 Production Rate Calculation onnninicinnnnnnincicinninncnnnrrar rr 219 Part Ill SPC Quality A o AAA A O OT SPC hats o Scheduling Samples Evaluating Signals ese 2 Getting Sta rte dr eaS eg co vg tres ecg
346. g name maxRecipeValueRows Data Type LiLeges Set to the font to show text on the note security and production item selector popup panels Scripting name popupPanelFont Data Type Font Set to the font to show text in the recipe value table Scripting name valueTableFont Data Type ESTE Set to the font to show text in the recipe value table header Scripting name valueTableHeaderFont Data Type Font Inductive Automation Recipes Icon Path Recipe Icon Path Recipe Descendants Icon Path Default Values Icon Path Sub Recipes Icon Path Sub Recipe Icon Path Default SubRecipe Icon Path Inductive Automation es Recipe Changeover 487 Set to the Ignition image path ofthe icon t use for the root Recipes node If this property is left blank the default icon will be used Scripting name recipesIconPath Data Type String Set to the Ignition image path of the icon to use for recipe nodes If this property is left blank the default icon will be used Scripting name recipelconPath Data Type Erin Set to the Ignition image path of the icon to use for recipe descendant nodes If this property is left blank the default icon will be used Scripting name recipeDescendantsIconP ath Data Type String Set to the Ignition image path of the icon to use for default values nodes If this property is left blank the default icon will be used Scripting name defaultValuesIconPath Data Type Str
347. g on a line graph These options can be used to improve graphs and select specific areas to save and print Inductive Automation OEE Downtime 41 Mode Zoom Allows the user to click and drag over the specific area of the graph that he or she wants to enlarge Pan Allows the user to click and drag to move to a different area of the graph Mark Gives the domain and range values of a single line at 12 00 AM on the day selected by clicking on the graph X trace Gives the domain value of all lines on the graph at 12 00 AM on the day selected by clicking on the graph Background The background color of a line graph is white by default but may be changed to black to allow the user to see lighter colors Zoom Allows the user to zoom in or out along the domain axis the range axis or both axes Can also be used with bar graphs Auto Range Automatically selects the best range of values for the domain axis the range axis or both axes to in order to see the entire graph for the date or time range selected at the bottom of the screen Can also be used with bar graphs Reset Axes Resets both axes to their original ranges 2 2 3 5 Site Summary The Dashboard Site Summary shows OEE Production Counts Downtime and Waste Count comparisons between different sites through bar or line graphs The slide at the bottom of the page causes the date to be changed allowing the user to select a specific day or time or a broad range of dates to vie
348. gePort NT Polled Monitor File Settings Fe nanat Tant Auto Monitor Files 4 Monitor Rate 1 000 File Processing Order alpha Numeric y File Name Date Format Post Process Handling Move File ly Character Encoding UTF 8 File Monitor Settings General Enable File If checked these file monitoring settings will be applied to File Monitor Monitoring component when this Instrument Interface is assigned to its Instrument Interface Name property File Monitor Settings Auto If true automatically detects and processes file s contained with the File Path property of the File Monitor component If false the read of the component must be called to process file s Monitoring The milliseconds between each check for new files Any files that are found during a check will be processed Processing of file will not overlap If the time it takes to process the files exceeds the value of this property then the next check will be at the next interval Inductive Automation File File Name After Character Encoding Inductive Automation st t Interf l 5 This property defines the priority to process multiple file is applicable when a single file is selected in the File Path property If Alpha Numeric is selected the files are processed in alphabetical order If Date is selected the file names are converted to date values using the pattern defined in the File Name Date Format property and then processed in chronological
349. getSettingsName renamed Event Properties event getSettingsName event getPrevName event getSettings Methods none Inductive Automation Is fired when a different SPC Settings item is selected menu item is selected Returns the name of the newly selected SPC Settings item Returns a reference to the SPCSettings object that contains the filter attribute control limit and signal selections Is fired when a new SPC Settings item is created Returns the name of the newly created SPC Settings item Returns a reference to the SPCSettings object that contains the filter attribute control limit and signal selections Is fired when a SPC Settings item is deleted Returns the name of the deleted SPC Settings item Is fired when a SPC Settings item is renamed Returns the new name of the SPC Settings item Returns the previous name of the SPC Settings item Returns a reference to the SPCSettings object that contains the filter attribute control limit and signal selections 3 4 2 3 SPC Controller LE Description SPC Quality 310 An invisible component that makes SPC data available for reports and other components The term invisible component means that this component appears during design time but is not visible during runtime In cases where the SPC Selector offers too many options to the use this component can be used It has all of the same functionality as the SPC Selector but without the use
350. gnition events with the addition of the following events userMenultemClicked Fired when a user menu item is selected by a right mouse click User menu items are added with calls to the method addUserMenultem lt menuName gt The are many event properties returned that can be used to drive analysis data or other type of funtions Example menultemName event menultem Name if menultemName Display Click Data Date event date LinePath event linePath Schedld event schedulelD RunID event runiD RunName event runName StartDate event startDate EndDate event endDate message menultemName s n Date s n LinePath s n Schedid s n RuniID s n RunName s n StartDate s n EndDate s menultemName Date LinePath Schedld RunID RunName StartDate EndDate system gui messageBox message User Menu Item Clicked if menultemName Show Run Actual vs Scheduled RunName event runName system gui messageBox RunName User Menu Item Inductive Automation Event Properties event menultemName event linePath event date event schedulelD event runiD event runName event startDate event endDate newEvent OEE Downtime 152 Clicked Returns the menu name of selected user menu item Data Type String Returns the line path corresponding to where the user menu item was Clicked Data Type String Returns the date corresponding to where the user menu item was clicked Data Type Date
351. h of the cell s waste values Product Waste Entries will be ignored Line Downtime Settings These settings are accessed by selecting the ine item contained in the site folder in the project browser and then selecting the Downtime tab as shown below Once downtime reasons have be added the OEE Downtime and Scheduling module will either check the list if the line stops running or allow the operator to select reason See the section on Downtime Reasons for more information Inductive Automation OFF Nawntime fa Line 1 Line Production Item General OEE Downtime Schedule Quality Advanced Downtime Detection Method Key Reason x State SQL Tag Line 1 PLC Line State IS Remote Operator Reason Code SQL Tag Line 1 PLC Panelview Entered Code gt Downtime Reasons Reason Name Reason Code Run paused 300 Changeover Overrun 301 General Line Down 1000 Short Downtime Threshold Seconds lo Run Disabled Reason Code 300 Changeover Overrun Reason Code 301 Line Downtime Settings Downtime Detection Method To determine the reason a production line or process is down set the Downtime Detection Method setting 1 Select Initial Reason to select the initial cell that is down as the reason the line is down If there is a cell group on the line and the Minimum Cells Running Threshold has not been reached for that cell group the first cell
352. he analysis and reporting Location Quality Settings These settings can be found in the Location folder under the Quality tab The SQLTag Sample Collectors allow for the automatic collection of sample data For more information see Tag Sample Collectors Line 1 Quality Location Production Item General OEE Downtime Schedule Quality Advanced Tag Sample Collectors Enabled 1 Name A TagPath IntervalType Interval Control Limits Signals false Level QualitwRealistic2 Every Value Cha 0 0 Individual LCL true Line 1 Checkwe QualitwPackagi Every x Value C 100 0 Individual LCL Individual Outside false Temp QualitwRealistic2 Every Value Cha 0 0 Individual LOL m pr Mt tim 5 EEE AAA A AA A SAA part pen poo i Location Quality Settings Screen See SQLTag Sample Collectors for more information 3 3 3 Control Limits O Inductive Automation 3 3 3 1 SPC Quality 261 Overview Control limits are upper UCL and lower LCL values that are calculated from the data that is gathered from a process These limits typically shown as horizontal lines on the control charts reflect the past performance of that process For the p and u Charts the control limits can vary for each sample depending on the number of items inspected for each sample See the SPC Charts in the Introduction sections for more information In the SPC Quality Module these limits can be calculated automatically or entered manua
353. he Filter By section SPC Settings Filter By add S Factor Lot Number Location Line 1 Quality Location Control Limits add Line 1 Quality p LCL Product Code pes Reference No np LCL Ed m ample rove np UCL ple App y Signals add Sample Taken By 4 ARAS a s Pe Filter By List Inductive Automation SPC Quality 303 Sample definitions can have more than one attribute At the time sample data is recorded each attribute will have a value associated with it For example when collecting viscosity reading it may also be important to know the temperature But showing and making calculations on a viscosity value of 10000 with a temperature value of 75 2 does not make sense The SPC Selector allow selecting a single attribute as shown below If a attribute type of sample definition is selected then the Attribute section will not appear This is because with attribute charts all attributes are included and shown For example if a sample definition has an attribute for Torn Discolored Pitted etc then all will show in the table and included in the calculations SPC Settings Filter By add Location Line 1 Quality Attribute Viscosity Control Limits XBar LCL XBar UCL Signals add Temperature Viscosity Attribute Selection Similar to filters control limits and signals can be added to the SPC results Any selected control limits and signals that depend on them will not appear on the co
354. he change between the current production count and the production count from the prior minute Rate per Hour The production rate per hour is calculated by recording the production count every minute Then the hourly rate is calculated from the change between the current production count and the production count from an hour ago When a production line first starts up and there are no production counts from one hour ago a project calculation is used Inductive Automation 3 SPC Quality 220 SPC Quality This section of the manual is intended for documenting the SPC Module and does not expand on SPC Statistical Process Control itself There are many books that go into great detail of both quality and SPC that should be referenced for information and procedures on determining how to improve quality Even though quality and SPC are sometimes used interchangeably they are different Quality is very broad and includes much more than just SPC while SPC is used as a tool in the quality process The Ignition SPC module focuses only on SPC A quick example may help with pointing out the difference between quality and SPC If product in the warehouse is going bad over time then a process has to start to narrow in on the cause It will involve brainstorming and fishbone diagrams to determine the possible causes which may be the source of the problem In the case of an off color product it could be rust building up in pipes chemical formulatio
355. he following properties Automatic When true when any property that changes the results will Update change the results will automatically be updated Scripting name automaticUpdate Data Type Boolean Table Data This property holds data in a format that is optimized for binding to a table component Scripting name tableData Data Type Dataset O Inductive Automation Data Format Chart Data Line Chart Data Drill Down Options Previous Drill Down Enabled Provider Name Filter OEE Downtim 102 This property specifies the type of data to return from the server Options Table Only data optimized for tables will be included in the results Chart Only data optimized for charts will be included in the results Both Table and chart data will be included in the results Scripting name dataFormat Data Type AnalysisDataFormat values Table Chart Both This property holds data in a format that is optimized for binding to pie and bar chart component such as the Production Bar Chart and Production Pie Chart Scripting name chartData Data Type Dataset This property holds data in a format that is optimized for binding to a line chart component Scripting name lineChartData Data Type Dataset This property holds the drill down options appropriate for the current filter and compare by settings Scripting name drillDownOptions Data Type Dataset This property indicates if there are entries in the dri
356. he next row Scripting name upDownTraversal Data Type boolean When set to true prevents the popup menu from appearing when the user right clicks on the Location Sample List component Scripting name readonly Data Type boolean When set it will be used for the date and time the sample was taken If not set the current date and time will be used for the date and time the sample was taken This is useful if samples are taken but not entered until a later time Scripting name sampleTakenDateTime Data Type Date This is the color of the text within the Sample Entry component Scripting name foregroundColor Data Type Color This is the color of the body of the Sample Entry component Scripting name backgroundcolor Data Type Color This is the header text for the measurement column Scripting name measurementLabel Data Type SEring SPC Quality 300 Label Font Font used for the column headers Scripting name labelFont Data Type Font Title Text to show at the top of the Sample Entry component Scripting name title Data Type String Title Font Font to use for the title Scripting name titleFont Data Type Font Measurement Number Font to use for the measurement numbers Font Scripting name numberFont Data Type Font Entry Field Font Font to use for the entry fields Scripting name fieldFont Data Type Font Column Gap Size Space in pixels between columns Scripting name gapx Data Type ine Row Gap Size Space in pixels betwee
357. hen product accumulation and waste can be calculated 2 1 4 Down Time Tracking OEE provides a method to monitor the efficiency of your production facility and tracking downtime provides information of where to focus efforts to improve efficiency Think of it this way if your production line typically runs at 69 OEE what actions do you take to increase it OEE alone doesn t tell you what factors are preventing your efficiency from being higher than 69 In the simplest form downtime tracking will identify the production cell machine or process that is preventing you production line from producing product This can be done manually but history has shown that manually collected downtime information is not accurate In addition if it is manually collected on paper log sheets then someone has to further enter the details into a program or spreadsheet to be able to organize it into actionable information used to focus your efforts to make improvements Putting recording inaccuracies extra labor and typos Inductive Automation OEE Downti 21 aside by the time the information is available it is old PUS Tracking downtime automatically or semi automatically solves the issues associated with manual tracking In a perfect world monitoring all downtime reasons automatically is the ideal solution But in the real world this can be difficult pricey or just not practical For this reason it is important for downtime tracking software to supp
358. her Ignition tags Most of the production OPC values are read only For example the RecipeVarianceExists value is determined by the live production values compared to the values in the recipe see Variance Monitoring for more details about the RecipeVarianceExists value Because it is reflecting a status it cannot be written to However others do allow writing a value to them Inductive Automation Racine Chanaenver 456 SQLTags Browser oa x OPC Browser ae RASE dD VSM E sDetauit E 8 r A H AAA T 4 gt OEE Performance 2 Y Capper OEE Quality Y pabenarher gt ProductCodeMask GJ Checkweigher gt Production Package Count E Ey Filler ns Meyvorecpenane Recipe gt Production Rate Hour gt Production Rate Minute gt Production Units Fill Weight RecipeActive Line Speed gt RecipeLoading Max Fill Level A gt RecipeScale AU RecipeTrackingUUID gt RecipeActive Hrs 9 RecipeLoading gt RecipeWriteError gt RecipeTrackingUUID 6ceg4z Run Down Time Minutes E Hrs CN Labeler G Palletizer Jill Create Tag from Production OPC Value Important Note It is extremely important to understand production OPC values have an OPC item path that matches the layout of the production model In the image below the RecipeVarianceExists tag is shown and includes
359. hich is graphed on the Range chart The range shows the overall consistency of the attribute being measured The larger the range is the less consistent the measurements are If a point is not consistent with the rest of the data and is affecting other calculated values this data point can be deleted This will allow other calculated values such as the x double bar and control limits to reflect the data more accurately X double bar is the average of all the averages or the average of all the data points shown on the graph Control limits are calculated to show where most data points on the graph will fall provided the process is not out of control The X Bar Range chart should be used when data is generated frequently and is variable This chart is useful for detecting small changes in the process and when multiple measurements are taken to represent a larger group of product Inductive Automation SPC Quality 222 Individuals Chart The Individuals Chart is similar to the X Bar Range Chart However only one measurement is taken per sample instead of multiple This means that the X Bar will always be the same value as the measurement and a moving range will be calculated instead of the basic range This means that instead of subtracting the lowest value from the highest value in one sample moving range will calculate the difference between one sample and the next showing the change from sample to sample If a single measurement is used
360. his allows the user to override the default calculation of a control limit or add new control limits that the SPC module may not provide by default Additionally they can be removed cleaning up selection lists of control limits that may never be used When a user or script function is used to initiate a control limit to be calculated the script in the associated control limit is executed An event object is passed into the script that contains the information and data to calculate the new control limit value We will introduce this event here but see Control Limit Event object for more information In the example below any lines that start with the pound character are comments and are ignored when the script is executed The event getData on line 8 returns the samples that will be used to calculate the new control limit It is a data set see Ignition DataSet in scripting for more information and contains a row of data for each sample Each sample row includes measurement values calculated values such as xBar standard deviation etc sample date and time For the p and u charts where the control limits can vary by sample this data set includes columns to which the the newly calculated control limit for each sample can be saved The ds getColumnindex on lines 11 and 12 returns the column number of the XBar and Range columns This is done for speed reasons because it is faster to reference the column by number instead of finding
361. ically update to show the predicted production end time and date The system forecasts the finish time based on the schedule rate for the product code associated with the work order and all breaks or meals that are configured You can override the finish time by selecting the Override Automatic Finish option and manually selecting a date and time 2 2 2 4 Operator Screen The operator screen provides an interface to allow the operator to control the current production run select downtime reasons and monitor the current production run This screen is used as a demo but can reduce the amount of time needed to implement an OEE downtime and scheduling system It can be modified using the Ignition designer to accommodate your requirements Inductive Automation Ne Operator ih Production Run Ignition MES Software Line Charts Analysis Sched ule Product Code Work Order Operator Screen Status Scheduled Entry wO_ABCD 02 07 05 00 AM 2 Line Status Down St i himan Product Code PC_ 1111 Rate 0 0 Cases Hour do Pale Ale Standard Rate 60 0 Cases Hour Line Quantity 5000 Scheduled Rate 58 0 Cases Minute Line 1 E Units Cases Run Started 02 07 11 10 AM Estimated Finish 02 14 10 58 AM Production 8 00 Operator 4 000 siii _ 3 000 Start End Resume pu Downtime Reasons 1 000 0 3270 05 00 04 PM 05 15 02 PM Filler 1 00 14 58 Break A 03 01 53 PM 03 01 59PM Filler 1 00 00 06 Stop
362. ide downtime data to tables charts or other types of components If the current run is selected downtime data from the current production run will be returned Function Name Down Time History Parameters Production The line or cell path of the production item that this String Line or component is associated with This is the full path name of Cell Path the line or cell starting with the project name If the path ends with a line the line downtime will be returned If the path includes a cell then downtime for the specified cell will be returned For example OEEDemo Your Enterprise Your Site Your Area Line 1 Include If this parameter value is true then total downtime for the Boolean production line will be included in the results Inductive Automation 2 6 2 2 OEE Downtime 184 Downtime Run ID The production run ID for which data will be returned This is Integer the ID for the Run database table If this parameter is set to 1 or left blank data for the current production run for the specified production line will be returned Run The sequence number starts at O when a production run starts ltinteger Sequence is incremented by one at the start of a new shift This provides a No method to limit results for a single shift or production runs that span over multiple days Include If this parameter value is true all shifts for the production run are Boolean Entire returned If it is false then only the shift specified b
363. ies in the Down Time Table will appear with the exact same downtime reasons The user can now select different downtime reasons for each entry When multiple downtime events occur for the same automatically detected downtime reason they will be combined into a single entry The Count column will indicate the number of events and the Downtime column will reflect the total downtime of the combined events The Begin column will be the start of first occurrence and the End column will be the end of the last occurrence The user can click on the icon to separate the combined downtime events This allows selecting different downtime reasons for each of the downtime events Inductive Automation OFF Nawntime 116 Downtime Reasons En Cell Count _ Down Ti Reason CE 00 00 11 i Downtime Note 00 00 06 Called maintenance 03 33 55 PM 03 34 13 PM Filler 03 33 42 PM 03 33 48 PM Filler 03 33 27 PM 03 33 36 PM Filler 00 00 09 03 26 02 PM 03 32 04 PM Filler 00 06 02 03 24 18 PM 03 24 25 PM Filler 00 00 07 03 17 03 PM 03 19 03 PM Case Packer 00 02 00 oe ey 00 01 00 _ canse JC ox Commenting on Down Time Reason 03 08 02 PM 03 09 02 PM Capper When the use clicks on the Q icon in the right hand column the downtime note panel appears The user can enter a note that will be associated with the downtime reason entry Editing Reasons If the Editable property is set to true
364. ies to both production lines and production cells If a production line or cell is configured for more than one infeed or outfeed then accumulation and waste calculations will be performed for each combination For example a production line can be configured to track containers caps and product as infeeds and a single outfeed of full containers The independent waste calculations for containers caps and production will be performed See Production Count Tracking section for more information For each infeed the OEE module will start calculating production rate per minute or production rate per hour values These values can be accessed through the Production OPC O Inductive Automation OEE Downtime 83 Server See the section on Production OPC Values for more infor allen rn 2 3 5 1 Adding a Product Infeed To add a product infeed entry right click anywhere on the product infeed table of a production line or cell and select the New menu item A dialog box will appear to allow entry of a name count sql tag maximum raw count and production units as shown below Z Add Product Infeed 2 Max Raw Count Productions Units CF Product Infeed Settings Name The required infeed name is used to reference one infeed from another and must be unique Count SQLTag The required SQLTag is the source of the raw production counts This typically comes from a PLC but can come from other sources such as barcode readers database queri
365. ight clicking on the Recipe Change Log Viewer component and selecting Customizers gt Table Customizer Properties This component has standard Ignition properties with the addition of the following properties Item Path Filter To limit which production items to show in the recipe change log history this property can be set This provides a method to only show production items that are of interest to the end user The wildcard characters or can also be included in the filter value Example Enterprise Site Area 1 Line 1 H Scripting name temPathFilter Data Type String Recipe Name Filter To limit which recipes to show in the recipe change log history this property can be set This provides a method to only show recipes that are of interest to the end user The wildcard characters or can also be included in the filter value Example Recipe C Scripting name recipeNameFilter Data Type String Inductive Automation Value Name Filter User Filter Sub Product Code Filter Show Recipe Changes Show Default Value Changes Start Date End Date Date Inductive Automation bons Recipe Changeover To limit which recipe values to wi int Te fecipe change log history this property can be set This provides a method to only show recipe values that are of interest to the end user The wildcard characters or can also be included in the filter value Scripting name valueNameFil
366. ime Shift 2 Default Enabled Default Start Time Shift 3 Default Enabled Default Start Time Additional Factors SPC i 25 Enabled setting and saving the project This will stop the DEL downtene and scheduling module from executing the line and cell s that are underneath it This is an optional description and is just for your reference If checked shift 1 will be included during scheduling If not checked shift 1 will be scheduled around To inherit the shift enabled from the from the area select the Inherit From Parent option The time of day that first shift starts The first shift ends at the start of second shift To inherit the time of day that first shift starts setting from the area select the Inherit From Parent option If checked shift 2 will be included during scheduling If not checked shift 2 will be scheduled around To inherit the shift enabled from the from the area select the Inherit From Parent option The time of day that second shift starts The second shift ends at the start of third shift To inherit the time of day that second shift starts setting from the area select the Inherit From Parent option If checked shift 3 will be included during scheduling If not checked shift 3 will be scheduled around To inherit the shift enabled from the from the area select the Inherit From Parent option The time of day that third shift starts The third shift ends at the start of first shift
367. ime shift To inherit the time of day that third shift starts setting from the area select the Inherit From Parent option 3 3 2 1 5 Location Configuration Adding a Location To add a production ocation right click on an area or line folder in the project browser and select the New Production Item gt New Production Location menu item A location named New Location will be added to the area or line folder Multiple production locations can be added to a production area or line Renaming a Location To rename it to the name representing the production ocation right click on it and select Rename then enter the new name Deleting a Location To remove an existing production location right click on the location item and select the Delete menu item A window will appear confirming that you permanently want to delete the production location Please note that the line s and cell s underneath the location will also be permanently removed 1 aS Production Be gt New Enterprise HE New Site Receiving ES Location A a New Line ES Location B A OT New Location Location General Settings These settings are accessed by selecting the desired location item contained in the area or line folder in the project browser and then selecting the General tab Enabled By default added lines are enabled It can be disabled by un checking the Inductive Automation Description Shift 1 Default Enabled Default Start T
368. imed Test Recipe Values ES Tag Change Test a Lino Ea Filler k Sealer ls A a me ee P LE Jn Project Browser og x Filler sg Eg Configuration Instrument Interface Cell Production Item T Production 4 Enterprise General OEE Downtime gt HE Site Sub Recipe Mask i Area 1 L E Timed Test Recipe Values A pejSiteiAre W Tag Change Test Line Speed Recipe SitejA a Lined Recipefsiterare Fille Min Fill Level Recipe Site Are Sealer Value 1 Capper Value 2 E L Labeler a gt etiam Lose SE p rr Recipe Value Propagation Only the recipe values that have Ignition tags assigned to them will appear in the recipe editor So if a propagated recipe value is not relevant to the child production item the recipe value Tag property can be left blank 4 1 3 Default Values Default Values When a new recipe is created it is initialized with a default value If the recipe value is assigned to an Ignition tag that is tied toa PLC memory address then the default value should be what is normal and default for the machine However it can be any value you want as long as it is within the range of the data type for the tag the recipe value is associated with and is within the security settings for the recipe value See Recipe Security for more information Inside a recipe a recipe value can use the default value or it can be overridden in the recipe as
369. imit dialog to be shown parameters chartName Which chart to show the control limit dialog for Av Primary Data Type String Inductive Automation returns nothing 3 4 2 12 U Chart Ga Description SPC Quality 358 The Percentage of Nonconformities u control chart is used to display SPC results that have nonconformities counts for each sample It does not retrieve SPC results from the SPC module so it must be used with either the SPC Selector or the SPC Controller components that do Only SPC results with u chart SPC Data Format specified will be displayed Date and Time 04 06 2012 08 15AM 04 06 2012 08 15 AM 04 06 2012 08 16AM 04 06 2012 08 16 AM Total Inspected u 60 U Control Chart 4 uUCL 42 d 35 6 id u LCL 29 Through the use of the properties listed below the appearance and functionality of this component can modified as desired Properties This component has standard Ignition properties with the addition of the following properties Data Properties SPC Results Bind this property to the SPC Results property of the SPC Controller or SPC Selector components Ther SPC Results contain all the information so that the control charts can display the results which is not possible with the data set alone Scripting name Data Type spcResul SPCResul ts ES Inductive Automation SPC Quali 359 SPC Data This property holds the SPC data and includes column
370. in the data are most likely due to an assignable cause Assignable causes influence variations which can occur in materials environment machines peoples etc Ultimately the histogram shows the consistency of a process Histograms should be used when data is numerical and the shape of the distribution is to be observed Observing the shape of the graph can help to determine whether or not the data is distributed normally if a change has occurred in the process over time or if two or more processes are different This graph can also help to communicate with others about the data distribution or determine if a process will be able to meet the requirements of a customer Pareto The pareto chart is a bar chart that is used to show which factors are the biggest problems The bars are arranged so that the most significant factor that is the factor that occurs the most frequently or cost the most whether that be in time or money is on the left while the shortest bar or least significant is on the right Because of the organization of the pareto chart it is best used when looking at how often problems or causes occur and which of those are the most significant or when looking at a specific component of a larger problem Like the histogram chart the pareto is also useful for the communication of data 3 1 2 Scheduling Samples If you worry about samples being taken at the correct time and not being faked after the fact you are not alone
371. includes data for only Line 1 when George Gonzalez was the operator and excluding all planned downtime Selections Filter By add Planned Downtime Exclude Line Line 1 Factor Operator George Gonzalez LE nti O O pn Filter By Selections Inductive Automation OFE ti 35 Filter By items can be removed by clicking on the located to the eh of f e name Compare By Breaking up information into groups is more meaningful than just seeing a total for a given date range For example knowing the total downtime for Line 1 for a given data range really does not provide actionable information that can be used to improve efficiencies Now by comparing the total downtime for each machine on Line 1 it is possible to identify the machine s causing the most downtime Focusing efforts on these machines and solving sources of downtime will result in better efficiencies Additional Compare By items can be added by clicking on the icon on the right side of the Compare By section Within the popup Compare By selection window click on the desire item that you want to compare analysis results between Compare By add Cell Name Compare By Selections Compare By items can be removed by clicking on the located to the left of the name Data Points Data points are the individual pieces of information that will be present in the analysis For example downtime minutes or downtime occurrences are just two of the many available data points To a
372. incremented by one at the start of a new shift This provides a method to limit results for a single shift or production runs that span over multiple days May be left blank to display all shifts If this parameter value is true the actual start will be offsetBoolean to be equal to the scheduled start time This is usefull for displaying run that were not started close to the scheduled time and allows comparison of scheduled and actual to be aligned If this parameter value is false the scheduled data will not Boolean be included If this parameter value is false the actual run data will not Boolean be included If this parameter value is true actual cell run data for eachBoolean cell will be included in the results If this parameter value is true downtime events that are Boolean neither planned or unplanned will be returned in the results For instance a cell may have a downtime event for outfeed backup that is not set to be a recordable or a planned downtime If this parameter value is true the results will contain Boolean reference to any user comments entered during the ment actual run The Analysis Time Chart component can sS display the reference Determines the type of downtime stops to return Both will return Long and Short stops See the Short Downtime Threshold seconds section for more information on stop types Values Both String Short Stops Long Stops Inductive Automation OEE Downtime 187 Sche
373. information and also allows setting the log variance flag In the script above a tag called SomeOtherTag is read and compared to the current value of the tag associated with the recipe value where this script was defined If the current value is greater than the value of the SomeOtherTag then the setLogVariance method is called with True meaning the recipe value is in a variance state Otherwise false is returned See Adding a Recipe Value section for details about configuring recipe values Variance Status As mentioned above variances are logged to the database and can be viewed in the Recipe Variance Viewer component analysis and reports But having a tag that indicates if any recipe values are in variance for a machine is useful The Ignition MES Modules exposes current status and allows some control through the Production OPC Server One of the status values provided by the Recipe Changeover Module is the RecipeVarianceExists value Each production line cell cell group and location has an associated RecipeVarianceExists value If the value is false then all live production values are within variance for the production item If the value is true then at least one recipe value of the production item is outside of its variance range See Production OPC Server and Production OPC Values sections for available values the Recipe Changeover Module provides 4 1 11 Selecting Recipes There are different methods of selecting a recipe for produ
374. ing Set to the Ignition image path of the icon to use for root sub recipe nodes If this property is left blank the default icon will be used Scripting name subRecipesIconPath Data Type String Set to the Ignition image path of the icon to use for sub recipe nodes If this property is left blank the default icon will be used Scripting name subRecipelconPath Data Type String Set to the Ignition image path of the icon to use for default sub recipe nodes ff this property is left blank the default icon will be used Scripting name defaultSubRecipelconPa th Data Type string Prod Item Icon Path Menu Add Icon Path Menu Rename Icon Path Menu Delete Icon Path Menu Revert Icon Path Menu Security Icon Path Menu Select Items Icon Path ecipe Changeove 488 Set to the Ignition image path of fhe icon to Use or production item nodes If this property is left blank the default icon will be used Scripting name proditemIconPath Data Type String Set to the Ignition image path of the icon to use for add menu items If this property is left blank the default icon will be used Scripting name menuAddIconPath Data Type Ser ing Set to the Ignition image path of the icon to use for rename menu items If this property is left blank the default icon will be used Scripting name menuRenamelconPath Data Type String Set to the Ignition image path of the icon to use for delete menu i
375. ing a Cell Group To remove an existing production cell group right click on the cell group item and select the Delete menu item A window will appear confirming that you permanently want to delete the production cell group Lg Configuration S Production Mi 1 Your Enterprise HE Site 1 a HT Processing La Packaging 4 a CellGroupTest Cell 3 Cell2 L m Cell3 y ib Paste Ctrl Y ES Delete i _ Delete n y oa a Adding a Cell Group Cell Group General Settings These settings are accessed by selecting the desired cell group item contained in the line folder in the project browser and then selecting the General tab Enabled By default added cell groups are enabled It can be disabled by un checking the Enabled setting and saving the project This will stop the OEE downtime and scheduling module from executing the cell group Description This is an optional description and is just for your reference Cell Group OEE There are no additional settings for cell group OEE however the OEE of the cell group is calculated by averaging the OEE and Production Counts of all the cells within the group Cell Group Downtime Settings Minimum Cells Running Threshold This is the minimum number of cells that must be running within the cell group in order for the cell group to be considered running If there are five cells within a cell group and the Minimum Cells Running Thre
376. ing events newEvent editEvent deleteEvent Methods none Is fired when the New Entry menu item is selected Is fired when the Edit Entry menu item is selected Is fired when the Delete Entry menu item is selected Inductive Automation Example Code OEE Downtime 137 The following script can be entered into the newEvent event of this component It collects the selected time when the right click occurred and opens a new window with the collected values as parameters paraml event source parent getComponent Production Line Selector selectedLineF param2 event source parent getComponent Schedule Day View hoveredTimeLatched system nav openWindow ScheduleNew LinePath paraml CurrentDate param2 system nav centerWindow ScheduleNew 2 4 3 6 Schedule Week View a Description A component that displays scheduled entries for a selected week This extends from the Week View Component that comes with Ignition to support adding editing and deleting schedule entries All schedule entries are automatically displayed from the Schedule and other database tables without the need for custom SQL statements or script When the user right clicks on a time a popup menu will appear with options to add edit or delete a schedule entry 2011 Sunday Mar 13 Monday Mar 14 Tuesday Mar 15 Wednesday Mar 16 Thursday Mar 17 Friday Mar 18 Saturday Mar 19 IAr 4 AI Schedule Week View Properties
377. iod State State SQLTag Cell O Inductive Automation i Recipe Ch 521 Child Folders ecipe angeover RecipeValue Any recipe values that are configured for the production location will appear in this folder Properties ActiveRecipeName If a recipe is active for this String production cell then this is the Read Only name of the recipe If a recipe is not active then this is blank RecipeLoading True if a recipe is currently Boolean being loaded for the production Read Only location RecipeActive Indicates if a recipe is currently Boolean active Read Only RecipeScale Set this to the amount to scale Double a recipe prior to selecting a recipe for the production location Recipe TrackingUUID This is a unique value used for String tracking initial recipe values and Read Only variances while a recipe is selected It can be used when looking up data directly from the database RecipeVariancesExists If true then Ignition tags Boolean associated with at least one Read Only recipe value for this production item have changed RecipeWrite Error If true then at least one recipe Boolean value did not write to the Read Only associated Ignition tags when the recipe was first selected ValueMonitorEnabled ff true recipe values are being Boolean monitored and recipe value Read Only variances will be logged EnableRecipe Set to true to allow recipes to Boolean Inductive Automation be selected for this production item Th
378. ion A component that displays scheduled entries for a selected month This extends from the Month View Component that comes with Ignition to support adding editing and deleting schedule entries All schedule entries are automatically displayed from the Schedule and other database tables without the need for custom SQL statements or script When the user right clicks on a time a popup menu will appear with options to add edit or delete a schedule entry O Inductive Automation Sunday 13 eWO_PC2 Start 3 13 Properties OFF Nawntime 129 March 2011 Monday Tuesday Wednesday Thursday Friday Saturday 1 2 3 4 WO_PC1A Start3 1 WO_PC1B Start 3 2 eWO_PC1B Start 3 3 eWO_PC1B Start 3 4 eWO_PC1B Start 3 5 7 8 9 10 11 7 eWO_PC1B Start 3 7 eWO_PC1B Start3 7 WO_PC eWO_ PC eWO_PC2 Start 3 10 1 eWO_PC eWO_PC eWO_PC2 Start 3 12 1 WO_PC1B Start3 8 eWO_PC eWO_PC eWO_PC2 Start3 10 1 eWO_PC eWO_PC eWO_PC eWO_PC2 Start 3 10 1 eWO_PC ECTS ll Y Edit Entry Delete Entry 21 22 23 24 25 28 29 30 31 Schedule Month View This component has the same properties as the Ignition Month View Component with the addition of the following properties Line Path Current Date Events The line path of the production line that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your
379. ion be selected for this production item This is useful when selecting a recipe for a production line and preventing selecting the same recipe for selected child production items The cell folder contains some properties associated with the production cell The name is the same as the cell name that is configured in the designer The image below represents the Filler of the OEEDemo project Inductive Automation ip Production Gj OEEDemo 5 Your Enterprise Your Site ee Child Folders RecipeValue this folder Properties ActiveRecipeName RecipeLoading RecipeActive RecipeScale RecipeTrackingUUID Workday Routine y Your Area 3 Line 1 Additional Factors Capper Case Packer Filler O Downtime Reasons lt gt Accumulation Count gt Auto Calc Waste gt CellEnabled lt gt Default Cell Enabled gt Description gt Infeed Count gt Log Downtime Details If a recipe is active for this production cell then this is the name of the recipe If a recipe is not active then this is blank True if a recipe is currently being loaded for the production cell Indicates if a recipe is currently active Set this to the amount to scale a recipe prior to selecting a recipe for the production cell This is a unique value used for tracking initial recipe values and variances while a recipe is selected It can be used
380. ion Name Optionally this property can be set to a description for the enterprise lt is not used by the SPC Module other than for reference This reflects the enterprise Enabled property in the Designer If the enterprise Enabled is set to true then the SPC module will perform calculations for the enterprise and all sites areas lines and locations within it If this property is set to false then none of the sites areas lines or locations will have calculations performed This reflects the name of the enterprise that is set in the designer This reflects the Analysis Database setting in the MES section in the Ignition Gateway Runtime DB Connection Name This reflects the Runtime 3 5 2 2 1 Control Limits Description Database setting in the MES section in the Ignition Gateway P li 74 Shing sais lt 3 Boolean String Read Only String Read Only String Read Only The control limits folder contains a folder for each control limit The name of each folder is the same as the control limit name that is configured in the designer The image below represents the Histogram LCL control limit of the QualityDemo project y he Production 5 QualityDemo Properties 3 New Enterprise 3 ControlLimits g Kind Name H 3 Histogram UCL 3 Individual LOL Control Limits O Inductive Automation SPC li 375 Kind The ordinal value of the kind of control chart that the control me Y
381. ion OPC UA Server dp Production OEEDemo 2 3 Your Enterprise amp Your Site Workday Routine H 3 Your Area gt Default Shift 1 Start Time gt Default Shift 2 Start Time gt Default Shift 3 Start Time y Description Name gt Description gt Enabled gt Name Add Production OPC Server Values to SQLTags When writing to OPC values that are related to production model settings the new value is not retained upon restarting This is because production model settings are saved in the Ignition project and is only saved when done so in the designer 3 5 2 SPC OPC Value Reference This references details the OPC values and child folders for node types that appear when browsing the Production OPC Server For each property the Ignition data type is listed and if it is read only The Ignition data types correspond to the data types that are available for SQLTags Within this reference the Read Only means that the OPC value cannot be written to through the OPC Production Server It can only be set in the designer or it is a calculated value Trying to write to a read only property will result in an error message being shown 3 5 2 1 Project Description Each project within Ignition has its own production model The first node s under the main Production node represent the Ignition project s Their names are the same as the project name The image below represents th
382. ion item This script function can be used in gateway client scripts When called from the client omit the projectName parameter parameters projectName The project name Only include when called from the gateway When called from the client the project is the same as current project for the client Data Type Ering recipeName Name of the recipe to add the specified production item Data Type String itemPath The item path to the production line cell cell group or location to add to the recipe For example Your Enterprise Your Site Your Area Line 1 Data Type SECLAG note Optional note to be stored in the recipe change log Data Type String returns none Inductive Automation 4 7 1 13 removeltemFromRecipe Recipe Changeover 533 system recipe removeltemFromRecipe projectName recipeName itemPath note Remove a production item from a recipe This script function can be used in gateway client scripts When called from the client omit the projectName parameter O Inductive Automation parameters returns projectName recipeName linePath note none The project name Only include when called from the gateway When called from the client the project is the same as current project for the client Data Type String Name of the recipe to remove the specified production item Data Type String The item path to the production line cell cell group or location to remove from the re
383. ion runs before changing this setting 300 Analysis Query Cache Duration Number of seconds to cache analysis results Increasing this setting will reduce the load on the database but will delay the propagation of current production information to the analysis results Save Changes MES Module Settings Page Runtime Database The runtime database is where production and downtime data is stored during a production run During a production run data is logged every minute or partial minute if a downtime event occurs so a larger amount of data is stored in the runtime database Data Retention Duration This setting specifies the number of days to retain the data in the runtime database after a production run has completed The default setting is 30 days This allows for viewing current and past production run information down to the minute for the past 30 days Analysis Database The analysis database is where summarized production and downtime data is saved For single production site installations this can be the set to the same database as the runtime database For multi production site installations all sites must set the analysis database to the same database to allow for enterprise analysis and reporting Analysis Database Auxiliary The MES Modules will mirror the hsitorical analysis data that is written to the local analysis database to this database For single site implementations set this to none For multi site imp
384. ipe is selected It can be used when looking up data directly from the database If true then Ignition tags Boolean associated with at least one Read Only recipe value for this production item have changed If true then at least one recipe Boolean value did not write to the Read Only associated Ignition tags when the recipe was first selected If true recipe values are being Boolean monitored and recipe value Read Only variances will be logged Set to true to allow recipes to Boolean be selected for this production item This is useful when selecting a recipe for a production line and preventing selecting the same recipe for selected child production items 4 6 7 Location Description The cell folder contains some properties associated with the production cell The name is the Recipe Changeover 520 same as the cell name that is configured in the designer The image below represents the Filler of the OEEDemo project Production Gj OEEDemo 5 Your Enterprise 2 3 Your Site EE able tee Be G Workday Routine 5 Your Area Gj Line 1 EJ Additional Factors Capper Case Packer Filler EJ Downtime Reasons E 8 Accumulation Count gt Auto Calc Waste gt CellEnabled gt Default Cell Enabled gt Description gt Infeed Count gt Log Downtime Details d fz a bie dj Mia Ea a gt 4 eS ra i ee La Standard Rate Per
385. ipe values will be inherited from the master recipe When a value is changed in a descendant recipe it will override the value from the master recipe with the new value as shown in the image below for the Agitator Speed and Ingredient 2 recipe values The image below just shows one master recipe and two descendant recipes In actual fact there can be any number of levels of master recipes and any number of descendants of a master recipe Any recipe that has descendants is considered a master recipe Consider a master recipe called Master 1 that has a descendant that is called Master 1 A that has a descendant called Final 1 A A Then recipes Master 1 and Master 1 A are both master recipes and recipe Final 1 A A is a final recipe Only final recipes can be selected for a production line cell cell group or location See Selecting Recipes for more information One aspect that is not shown in the image below is that the master recipe can inherit its values from the default values of the associated production item So the production item has its defaults values which is added to a recipe so the recipe inherits from the default values then the descendant recipes inherit from the master recipe and so on That is until a recipe value is overridden somewhere along the inheritance chain See Default Values for more information Master Recipe Descendant Recipes Fa Master Recipe When a value is changed in the master recipe it is propagated d
386. ipes node and selecting Add Sub Recipe menu item Sub recipes can also be removed renamed or etc by right clicking on the node of a sub recipe and selecting the desired menu item The Default sub recipe is always shown and cannot be renamed or deleted It is reserved for holding the default values for a machine Inductive Automation Racine Channeover 482 ate Default Values Enterprise kr f Sub Recipes 0 Area 1 f Sub Recipes TO Line 1 f Sub Recipes 7 Default Assigned By EnterpriselSitelArea Vi Line 1 Default alue 1 Enterprise Site Default alue 2 EnterpriselSitelArea 1 Default E mn Assigned By i EnterpriselSitelArea 1 Line 1 15 EnterpriseiSite Default EnterpriselSitelArea 1 Default Sub Recipe Editor Based on the setting of the Require Note property notes are required any time changes are made to a recipe sub recipe or default values The note panels is shown below and the appearance is defined by several properties The Popup Panel Font property determines the font of the text the Note Panel Icon Path property determines the image on the upper left hand corner and the Note Background Color property determines the background color This is just an example of the many properties that change the appearance of the Recipe Editor component Ey CTT Assigned By Enter a note describing why this recipe change is being made Cancel
387. ipting name showPrimaryChart Data Type boolean The width of the right chart axis in pixels Scripting name rightAxisWidth Data Type int The horizontal or x position to display the set control limit dialog box Scripting name limitDialogHorizontalc Data Type int The vertical or y position to display the set control limit dialog box Scripting name limitDialogVerticalOf Data Type LNE eR The color of the chart vertical grid lines Scripting name verticalGridLineColor Data Type Color If true show the vertical grid lines in the charts Scripting name showVerticalGridLines Data Type boolean The color of the chart horizontal grid lines Scripting name horizontalGridLineColc Data Type Color If true show the horizontal grid lines in the charts Scripting name showHorizontalGridLine Data Type boolean The background color of the primary chart Scripting name primaryChartBackgrounc Data Type Color If true show the note icon next to the chart point for any samples that have notes or assignable causes Scripting name showNotes Data Type boolean O Inductive Automation Note Image Enable Note Editing Enable Point Deletion Enable Control Limit Editing Events SPC Quali 369 The image to display next to the chart point any samples that have notes or assignable causes Scripting name noteImage Data Type image If true allow the user to add and edit notes and as
388. is Controller AE xf B Name String r O Tag History O Table Data Dataset OTag Line Chart Dat ataset Drill Down Options Dataset m Previous Drill Down Enabled Data Format ini pa Provider Name String Filter String par Compare By_ Siring Data Points A Property Selector O Indirect Tag l Property Property O Expression A PT a To test click on the preview button B This will allow use to use the screen as a user Select Line 1 in the Production Line Selector component and you should see result as shown below PA AAA NAAA AMA UA a edn 7 37 5 y F 35 0 1 32 5 A 275 a4 H 25 0 4 S 225 E 20 0 4 4 gt El D 175 4 ay D 150 34 oi 12 5 El 10 0 75 4 50 AS E 3 Do E H Filler Labeler A Palletizer E Inspection 4 m Downtime Minutes Minutes 1 a 3410111 313111 amp Finished Example Window Go ahead and play with the selected line and date range Inductive Automation f OEE Downtime 53 2 3 Configuration There are two areas to configure the OEE Downtime and Scheduling module The first area is in the Ignition Gateway and affects all MES Modules The second is in the Ignition Designer and is used to configure production models user screens and the like These settings are saved in an Ignition project and can be backed up and restored using the built in project backup and restore features of Ignition
389. is cannot be done by returning the recipe values in a Dataset where each column must be a single data type properties e getName String Returns the name of the recipe value This is the same name entered in the recipe value entry in the designer e hasDescription Boolean Returns True if a description exists for the recipe value e getDescription String Returns the description of the recipe value This is the description entered in the recipe value entry in the designer e hasDataType Boolean Returns True if the recipe value has a data type assigned Recipe values that do not have a tag assigned to them will not have a data type This is because the data type is obtained from the tag e getDataType DataType Returns the Ignition DataType for the recipe value e isValid Boolean Returns True if the value is valid for the data type of the recipe value e getValue Object Returns the value of the recipe value The data type will be one defined by the Ignition DataType ff a value has not been assigned to the recipe value then None will be returned and isValid will return false e getMinValue Object Returns the minimum value that the value can be as defined in the Ignition tag This is different from the recipe value security that depends on the authenticated user See Recipe Security for more information e getMaxValue Object Returns the maximum value that the value can be as defined in the Ignition
390. is is useful when selecting a recipe for a production line and preventing selecting the same recipe for selected child production items ae Recipe Changeover 522 4 7 Scripting This section is a reference for scripting functions provided by the Recipe Module It also has a reference for any objects that are used by or returned by the scripting functions 4 7 1 Client Gateway Scripts The Recipe Changeover Module exposes many script functions that support managing recipes In fact the internal functions used by the recipe editor and other recipe components are exposed as script functions that can be used on the client or the gateway 4 7 1 1 getDefaultValues system recipe getDefaultValues projectName itemPath category subProductCode Return values for a sub recipe based on a product code or default values for a production item This script function can be used in gateway client scripts When called from the client omit the projectName parameter parameters projectName The project name Only include when called from the gateway When called from the client the project is the same as current project for the client Data Type String itemPath The item path to a production line cell cell group or location For example Your Enterprise Your Site Your Area Line 1 Data Type String category Category of recipe values to return Where 1 is recipe values created by the recipe module 2 is recipe values created by the OEE m
391. is negative then the current date will be adjust back by the number of years specified Scripting name addYear Data Type integer Events This component has standard Ignition events Methods none Example Code The following script can be entered into a button s actionPerformed to change the Schedule Date Selector s Current Date back 1 day event source parent getComponent Schedule Date Selector addDay 1 Schedule Entry Controller Description An invisible component that provides adding editing and deleting schedule entries The term invisible component means that the control appears during design time but is not visible during runtime Scheduled entries are stored in the Schedule database table and this control handles all SQL statements duplicate checking etc This component has built in functionality to calculate finish date and time of work order type schedule entries based on the start date and time product code change over time quantity and configured workday routine breaks Alternatively schedule entries can added directly into the Schedule database table directly bypassing the OEE Downtime and Scheduling Module This method supports integration to ERP or other software systems The properties are provided so that after the Schedule ID property is set selection components can be bound to them to display their current values The methods are provided to perform adding editing and deleting of s
392. is results to included quality data for only for first shift Any combination on filters can be added and the corresponding results will be shown Inductive Automation SPC Quality 245 Analysis Settings Filter By add Area Compare By add Day Attribute Name Data Points add Definition Name Sample Count Enterprise Factor Crew Factor Lot Number Include Line Location Product Code Reference No Sample Note Shift Ck Oe Mn RTE x Filter By Options The list of available filters change based on the date range For example if no samples were taken during the second shift then a 2 will not appear as an available option under shift Filter By items can be removed by clicking on the located to the left of the filter name Compare By Breaking up information into groups is more meaningful than just seeing a total for a given date range For example knowing the total sample count for a given data range does not provide actionable information that can be used to improve quality Now comparing by the sample count for each person entering sample data may provide meaningful and actionable data that can be used to determine staffing requirements Additional Compare By items can be added by clicking on the add icon on the right side of the Compare By section Within the popup Compare By selection window click on the item that you want to compare analysis results between Compare By add Location
393. ise Your Site Your Area Line 1 Data Type String The new product code for the line to run next Data Type String Set to 0 to disable 1 to enable Data Type integer Inductive Automation OEE Downtime 199 system schedule selectRun projectName linePath scheduleID Select the schedule entry to run on the specified line The schedulelD can be obtained from the Schedule database table If the line is currently in a production run it will have to be ended before setting a new product code The schedule entry must be valid with a work order and product code appropriate for the line parameters projectName The project name that contains the specified line path Data Type String linePath The line path of the production line that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Data Type SELS scheduleID The value from the ID column of the schedule database te Data Type Integer returns successful Returns true if the new schedule entry for the line has successfully been selected Data Type Boolean system schedule selectNextRun projectName linePath Select the next schedule entry to run on the specified line The next schedule entry is the row in the database Schedule table in chronological order by the StartDate Time column The schedule entry must be valid with a work order and p
394. it signal or interval right click on the table and select New After filling in the necessary fields select OK Editing a Control Limit Out of Control Signal or Sample Interval To edit a limit signal or interval select the item to be edited right click and select Edit from the drop down menu After making the desired changes select OK Deleting a Control Limit Out of Control Signal or Sample Interval To delete a limit signal or interval select the item to be deleted right click and select Delete from the drop down menu For more information view the pages on Control Limits Out of Control Signals and Sample Intervals 3 3 2 1 2 Site Configuration Adding a Site To add your site right click on your enterprise folder in the project browser and select the New Production Item gt New Production Site menu item A site named New Site will be added to the enterprise folder Inductive Automation Renaming a Site SPC Quality 254 To rename it to the name representing the site s physical location right click on it and select Rename then enter the new name Deleting a Site To remove an existing site right click on the site item and select the Delete menu item A window will appear confirming that you permanently want to delete the production site Please note that the area s line s and cell s underneath the site will also be permanently removed 1 Production gt J gt Your Enterprise 1 D
395. it is due so that it will show in the sample list component prior to the time it is actually due For automatic Tag Sample Collectors the coming due will be O and the sample will be recorded and measurements collected when the sample is created Line 12 does the actual checks to determine if a new sample should be scheduled If secSinceLastSample equals None then it means a sample has not been scheduled for the sample definition and location that is being checked In this case anew sample should be created Lines 15 through 17 calculate the scheduled start time for the sample This is the time that the Inductive Automation PC i 273 sample will appear in the sample list component and set the Sample Como Die tag associated with the production location Line 20 sets the create sample flag that tells the SPC module to create a new sample after executing this script This can be done through script functions specifically for creating samples but this simplifies the task of doing so down to one line of script Time Interval Minutes script 1 Time Interval Minutes 2 from java util import Calendar 3 4 Get the last time a sample was scheduled 9 secSinceLastSample event getSecSinceLastSampleScheduled 6 7 Calculate the interval in seconds 8 intervalSec event getInterval 60 9 comingDueSeconds event getComingDueMin 60 10 11 If a sample has not been scheduled or intervalSec has expired schedule a new sa
396. itValue function with the result from this function Syntax Client calcControlLimitValue String locationPath SampleDefinition definition String attributeName String limitName Dataset data Gateway calcControlLimitValue String projectName String locationPath SampleDefinition definition String attributeName String limitName Dataset data Parameters String locationPath The full path of the location to set the control limit Optionally it can be left blank to set the default control limit value that is not tied to any location Inductive Automation SPC li 426 SampleDefinition definition Sample definition to the control limit oe y String attributeName Name of the attribute within the definition to set the control limit for String limitName Name of the control limit to set Dataset data A dataset containing SPC results to calculate the control limit from String projectName Name of the Ignition SPC project Returns ControlLimitC alculatedValue A reference to the results containing the calculated control limit and any messages See Control Limit Calculated Value for more information Scope client gateway system quality spc controllimit calcControlLimitValue Description Control limits normally are calculated using the control charts components and when the process is determined to be stable In cases where additional flexibility is required this scripting function is provided to calculate co
397. ite folder Multiple production areas can be added to your production site Each area can represent a physical or logical production area within your production site Some examples of production areas are packaging cracking filtration fabrication etc Renaming an Area To rename it to the name representing the production area right click on it and select Rename then enter the new name Deleting an Area To remove an existing production area right click on the area item and select the Delete menu item A window will appear confirming that you permanently want to delete the production area Please note that the line s and cell s underneath the area will also be permanently removed Project Browser ox Eg Configuration gt ag Production be gt Your Enterprise 2 8 Your Site New Area Area General Settings O Inductive Automation f OEE Downti 60 y These settings are accessed by selecting the desired area item contained in the site folder in the project browser and then selecting the General tab Enabled By default added areas are enabled It can be disabled by un checking the Enabled setting and saving the project This will stop the OEE downtime and scheduling module from executing the area and all line s and cell s that are underneath it Description This is an optional description and is just for your reference Shift 1 Default If checked shift 1 will be included during scheduling If not chec
398. ition Inductive Automation SPC Quality 222 Definitions Attributes Name Version Name Description Data T Enabled ired Temperature Real M M Locations Location Name Interval T Interval Auto Approve Enabled Control Limits Signals Name Enable Name Enable XBar LCL A Individual Outside O Bar LSL M Out of Limits M Bar UCL MA Outside Limits M XBar USL M J LCL a O Show Disabled Definitions p Cancel Save Sample Definitions Screen Adding a New Sample Definition A new sample definition can be added by right clicking the Definitions Table and selecting Add from the drop down menu A window will appear allowing the user to define multiple general information settings The auto approve will automatically approve a sample when the measurement data associated with it is recorded Once a sample is approved it will appear on the control charts and will included when automatically evaluating for out of control conditions behind the scenes If the auto approve is not selected then samples based on this sample definition will have to be manually or programmatically approved The other general information is straight forward and is described in more detail in the Sample Definition section of this manual The default auto schedule information defines how samples are scheduled In the image below the pH sample definition is set to manual meaning samples are created manually be the use
399. itions are tightly tied to production items equipment and tags both of which cannot be created in the client To export the recipe values in the client right click on a line cell cell group or location underneath the line and select the export menu item A file chooser dialog will appear to select or enter a file name to export to The file format is a comma separated values CSV and contains the following columns e Recipe_Name Value Name Item_Path Description Units Data_Type Format Recipe Value Assigned_By Inductive Automation e Changeover To import recipe values in the client right click on a line cell Reel Group or focation underneath the line and select the import menu item A file chooser dialog will appear to select or enter a file name to import to The file format is a comma separated values CSV and must contain the following columns e Recipe Name e Value_Name e Item Path e Recipe Value All other columns will be ignored during the import Also all values must be surrounded with quotes including the recipe value During importing the recipe value will be converted to the appropriate data type that the recipe value is defined as which is based on the tag it is associated Recipe values can be imported for multiple recipes and production items combinations in one import operation as defined with the Recipe_Name and Item_Path columns of the CSV file This supports bulk import operations instead of only b
400. izontalGridLine Data Type boolean Inductive Automation SPC Quali 339 Primary Chart Background The background color of the primary chart Y Scripting name primaryChartBackgrounc Data Type Color Secondary Chart Background The background color of the secondary chart Scripting name secondaryChartBackgrou Data Type Color Show Notes If true show the note icon next to the chart point for any samples that have notes or assignable causes Scripting name showNotes Data Type boolean Note Image The image to display next to the chart point for any samples that have notes or assignable causes Scripting name noteImage Data Type Image Enable Note If true allow the user to add and edit notes and assignable causes E di ti n Scripting name enableNoteEditing Data Type boolean Enable Point Deletion If true allow the user to temporarily remove samples from chart This is used to remove samples that are known to out of control before calculating control limits The sample that have been removed are not removed from the database and can be restored by selecting the Restore Points menu item Scripting name enablePointDeletion Data Type boolean Enable Control Limit Editing If true allow the user to calculate and set new control limit values Scripting name enableControlLimitEdit Data Type boolean Events This component has standard Ignition events none Methods O Inductive Automation
401. ject contains one or more ParseRow objects Each ParseRow object contains one or more ParseValue objects When results contain values from a CSV source there are rows and columns As the image below depicts CSV data is transformed into a ParseResults object Inductive Automation Instrument Interface Module 585 CSV Text Column 1 Column 2 Column 3 10 20 30 11 21 31 12 22 32 ParseResults ParseRowCollection ParseRow ParseValue 10 ParseValue 20 ParseValue 30 ParseRow ParseValue 11 ParseValue 21 ParseValue 31 ParseRow ParseValue 12 ParseValue 22 ParseValue 32 properties e isValid Boolean If true indicates that all parse values within all parse rows are valid e isRequiredValid Boolean If true indicates that all parse values within all parse rows are required and are valid e isRequired Boolean If true indicates that at least one parse values within all parse rows is required e getParseRows List of ParseRow objects Returns a list of all parse rows contained in this collection Sample script to cycle though all parse value contained in parse rows from org apache log4j import Logger log Logger getLogger ParseResult fileStr system file readFileAsString C Temp Test csv parseResults system instrument parse parseText CSV Test Column fileStr if parseResults isValid rowCollection parseResults getRowCollection CSV Results Inductive Automation Instrum
402. ject name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Data Type String returns successful Returns true if the production run successfully has been resumed Data Type Boolean O Inductive Automation OFF Nawntima 206 system production utils setLineProductCode linePath productCode Set the current product code for a line If the line is currently in a production run it will have to be ended before setting a new product code The product code must exist in the production code table and the line must be enabled to run it parameters linePath The line path of the production ine that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Data Type String productCode The new product code for the line to run next Data Type Sering returns successful Returns true if the project name line path and product co are valid and the new product code has been set Data Type Boolean system production utils startLineProductCode linePath productcode Set the current product code for a line and immediately starts it running If the line is currently in a production run it will have to be ended before setting a new product code The product code must exist in the production code table and the line must be enabled to run it parameters linePath The line path of the production ine that this comp
403. ked shift 1 Enabled will be scheduled around To inherit the shift enabled from the from the site select the Inherit From Parent option Default Start The time of day that first shift starts The first shift ends at the start of second Time shift To inherit the time of day that first shift starts setting from the site select the Inherit From Parent option Shift 2 Default If checked shift 2 will be included during scheduling If not checked shift 2 Enabled will be scheduled around To inherit the shift enabled from the from the site select the Inherit From Parent option Default Start The time of day that second shift starts The second shift ends at the start of Time third shift To inherit the time of day that second shift starts setting from the site select the Inherit From Parent option Shift 3 Default If checked shift 3 will be included during scheduling If not checked shift 3 Enabled will be scheduled around To inherit the shift enabled from the from the site select the Inherit From Parent option Default Start The time of day that third shift starts The third shift ends at the start of first Time shift To inherit the time of day that third shift starts setting from the site select the Inherit From Parent option Note The shift start times are the default for your production site and can be overridden by the production area and or production line Area Schedule Settings These settings are accessed by sel
404. l Limits list on the Enterprise quality tab It is important to include control limits that a signal depends on or the signal will not be evaluated correctly Signals The signals that are checked will be evaluated every time a new sample is recorded by the Tag Sample Collector Available signal options are defined in the Signals list on the Enterprise quality tab Edit Sample Collectors To edit a tag sample collectors right click the Tag Sample Collector table and select Edit from the drop down menu A window will appear identical to the window used to add tag sample collector Once the desired fields have been edited select OK Delete Sample Collectors To delete a tag sample collector select the item to be deleted After selecting right click the item and select Delete from the drop down menu A window will appear confirming that you permanently want to delete the tag sample collector Import Export To export tag sample collector entries right click anywhere on the table containing tag sample collector entries and select the Export menu item A dialog box will appear to allow selection of an existing file or the entry of a name for the new file to which the collector entries are saved If a file extension is not entered then the default csv will be used The first line of the file must at least contain the property names separated by commas If additional names exist they will be ignored The property names can be in any order B
405. l appear in the control charts and analysis Any error messages are returned otherwise an empty string is returned removeAllowedLocation String locationName String Removes the allowed location defined in the locationName parameter Allowed locations are permanently removed but can be added back SPC data is not lost and will appear in the control charts and analysis Any error messages are returned otherwise an empty string is returned clearAllowedLocations All allowed locations contained in this sample definition are removed Allowed locations are permanently removed but can be added back SPC data is not lost and will appear in the control charts and analysis getAllowedLocation String name SampleDefinitionLocation Returns the allowed location with the same name as the name parameter getAllAllowedLocations boolean includeRemoved List lt SampleDefinitionLocation gt Returns a list of all allowed locations associated with this sample definition If the includeRemoved parameter is true the results will include removed allowed locations that have not been committed by saving the sample definition allowedLocationExists SampleDefinitionLocation location boolean Returns true if the allowed location specified in the parameter already exists for this sample definition True will also be returned for allowed locations that have been removed but not committed by saving the sample definition control limit properties addCon
406. l down option the Filter By and Compare By selections will change to show the appropriate information This can be continued any number of times Use 1e 213 ast Drill Down Example 1 bases 38 Capper EX Famer 02 OOS Petosen 08 01 lines Labeler Case Parker Payton Carper e Insperten Drill Down Example 2 Inductive Automation SPC Quality 248 3 3 Configuration There are two areas to configure the SPC Quality module The first area is in the Ignition Gateway and affects all SPC Modules The second is in the Ignition Designer and is used to configure production models user screens and the like These settings are saved in an Ignition project and can be backed up and restored using the built in project backup and restore features of Ignition 3 3 1 MES Module Configuration The SPC Quality module is just one of the SPC Statistical Process Control modules that has settings which can be set 3 3 1 1 Datasource Settings OEE downtime and schedule data is stored in databases external to Ignition These database s are setup in the gateway configuration section by selecting the Databases gt Connections section from the left hand configuration menu in Ignition See the Ignition documentation for more information on setting up a database connection Below shows a typical database connection that is required for the OEE Downtime and Scheduling module Database Connections
407. lculated control limit and any messages See Control Limit Calculated Value for more information Scope client gateway Example Inductive Automation Inductive Automation SPC Quality 427 This is a sample client script to change a control limit to a fixed value Define the starting date to calculate the control limit from java util import Calendar fromDate Calendar getInstance FromDate add Calendar DAY OF MONTH 1 Define the endingdate to calculate the control limit toDate Calendar getInstance Get the sample definition based on its name sampleDef system quality definition getSampleDefinition SQLTag Line 1 Checkweigher Calculate the new control limit value result system quality spc controllimit calcControlLimitValue New Enterprise New Site Packaging Line 1 Line 1 Quality sampleDef Weight Individual LCL fromDate getTime toDate getTime Check the results to make sure there are no messages if result None and result hasMessage 0 Set the actual control limit to the new calculated value system quality spc controllimit setControlLimitValue New Enterprise New Site Packaging Line 1 Line 1 Quality sampleDef Weight Individual LCL result getCalculatedValue 3 7 3 7 1 SPC Quality 428 Analysis Providers Analysis providers determine which information will be viewed on a graph or pie chart Based on which Analy
408. lean includeRemoved List lt SampleDefinitionLocation gt Returns a list of all allowed locations associated with this sample definition If the includeRemoved parameter is true the results will include removed allowed locations that have not been committed by saving the sample definition e controlLimitExists SampleDefinitionControlLimit controlLimit boolean Returns true if the control limit specified in the parameter already exists for this sample definition signal properties O Inductive Automation e addSignal SampleDefinitionSignal signal String Adds a new signal defined in the signal parameter By adding a signal to this sample definition it will show as an option in the control charts and may also be automatically evaluated The signalparameter must be a valid signal that appears in the enterprise production item Any error messages are returned otherwise an empty string is returned e removeSignal SampleDefinitionSignal signal String Removes the signal defined in the signal parameter Any error messages are returned otherwise an empty string is returned e removeSignal int index String Removes the signal defined in the index parameter Any error messages are returned otherwise an empty string is returned e removeSignal String signalName String Removes the signal defined in the signalNameparameter Any error messages are returned otherwise an empty string is returned e clearSignals All signals containe
409. lected Line Path The currently selected line path This is the full path name of the line starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Script selectedLinePath ing name Data String Type Inductive Automation OEE Downtime 91 Selected Line Name The currently selected line name This is just the line name excluding the rest of the ine path For example Line 1 Scripting name selectedLineName Data Type String The currently selected line ID This is internal system ID for this line Useful for user defined queries into the database For example event source parent getComponent Production Line Selector selectedLinelD will return the selected line id Scripting name selectedLineID Data Type SLE Events This component has standard Ignition events Methods none 2 4 1 2 Production Cell Selector Zi Description A component that provides users to select a production cell from a drop down list Production cells are defined in the production model within the designer Filler 2 Filler Capper Labeler Case Packer Palletizer Cell Drop Down List Properties This component has standard Ignition properties with the addition of the following properties Inductive Automation 2 4 1 3 OEE D ti 92 Line Path The line path of the production line that this component is associated with This is the full path name of
410. led Line 1 Quality Manual 0 Y M Line 2 Quality Manual 0 M M Sample Definition Location List The Ignition table customizer is used to change the appearance of the table To access the Inductive Automation SPC li 284 customizer right click on the Definition Location List component and che burn Le gt Table Customizer menu item Using the customizer you can hide columns change colors and change formatting to make the Definition Location List appear as desired When the Read Only property is set to false the Move Up and Move Down menu items will appear in the popup menu This allows the user to change the order that attributes appear in the Sample Entry component Properties This component has standard Ignition properties with the addition of the following properties Location ID The location ID property does not show in the Ignition Designer property list It on only available in scripting to read the ID of the current production location that is selected when the Edit menu item is clicked Scripting name locID Data Type int Read Only When set to true prevents the popup menu from appearing when the user right clicks on the Definition Location List component Scripting name readOnly Data Type boolean Events This component has standard Ignition events with the addition of the following events add Event Properties edit Event Properties event getSampleLocName remove Event Properties event ge
411. lementations set this to the datasource for the common remote enterprise database Analysis Query Cache Duration This setting represents the number of seconds to cache analysis results Production Model Configuration A production model defines your manufacturing or process in tree view form It provides an organized way to easily configure control and analyze your facility It starts with your enterprise which represents your company and continues down to the site physical location area location line and cells Inductive Automation 3 3 2 1 Production Module OSI sa The production model is configured within the Ignition designer and is accessed by selecting the Production folder in the project browser From here your enterprise site area s line s and cell s can be added renamed and deleted Project Browser Eg Configuration 3 Production f gt Your Enterprise gt B Your Site gt Ek Your Area j gt a Line 1 4 E Filler Capper j Labeler Inspection Case Packer E Palletizer gt Line 2 f actig x ra ha N Production Model Tree 3 3 2 1 1 Enterprise Configuration Adding an Enterprise To add your enterprise right click on the Production folder in the project browser and select the New Production Item gt New Production Enterprise menu item An enterprise named New Enterprise will be added to the Production folder Renaming an Enterprise To renam
412. lines under Packaging will be displayed Scripting name itemPath Data Type String The selected schedule ID of any mouse click or 1 if no event item exists at the location Scripting name selectedEvent Data Type Integer Returns the date in the view where the mouse was right clicked last Scripting name selectedDate Data Type Date Selected Event Line Path The selected line path of any mouse Click on an event Selected Event Run ID Scripting name selectedLinePath Data Type String The selected Run ID of any mouse click or 1 if no event item exists at the location Scripting name selectedRunID Data Type Integer Selected Event Run Name The selected Run Name of any mouse click or blank if no Selected Event Start Selected Event End O Inductive Automation event item exists at the location Scripting name selectedRunName Data Type String Returns the start date of any mouse click or blank if no event item exists at the location Scripting name selectedEventStart Data Type Date Returns the end date of any mouse click or blank if no event item exists at the location Scripting name selectedEventEnd Data Type Date Event Border Selected Event Border Line Height Event Margin Schedule Background Current Time Color Line Color Header Font Header Text Color Header Background Progress Bar Background conte OE 156 Sets the border type for non select
413. ling Enable Polled Requests M Request Polling Rate 10 000 Solicited Request Script import time ST Accept Unsolicited Request C Connect Disconnect Connect Script port event getSerialCon E Disconnect Script Serial Settings Configuration General Enable Serial If checked these port settings will be applied to the Serial Controller component when this Instrument Interface is assigned to its Instrument Interface Name property Port Settings Baud Rate Serial Communication baud rate Select from the following Baud 110 Baud 150 Baud 300 Baud 600 Baud 1200 Baud 2400 Inductive Automation Data Bits Parity Stop Bits Hand Shaking Timeout Character Encoding Clear Buffer Before Sending Correct CRLF Request Handling Enable Polled Requests Request Polling Rate Solicited Request Script Inductive Automation Instrument Interface Module 559 Baud 4800 Baud 9600 Baud 19200 Baud 38400 Baud 57600 Baud 115200 Baud 230400 Baud 460800 Baud 921600 Serial communication data bits Select from the following DATA BITS 5 DATA BITS 6 DATA BITS 7 DATA BITS 8 Serial communication parity Select from the following NONE EVEN ODD MARK SPACE Serial communication number of stop bits Select from the following Stop Bits 1 Stop Bits 2 Serial communication flow control methods Select from the following NONE CTS DTR CTS RTS DSR DTR XON XOFF The default number of milliseconds to wait while reading dat
414. ling Module However in addition to these comparisons additional factors may be available if they are string data type All additional factors start with Factor For example Factor Operator A comparison allows one data point to be compared between all areas days etc For more information on comparisons see the Compare By paragraph in the Analysis Screen section Area Enterprise Line Package Count Product Code Production Units Run Site Data Points These are the data points that are available in the OEE Downtime and Scheduling Module However in addition to these comparisons additional factors may be available if they are string data type All additional factors start with Factor For example Factor Operator Data points are the different values that will be presented or compared on a graph or chart For more information on data points see the Data Point paragraph in the Analysis Screen section Area Enterprise Line Loading Actual O Inductive Automation OEE Downtime 218 Loading Scheduled OEE OEE Availability OEE Performance OEE Quality Package Count Product Code Production Units Run Shift Site TEEP Actual TEEP Scheduled Inductive Automation i OEE Downtime 219 2 9 Miscellaneous This section contains additional information to be used for reference 2 9 1 Additional Factors The OEE Downtime and Scheduling Module collects and logs a number of downtime and production dat
415. lity Line Waste Count j OEE OEE Availability OEE Performance y OEE Quality i Package Count d Lf F Product Code f H a ps A can A PR p 1 2 a Compare By and Data Points List Selections can be removed by selecting the link to the left of the selection Properties This component has standard Ignition properties with the addition of the following properties Inductive Automation Table Data Chart Data Line Chart Data Drill Down Options Previous Drill Down Enabled Provider Start Date End Date Filter Selection Summary Inductive Automation OEE ti 10 This property holds data in a format Pat s Optimized for binding to a table component Scripting name Data Type tableData Dataset This property holds data in a format that is optimized for binding to pie and bar chart components such as the Production Bar Chart and Production Pie Chart Scripting name chartData Data Type Dataset This property holds data in a format that is optimized for binding to a line chart component lineChartData Dataset Scripting name Data Type This property holds the drill down options appropriate for the current filter and compare by settings drillDownOptions Dataset Scripting name Data Type This property indicates if there are entries in the drill down cache maintained by this component Scripting name previousDrillDownEnab led Data Type Boolean This property holds the current pro
416. ll categories Data Type String returns A list of ltemRecipeValue objects See ItemRecipeValue object for more information Data Type List lt ItemRecipeValue gt Example itemPath event source parent getComponent Production Line Selector selectedPathWithout Request the recipe values for production item and recipe combination list system recipe getRecipeValues itemPath Recipe Cl 6Pk 1 system gui messageBox str list size for rv in list system gui messageBox s Ss rv getName str rv getValue O Inductive Automation 4 7 1 19 isltemRecipeMonitoringEnabled Recipe Changeover 539 system recipe isItemRecipeMonitoringEnabled projectName itemPath Return recipe value monitoring enabled state See Variance Monitoring for more information This script function can be used in gateway client scripts When called from the client omit the projectName parameter parameters projectName itemPath The project name Only include when called from the gateway When called from the client the project is the same as current project for the client Data Type String The item path to a production line cell cell group or location For example Your Enterprise Your Site Your Area Line 1 Data Type SEE Lig returns True if recipe value monitoring is enabled Boolean Inductive Automation 4 7 1 20 setltemRecipe Recipe Changeover 540 system recipe setItemRecipe projectName itemPath
417. ll down cache maintained by this component Scripting name previousDrillDownEnabled Data Type Boolean This property holds the current provider of analysis data See Analysis Providers for available options Scripting name providerName Data Type String This property holds the current filter item selections to filter the analysis results by If more than one item exists they are separated by commas See Analysis Providers for available filters for each provider type Scripting name filter Data Type String Inductive Automation Compare By Data Points Start Date End Date Dynamic Properties Events Thi DEE Downie 103 is property holds the current compare by item selections to group the analysis results by If more than one item exists they are separated by commas See Analysis Providers for available compare by values for each provider type Scripting name compareBy Data Type String This property holds the currently selected data points to include in the results If more than one item exists they are separated by commas See Analysis Providers for available data points for each provider type Scripting name dataPoints Data Type String This property is the starting date for retrieving analysis data and determining available filter and compare by options Scripting name startDate Data Type Date This property is the ending date for retrieving analysis data and determining available filte
418. ll group s and location s underneath the enterprise will also be permanently removed O Inductive Automation Recipe Changeover 466 General Enterprise Settings p 3 For the enterprise there are only general settings These settings are accessed by selecting the enterprise item contained in the Production folder in the project browser and then selecting the General tab as shown below Your Enterprise f Enterprise Production Item Save project to make production changes active General OEE Down Time Schedule Advanced Enabled M E e re Description i ra i TE ian y Enterprise General Settings Enabled By default added enterprises are enabled It can be disabled by un checking the Enabled setting and saving the project This will stop the OEE downtime and scheduling module from executing the enterprise the site and all area s line s and cell s that are underneath it Description This is an optional description and is just for your reference Recipe Values Recipe values can be added to enterprises but tags cannot be associated with them The recipe values that are added to an enterprise are propagated down to production sites areas lines cells cell groups and location beneath the enterprsie This provides a quick method to add recipe values that are common to all machines within an enterprise lt also allows for the ability to propagate a value of a recipe value down to all produc
419. lls associated to this Line Short downtime events are always recorded and can be displayed via the analysis components Run Disabled Reason Code Anytime a production run is ended and then later resumed this reason code will be used as a downtime reason A downtime reason with the same reason code must exist in the downtime reason table The reason can be set to planned or unplanned downtime to produce the desired results during analysis and reporting Changeover Time Reason Code When changeover time is scheduled for a production run but production does not begin when the changeover ends this reason code will be used as a downtime reason A downtime reason with the same reason code must exist in the downtime reason table The reason can be set to planned or unplanned downtime to produce the desired results during analysis and reporting See the section on Downtime Reasons for more information 2 3 2 1 5 Cell Group Configuration Adding a Cell Group To add a production cell group right click on a line folder in the project browser and select the New Production Item gt New Production Cell Group menu item A cell group named New Cell Group will be added to the line folder Multiple production cell groups can be added to a production line Inductive Automation OEE Downtime 71 Renaming a Cell Group To rename it to the name representing the production cell group right click on it and select Rename then enter the new name Delet
420. lly Install OEE Downtime and Scheduling demo Note Install the OEEDemo to experience the features of the OEE Downtime and Scheduling module Demo Installation Page 2 2 2 User Interface This section will walk through the user screens of the OEE Demo As you are going through this section it is important that you keep in mind that these screens are just provided for demo training and to reduce the time required to get up and running They can be modified deleted or add new screens using the Ignition designer But we will save that for the next section To start the OEE Demo go to the home section in the gateway and click on the launch button as shown below Ignition by inductive automation Developer Mode Home Status Configure Launch Designer C7 Logged in as admin log out 4 Launch Projects OEE DT Schedule demonstration application Launch c Experience the features of the OEE DT Schedule module h p a ESA AAN EE AAA pe a i ve pon se LE Launch OEE Demo Client Inductive Automation OEE Downtime 26 2 2 2 1 Work Orders Work orders track the progress of production of a given product They can span across multiple production runs of a given product As shown below the total number of products in the first work order is 10 000 We can also see that no cases have been scheduled no cases have been produced so far so all the cases are remaining As production runs are scheduled and product is manufa
421. lly In the SPC module control limits can be either calculated or can act as specification limits Specification limits are requirements made by the company not a reflection of the process itself There are different control limits types for each type of control chart For example the XBar only supports XBar UCL XBar LCL and XBar Other control limits types and cannot be calculated or shown for any other control chart besides the XBar control chart The control limits are defined by the enterprise and can be added edited or deleted on the Enterprise page in the designer under the Quality tab By default the standard control limits are added when a new Enterprise Production Item is added 3 3 3 2 Default Control Limits When a new Enterprise Production Item is added the following control limits are added c LCL c UCL Histogram LCL Histogram UCL Individual LCL Individual UCL Median LCL Median UCL MR LCL MR UCL np LCL np UCL p LCL p UCL Range LCL Range UCL StdDev LCL StdDev UCL StdDev XBar LCL StdDev XBar UCL uLCL uUCL XBar LCL XBar LSL XBar UCL XBar USL 3 3 3 3 Add Control Limits To add a control limit right click the Control Limits table and select New from the drop down menu A window will appear with several fields to be completed including the name and kind Inductive Automation SP ali 262 of the control limit as well as the scripting necessary to use the control fr y PF Edit Control
422. low entry of a name count SQLTag and maximum as shown below hZ Add Product Waste 23 Name Count SQLTag Doo O OE S Max Raw Count 32768 Product Waste Settings Name The required product waste name is used to reference one waste entry from another and must be unique Count SQLTag The required SQLTag is the source of the raw waste counts This typically comes from a PLC but can come from other sources such as barcode readers database queries or derived by another means The data type format of the SQLTag containing the raw waste count must be a number Max Raw Count This is the maximum raw count value before it is reset to zero See note below Note The term raw count is used because it is a relative waste count It just starts at zero and counts up to a rollover value typically 32767 where it become zero again The OEE Downtime and Scheduling module calculates the actual waste count from raw count This eliminates having to reset the value in the PLC or other device at the beginning of a production run As a result the programming that is required in the PLC or other device is simplified It also eliminates problems typically associated wth reset handshaking and production runs that exceed the limits of PLC counters For an OEE tracking system to be accurate it must withstand communication errors power outages etc By using rawcounts that rollover and let the OEE Downtime and Scheduling mod
423. lts can be shown for each cardboard manufacturer This can identify quality problems with raw material that directly affect efficiencies Inductive Automation na OEE Downtim 63 Below is an example of an operator additional factor The operators name will be logged along with the production and downtime data By doing so OEE and downtime information can be filtered and grouped by the operator name Line 1 Line Production Item General OEE DownTime Schedule Advanced Enabled M Description Line 1 Description Shift 1 Start Time Inherit From Parent Le Ex shift 2 Start Time inherit From Parent Shift 3 Start Time Inherit From Parent Additional Factors Factor Name Factor Description Factor SQLTag Operator Maintains the current operator for the run Other use Line 1 Run Operator AA EE tte E we Additional Factor List Adding an Additional Factor To add an additional factor right click anywhere on the additional factor table and select the New menu item A dialog box will appear to allow entry of a new additional factor as shown below g Z Add Additional Factors xs Factor Name Factor Description Factor SQLTag OK S Additional Factor Settings Factor Name The required name of the additional factor is used to reference one additional factor from another You can have any number of additional factors
424. lts property of the SPC Controller or SPC Selector components Ther SPC Results contain all the information so that the control charts can display the results which is not possible with the data set alone Scripting name spcResults Data Type SPCResults SPC Data This property holds the SPC data and includes columns for the calculated values based on the SPC Data Format and selected attribute control limits and signals Scripting name spcData Data Type Dataset Measurement Count This property represents the number of measurements for each sample in the SPC results Scripting name measurementCount Data Type Int Inductive Automation SPC Quali 329 User This property can optionally be set to override the current user logged in It is used when notes or assignable causes are added or modified Scripting name user Data Type String Background Color The background color Scripting name backgroundColor Data Type Calor Definition Name The sample definition to used when building SPC results Scripting name definitionName Data Type String No Data Message Text to display if not data is available to show in the control chart Scripting name noDataMessage Data Type String No Data The foreground color to display the no data message F or e gr o u n d Scripting name noDataForeground Data Type Color No Data Font The font to display the no data message Scripting name noDataFont Data Type PONG Table Properties Show
425. lude in the recipe change log history results Multiple categories Inductive Automation ae 7 Recipe Changeover 547 can be specified to be included in the results Valid valles are s Q RECIPE to include change log entries dealing with recipe changes Recipe changes include adding new recipes renaming recipes deleting recipes adding production items to recipes etc Q RECIPE_VALUE to include change log entries dealing with changes of recipe values This includes changing a value reverting a value back to be inherited etc Q SUB_PRODUCT_CODE to include change log entries dealing with sub product codes This includes adding new sub product codes renaming sub product codes deleting sub product codes etc Q SUB_PRODUCT_CODE_VALUE to include change log entries dealing with changes of sub product code values or default values for a production item This includes changing a value reverting a value back to be inherited etc removeCategory String category Remove a category for what has already been added setFromDate Date fromDate Set the start of the date range to return change log history for setToDate Date toDate Set the end of the date range to return change log history for setltemPathFilter String itemPath Set the path of the production item to return change log history for For example Your Enterprise Your Site Your Area Line 1 setRecipeNameFilter String recipeName Set an optional recipe filter The filter c
426. lue Alcohol LabelDensity text str parseResults getValue Density LabelCalories text str parseResults getValue Calorie 1 1 1 1 event source parent getComponent event source parent getComponent Serial Controller D WO Description An invisible component that handles serial communications and parsing functions to provide instrument device communications The term invisible component means that this component appears during design time but is not visible during runtime Inductive Automation Instrument Interface Module 573 In design time the last raw data received from the communication port can be sent to the selected template defined by the Instrument Interface Name by right clicking on the component in the Ignition designer and selecting the Send to Template menu item This will also select and display the template and replace the existing textual data with the last raw data received In run time if the Instrument Interface Name property is set raw data received from the serial communications port will be sent to the parsing engine on the gateway to be parsed The template used to parse the raw data is named the same as the value of the Instrument Interface Name property Properties This component has standard Ignition properties with the addition of the following properties Instrument Interface Name Port Baud Rate Inductive Automation The name of the Instrument Interface configuratio
427. lue specified in the timeout parameter then any characters received will be returned parameters count The number of bytes to read from the port Data Type Integer timeout The time in milliseconds to wait for a response from the O Inductive Automation Instrument Interface Module 580 port Data Type Integer returns The data read from the port Data Type byte readUntil delimiter includeDelimiter Reads and returns string data from the communication port up until the character specified by the delimiter parameter If an error occurs the errorMessage property will be set and an exception will be thrown ff the delimiter character is not received within the default timeout setting then any characters received will be returned parameters delimiter The delimiter to read until Data Type Char includeDelimiter If true the delimiter will be included in the return value Data Type Boolean returns The data read from the port Data Type brins readUntil delimiter includeDelimiter timeout Reads and returns string data from the communication port up until the character specified by the delimiter parameter If an error occurs the errorMessage property will be set and an exception will be thrown ff the delimiter character is not received within the value specified in the timeout parameter then any characters received will be returned parameters delimiter The delimiter to read until Data Type
428. ly selected sample A UUID is a universally unique identifier that once assigned to a sample will never change It is automatically generated when a sample is created and is unique in that no two samples will have the same UUID Data TypeString ls fired when Review menu item is selected The Review menu item will only appear if script has been added to this PC li 2 event SPC Quality 96 Event Properties event getSampleUUID Return the sample UUID for the currently selected sample A UUID is a universally unique identifier that once assigned to a sample will never change It is automatically generated when a sample is created and is unique in that no two samples will have the same UUID Data TypeString Methods createByDefUUID defUUID Create a new sample based on the sample definition specified by the defUUID parameter parameters defUUID Sample definition UUID to base the new sample on A UUID is a universally unique identifier that once assigned to a sample definition will never change It is automatically generated when a sample definition is created and is unique in that no two samples definitions will have the same UUID Data Type String See SampleDefinition Object for more information returns Sample An instance of a new sample Data Type Sample See Sample Object for more information createByDefName defName Create a new sample based on the sample definition s
429. ly selects the best range of values for the domain axis the range axis or both axes to in order to see the entire graph for the date or time range selected at the bottom of the screen Can also be used with bar graphs Reset Axes Resets both axes to their original ranges 2 2 3 6 TEEP The Dashboard TEEP screen compares the TEEP and the OEE between all lines with production data though bar graphs The slide at the bottom of the page causes the date to be changed allowing the user to select a specific day or time or a broad range of dates to view These graphs may also be saved or printed by right clicking on the desired graph For more information on TEEP click here For more information on OEE click here TEEP TELP By Line eo ER o Y m te ns E g CAT EC TEEP Screen Inductive Automation OEE Downti 43 2 24 Production Model one A production model defines your manufacturing or process in tree view form It enables an organized manor to easily configure control and analysis your facility See Production Model for more detailed information 2 2 4 1 Production Item Settings General Settings When you click on the Your Site production item in the production model there are settings that are accessible in the open workspace By clicking the General tab the current general settings are visible and can be changed As shown below the Default Shift Start Time settings are visible and can be changed
430. mDate fromDate filters setToDate toDate Request the change log for the given filters ds system recipe getChangelogHistory filters event source parent getComponent Table data ds O Inductive Automation Recipe Changeover 535 4 7 1 15 getRecipeVariances system recipe getRecipeVariances projectName varianceFilters Based on the filters set in the varianceFilters parameter return recipe value variances See Variance Monitoring for more information This script function can be used in gateway client scripts When called from the client omit the projectName parameter parameters projectName The project name Only include when called from the gateway When called from the client the project is the same as current project for the client Data Type String varianceFilters Change log filters See VarianceFilters object for more information Data Type VarianceFilters returns A Dataset object containing rows and columns of recipe value variances Dataset Example Collection values we want to filter by projectName system util getProjectName itemPath event source parent getComponent Production Line Selector selectedPathWithout Build the filters object filters system recipe filter variance createNew filters setProjectName projectName filters setVarianceEntryType Recipe filters setVarianceScopeTypes Last filters setItemPath itemPath Request the variances for the given filters ds
431. me factorVal OFF Nawntima 2n2 Ls adjustRunDataByShift runUUID cellName ShiftDate 1s adjustRunDataByShift runUUID cellName ShiftDate lue adjustInfeed Recalculates production data for a line or a cell based on the shift factor name and the factor value The run must be complete for adjustment to be accurate parameters returns runUUID cellName shiftDate factorName factorValue adjustInfeed none The unique run identifier of the run to adjust This value ca accessed via the Analysis Controller datapoint called Rur Identifier Data Type String Name of the cell to adjust Leave blank to indicate the line Data Type SELIN The shift date you want adjusted This value can be acces the Analysis Controller datapoint called Shift Date Data Type Date The run factor to adjust The possible values are InfeedC ProductionCount or WasteCount Data Type See Lag The value to set the factor to NOTE PRODUCTION DAT BE MODIFIED AND CANNOT BE UNDONE USE WITH EXTREME CAUTION Data Type Double If set to 1 True the InfeedCount will always be modified i False the InfeedCount will not be modified if ProductionCount or WasteCount are being adjusted If thi parameter is omitted the default is 1 True Data Type Boolean Inductive Automation OEE Downtime 203 system production utils cancelRun linePath Cancel the current run for a line This is only valid if the prod
432. me is used to reference one outfeed from another and must be unique Count SQLTag The required SQLTag is the source of the raw production counts This typically comes from a PLC but can come from other sources such as barcode readers database queries or derived by another means The data type format of the SQLTag containing the raw production count must be a number Max Raw Count This is the maximum raw count value before it is reset to zero See note below Default Standard Rate The OEE calculation requires the designed rate that the production line can produce Typically machines and processes only run at these rates theoretically This setting is the default value for the standard rate but can be overridden by product and line in the user screens Default Package Count This is the default number of infeed units which end up in an outfeed unit If package count does apply then enter 1 0 For example there may be 10 bottle infeed in a case outfeed or 10 gallons infeed in a bucket outfeed When calculating waste and production count information the package size is very important It can change based on the product being run and the default value and can be overridden by the product in the user screens Standard Rate Period This is the time period to use for the default standard rate If the default standard rate is in units per hour select Hour otherwise select Minute Inductive Automation 2 3 6 2 2 3 6 3 2 3 6
433. moving range data will be returned Median Median and moving range data will be returned P P chart data will be returned NP NP chart data will be returned C C chart data will be returned U U chart data will be returned Histogram Histogram data will be returned Pareto Pareto data will be returned Scripting name spcDataFormat Data Type SPCDataFormat Numeric value used in scripting None XBarR XBarS Individua Median U Cc P NP Histogram Pareto CT Ci J O O1 B ND 0 This property is the starting date for retrieving analysis data and determining available filter and compare by options Scripting name startDate Data Type Date This property is the ending date for retrieving analysis data and determining available filter and compare by options Scripting name endDate Data Type Date This optional property can be used to populate the Definition Name Attribute Name Fllter Control Limits Slgnals SPC Data Format properties with those in a store SPC settings Stored SPC settings are saved using the SPC Selector and Stored SPC Selector components Scripting name storedsPCName Data Type SEring The sample definition to used when building SPC results Scripting name definitionName Data Type String Attribute Name Filter Control Limits Signals SPC Results SPC Data Thi que Quality HET is property holds the attribute from the sample definition to i
434. mple 12 if secSinceLastSample None or secSinceLastSample gt intervalSec comingDueSeconds ES 14 Schedule next sample to start now coming due minutes 15 cal Calendar getInstance 16 cal add Calendar SECOND int comingDueSeconds 17 event setScheduleStart cal getTime 18 19 Create new sample no values are recorded 20 event setCreateSample 1 3 3 5 4 Edit Intervals To edit a sample interval right click the Sample Intervals table and select Edit from the drop down menu A window will appear identical to the window used to add sample intervals Once the desired fields have been edited select OK 3 3 5 5 Delete Intervals To delete a sample interval select the item to be deleted After selecting right click the item and select Delete from the drop down menu A window will appear confirming that you permanently want to delete the sample interval 3 3 5 6 Import Export To export interval entries right click anywhere on the table containing interval entries and select the Export menu item A dialog box will appear to allow selection of an existing file or the entry of a name for the new file to which the interval entries are saved If a file extension is not entered then the default csv will be used The first line of the file must at least contain the property names separated by commas If additional names exist they will be ignored The property names can be in any order Below is a sample csv file showing
435. mple data getNewByDefName String projectName String defName String locationPath Parameters String defName Existing sample definition name to base this sample on String locationPath A valid path to a location String projectName Name of the Ignition SPC project Returns Sample A reference to the newly created sample Scope client gateway Example locationPath event source parent LocationPath sampleDefName event newValu sample system quality sample data getNewByDefName sampleDefName locationPath 3 6 3 2 2 3 getCreateSampleBy Def UUID system quality sample data getCreateSampleByDefU UID Description Return a sample that matches the sampleUUID parameter If not found create and return a new sample based on the sample definition that matches the definitionUUID parameter The newly created sample will also be initialized for the location specified by the locationPath parameter Syntax Client system quality sample data getCreateSampleByDefUUID String sampleUUID Inductive Automation f SPC Quality 421 String defUUID String locationPath Gateway system quality sample data getCreateSampleByDefUUID String projectName String sampleUUID String defUUID String locationPath Parameters String sampleUUID Sample UUID to lookup String defUUID Existing sample definition UUID to base the new sample on String locationPath A valid path to a location to base the new sample for Stri
436. mum number of sample to show on the control chart If more than the minimum visible samples exist in the SPC results then a horizontal scroll bar will appear and allow the user to scroll back to earlier samples Scripting name minVisibleSamples Data Type UE The minimum number of measurements to show in the table of the control chart If more than the minimum visible measurements exist in the SPC results then a vertical scroll bar will appear and allow the user to through all measurements Scripting name minVisibleMeasurements Data Type DUE The width of the table column for each sample The charts will be expanded to match the column width Scripting name columnWidth Data Type E The height of the table rows Scripting name rowHeight Data Type LNE The background color of the sample date row Scripting name dateBackground Data Type Color The foreground color of the sample date values Scripting name dateForeground Data Type Color The font to display the sample date values Scripting name dateFont Data Type Font Inductive Automation Date Format Label Background Label Foreground Label Font Data Background Data Foreground Data Font Calc Background Calc Foreground Calc Font Inductive Automation SP li 61 The date formatting pattern to display fre ample dates Scripting name dateFormat Data Type String The background color of the labels Scripting name labelBackground
437. n area See Line Configuration for more details The current Shift 3 enabled Boolean state for the production line It reflects the Shift 3 Enabled property for the line in the designer The initial value of this property is determined by the Shift 3 Initial Enabled State property for the production line in the designer See Line Configuration for more details It can be changed from the initial value The current Shift 3 Start Time DateTime time for the production line If Read Only the associated Shift 3 Start Time property for the line in the designer is set to Inherit From Parent this be the time defined for the parent production area See Line Configuration for more details The total minutes of unplanned Float8 downtime for the current shift Read Only The total minutes that have Float8 elapsed from the start of the Read Only shift Inductive Automation Shift Infeed Count Shift Production Count Shift Run Time Minutes Shift Scheduled Count Shift Scheduled Finish Time Shift Standard Count Shift Standard Variance Shift Target Count Shift Target Variance Shift Waste Count Standard Rate Standard Rate Period State SQL Tag Inductive Automation The true unit count at the primary product infeed for the current shift The true unit count reflects the start of shift count and raw count rollovers The total production count that has been produced for the current shi
438. n changes or different raw materials being used This part of the example refers to quality Unlike SPC quality requires more than installing software collecting samples and analyzing the results Once the most likely causes of the off color product have been determined SPC can be used to monitor the attributes and narrow down and isolate the cause It may be determined that when the pH of a sub ingredient falls out of a certain range the stability of the product color is degraded With this knowledge SPC can be used to monitor the pH so that if it falls out side of range it can be corrected quickly This prevents a bigger problem that may appear after the product sits in the warehouse for a period of time Inductive Automation SPC Quality 221 3 1 Introduction The Ignition SPC module exceeds the capabilities of normal SPC software It performs many tasks beyond control charts and manual data entry Below is a list of some of the features that the SPC modules is capable of e Manual sample collections e Automatic sample collections e Scheduling samples based on realtime production conditions e Alerting of samples coming due due or overdue e Automatic evaluation of control limits and out of control signals without human intervention e Alerting of out of control conditions e Customizable screens e An much more The SPC module is very powerful but some implementations need more functionality or different functionality than wh
439. n of an event item Scripting name runChangeOverColor Data Type Color Maintenance Completed Color The color of a completed maintenance item Maintenance Running Color Scripting name maintenanceCompletedColor Data Type Color The color of a running maintenance item Scripting name maintenanceRunningColor Data Type Color Maintenance Scheduled Color The color of a scheduled maintenance item Other Completed Color Other Running Color Other Scheduled Color Break Color Disabled Shift Color Scripting name maintenanceScheduledColor Data Type Color The color of other completed items Scripting name otherCompletedColor Data Type Calor The color of other running items Scripting name otherRunningColor Data Type Color The color of other scheduled items Scripting name otherScheduledColor Data Type Color The color of a break time span background Scripting name breakColor Data Type Color The color of a disabled shift time span background Scripting name disabledShiftColor Data Type Color Inductive Automation OEE Downtime 159 2 5 Production OPC Values The production model is defined in the Ignition designer and contains your production areas lines and cells Aruntime access into configuration and current state of the production model is available through the Production OPC Server It is added automatically when the OEE Downtime and Schedule Module is installed When the production item
440. n rows Scripting name gapy Data Type LAG Events This component has standard Ignition events none Methods save Save changes made to the measurement values This method also records the current product code and reference number for the production location parameters none returns String Message of any errors that may have occurred during the save operation Data Type String save productCode refNo Save changes made to the measurements values along with a product code and reference number specified in the parameters parameters Inductive Automation SPC Quality 301 productCode Product code to record along with the measurement alues Data Type String refNo Reference number to record along with the measurement values Data Type String returns String Message of any errors that may have occurred during the save operation Data Type String undo Any changed measurement values will be restored to their original values parameters none returns nothing approve Approve the current sample parameters none returns String Message of any errors that may have occurred during the approve operation Data Type String unapprove Unapprove the current sample parameters none returns String Message of any errors that may have occurred during the unapprove operation Data Type Seeing showEditNotePopup Show the note popup to allow the user to add or edit the note tied to the cur
441. n the Functions option and select one of the binding functions from the drop down list Alerts Alert History Alert Status Analysis OEE DT Runtime Data Down Time History 7 Production History Binding Options List The parameters that are associated with the selected binding function will appear Each of these parameters can accept a constant value bound to a property of another component or bound to a SQLTag O Inductive Automation 2 6 1 2 6 1 1 e Y Property Binding Window Root Container Dropdown data 1 Binding Types O Tag History OTag O Indirect Tag EG O Property O Expression O DB Browse O SAL Query GEN O Cell Update Functions x No Binding Binding Function Filter Options y Analysis Type J 5 p ownt ime Start Date fzou oe o1 ce BS Polling Mode Oof Relative Absolute Polling Rate Rate Base Rate sec Filter Hame Line d N End Date ao OK Cancel Property Binding Window Once the parameters have been set and the polling mode selected the server will return the results based on the provided parameter values Analysis The following binding functions are provided by the Production Module which comes with the OEE Downtime and Scheduling Module Analysis Filter Description The Analysis Filter binding function is used to return
442. n the Read Only property can be set to True to prevent the select popup menu from Swine See Recipe Selection List for more information about the component Starting an OEE Production Run When a production run is started for the OEE Downtime Module a product code is selected or a work order that is associated with a product code If a recipe that is named exactly the same as the product code exists and the production line that is being started for the OEE Downtime Module has been previously added to that recipe then the recipe will be selected at the same time In the image below the Mixed Nuts production run started at 12 00 and at the same time the Mixed Nuts recipe was selected This greatly simplifies setup of new production runs because only one selection of the product has to be made This also eliminates mistakes of selecting different products for the production run and the recipe OEE production runs can be started many different ways and using a production schedule as shown in the image is only one of them For more information see the MES OEE Downtime Module documentation Inductive Automation Racine Channenvar 453 Production Schedule OEE production N Current date and time run started at 12 00 At the same time the Mixed Nuts recipe was selected Recipes Fill Weight Max Fill Level Ignition Tags Min Fill Level Barcode Line Speed Fill Weight PLC Max Fill Level Min Fill Level
443. n this case use the sampleDataExists property to determine if the measurement data has been entered isDataModified boolean Returns true if any measurement values have been modified e isSampleDataValid boolean Returns true if all of the measurement values are valid sampleDataExists boolean Returns true if sample data has been entered e getSampleData int measNo String attrName SampleData Returns SampleData item for the specified measurement number and attribute e getSampleDataValue int measNo String attrName String Returns a measurement value as a string for the specified measurement number Inductive Automation SPC li 398 and attribute name Quality e setSampleData int measNo String attr Name String value boolean Sets a measurement value as a string for the specified measurement number and attribute name Returns true if successful otherwise returns false e isSampleDataValid boolean Returns true if the measurements have been entered and are valid additional factor properties e getAllAddlFactors List lt SampleAdditionalFactor gt Returns the list of additional factor values associated with this sample e getAddiFactor String factorName SampleAdditionalFactor Returns the additional factor object specified by the factorName parameter and associated with this sample Use this function to get the SampleAdditionalFactor object that can be used to change the value of the additional fac
444. n to use The available configurations may be selected by clicking on the pencil icon and selecting from the list or typed in manually Scripting name Data Type instrumentInterfaceNam String The name of the serial port The available com ports may be selected by clicking on the pencil icon and selecting from the list or typed in manually Scripting name Data Type Serial Communication baud rate Scripting name Data Type Values portName String baudRate Integer Baud 110 0 Baud 150 1 Baud 300 2 Baud 600 3 Baud 1200 4 Baud 2400 5 Baud 4800 6 Baud 9600 7 Baud 19200 8 Baud 38400 9 Baud 57600 10 Baud 115200 11 Baud 230400 12 Baud 460800 13 Baud 921600 14 Data Bits Hand Shake Parity Stop Bits Auto Open Port Clear Buffer Before Send Correct CRLF Instrument Interface Module 574 Serial communication data bits Scripting name Data Type Values dataBits Liter DATA BITS 5 0 DATA BITS 6 1 DATA BITS 7 2 DATA BITS 8 3 Serial communication flow control methods Scripting name Data Type Values Serial communication parity Scripting name Data Type Values handShake integer NONE 0 CTS DTR 1 CTS RTS 2 DSR DTR 3 XON XOFF 4 parity integer NONE 0 EVEN 1 ODD 2 MARK 3 SPACE 4 Serial communication number of stop bits Scripting name Data Type Values stopBits Integer Stop Bits 1
445. nadtcds ceuessteasendedeeteeseesice 260 Overview deka ea eevee Ad dd LO tra Mi ends du 261 Default Control Limits aie man monte ah oni ent ea ren es ae be ie eet 261 Add Control lit sg ee n ena deed AO re Mn ln dt taime Edit Control Limits Delete Control Limits IMPOR EXPOrt Arr ane at ane ee faassen areas me AU ee ne tee do danse een coves caved canes Out of Control Signals OVENVIEW gt gt ian hiked ali ead ie A ren Hein ee ee iti dada Aida Aa Sein Default Signals ssh A ida A A Aia Add Signals Edit Signals Delete Signals Import Export Sample Intervals Overview Default Intervals nica tiene mienne a AA M D AE entr tan Un ste oh Sete Add Intervals Edit Intervals Delete InterValS serre nai hi Rael aad AI dent pieced IMPOrUEXPOTE ARA eal alain oh in Mata a ete et ln ean de se ela en SQL Tag Sam ple Colle C OTS oi ia 274 OVErVIGW AA nd ca ie ee ees in ai ee ee A 274 Add Sarmple Collectors ii A tis nav ren era vn Rte 274 Edit Sample GolleCtors inicta aii atic ia A AA dain nen dn ie duh Mea 276 Delete S mpl Coll ctorSissssssessstetinrtensannansensinnne ani canted near annaba iaaa daaa EEE Maina 276 IMPOR EXPOrt asser AAA oui dati ib ae mit te ea 276 A Component Reference commons ci 277 Quality Components te dressent sien terne nement te ege ete Den en ant bent tente En tienne desde sn en 277 Definition List 277 Definition Attribute List nsv nn pai ee nd PA ou
446. nclude in the results For each sample definition there may be multiple attributes that are collected This property selects which one to show get the SPC Results for Scripting name ttributeName Data Type String w This property holds the filter expression that the results will be filtered by If more than one item exists they are separated by commas Example Approved By John Doe Scripting name filter Data Type String This property holds the control limits to include in the results If more than one item exists they are separated by commas Example Individual LCL Individual UCL Scripting name controlLimits Data Type String This property holds the signals to include in the results If more than one item exists they are separated by commas Example Individual Outside Scripting name signals Data Type String This bind only property holds the SPC results and includes a data set with the raw data sample definition information and calculated value information With all the information included in the SPC Results control charts can display the results which is not possible with the data set alone Scripting name spcResults Data Type SPCResults This property holds the SPC data and includes columns for the calculated values based on the SPC Data Format and selected attribute control limits and signals Scripting name spcData Data Type Dataset Include Disabled Attributes If true any attributes that ha
447. nction to write it back to the serial controller component before it is send to the parsing engine Data Type String Returns true if raw data exists Data Type Boolean Inductive Automation parse onAfterParse Event Properties event getParseResults Instrument Interface Module 577 Is fired after the raw data has been parsed Returns a ParseResults object containing all the values that were parsed from the raw data See ParseResults object reference for more information about reading values from the ParseResults object Data Type ParseResults The following script will get results and read a value results event getParseResults if results None if results isRequiredValid sampleNo results getValue sampleno event hasParseResults Returns true if a ParseResults object exists serialPort onOpen Event Properties serialPort onClose Event Properties serialPort onSend Event Properties event getData serialPort onReceive Event Properties event getData serialPort onPoll Event Properties serialPort onError Event Properties Methods O Inductive Automation Data Type Boolean Is fired when the serial communication port is opened Is fired when the serial communication port is closed Is fired when data has been sent to the port Returns the data that was sent to the serial communication port Data Type char Is fired when data has been received from the serial
448. nd edit notes and assignable causes E di ti n g Scripting name enableNoteEditing Data Type boolean Enable Point Deletion Enable Control Limit Editing Events If true allow the user to temporarily remove samples from chart This is used to remove samples that are known to out of control before calculating control limits The sample that have been removed are not removed from the database and can be restored by selecting the Restore Points menu item Scripting name enablePointDeletion Data Type boolean If true allow the user to calculate and set new control limit values Scripting name enableControlLimitEdit Data Type boolean This component has standard Ignition events O Inductive Automation on SPC Quality 346 Methods showSetLimitPanel chartName Causes the calculate and set control limit dialog to be shown parameters chartName Which chart to show the control limit dialog for Av Primary or Secondary Data Type String returns nothing 3 4 2 10 P Chart Description The Percentage of Nonconforming Items p control chart is used to display SPC results that have nonconforming counts for each sample It does not retrieve SPC results from the SPC module so it must be used with either the SPC Selector or the SPC Controller components that do Only SPC results with p chart SPC Data Format specified will be displayed Date and Time joan 2 2012 04 36 PM 04 12 2012 04 43PM 04 12 2012 04 44 PM 04 23 2
449. nd the recipe value or just fixed values The image below is showing the Fill Weight recipe value with an upper variance threshold of 10 The upper threshold value is calculated by starting with the recipe value of 50 2 and adding 10 The lower threshold is calculated in the same manner When the Ignition tag value changes a check is done to see if the current value is between the upper and lower threshold values and in this case as shown in the image below we see that the current value of 51 0 is between 55 22 and 47 69 As a result no variance will be logged Recipe __ Y 50 2 10 55 22 51 0 4 502 5 47 69 Ignition Tags Line Speed 120 Fill Weight se2 510 p 2 q 3UBLIEA ON Max Fill Level 82 Min Fill Level 775 PLC Line Speed Fill Weight Max Fill Level Min Fill Level Recipe Value Inside Range Now lets take a look at a case where the current value is 46 0 as shown in the image below The value 46 0 is less than the lower threshold and a variance will be logged Inductive Automation Racine Channenvar 45n Ds s y 5 Y 50 2 10 55 22 8 Ignition Tags 4 502 5 47 69 3 Line Speed 46 0 Fill Weight Max Fill Level Min Fill Level Barcode 1 l PLC A Line Speed Fill Weight Max Fill Level Min Fill Level Recipe Value Outside Range The example above shows the upper and lower threshold values being calculated as a pe
450. nded to match the column width Scripting name columnWidth Data Type LE Row Height The height of the table rows Date Background Date Foreground Date Font Scripting name rowHeight Data Type ATE The background color of the sample date row Scripting name dateBackground Data Type Color The foreground color of the sample date values Scripting name dateForeground Data Type Calor The font to display the sample date values Scripting name dateFont Data Type Font Inductive Automation Date Format PC Quali 337 The date formatting pattern to display the sample dates Scripting name dateFormat Data Type String Label Background The background color of the labels Label Foreground Label Font Data Background Data Foreground Data Font Calc Background Calc Foreground Calc Font Inductive Automation Scripting name labelBackground Data Type Color The foreground color of the labels Scripting name labelForeground Data Type Color The font to display the labels Scripting name labelFont Data Type Font The background color of the measurement data values Scripting name dataBackground Data Type Color The foreground color of the measurement data values Scripting name dataForeground Data Type color The font to display the measurement values Scripting name dataFont Data Type Font The background color of the calculated data values Scripting name calcBackgro
451. ndow used to add control limits Once the desired fields have been edited select OK For more information see Add Control Limit section 3 3 3 5 Delete Control Limits To delete a control limit select the item to be deleted After selecting right click the item and select Delete from the drop down menu A window will appear confirming that you permanently want to delete the control limit 3 3 3 6 Import Export To export control limit entries right click anywhere on the table containing control limit entries and select the Export menu item A dialog box will appear to allow selection of an existing file or the entry of a name for the new file to which the control limit entries are saved If a file extension is not entered then the default csv will be used The first line of the file must contain at least the property names separated by commas If additional names exist they will be ignored The property names can be in any order Below is a sample csv file showing multiple control limit entries The lines in the example shown below have been shortened Inductive Automation SPC Quality 266 Name Kind Script c LCL 23 c LCL Calculation nimport math n n Get the c UCL 22 c UCL Calculation nimport math n n Get the Histogram 1CL 29 Histogram UCL 28 Individual LCL 11 Individual LCL Calculation n Get t Individual UCL 10 Individual UCL Calculation n Get t Median LCL 14 XBar LCL Calculati
452. ndows based on au entication roles the currently logged in user belongs to Recipe Scaling Recipe Scaling When using recipes for batch or other processes that can change based on the amount that is produced recipe scaling will adjust recipe values based on a recipe scale value In the recipe value configuration there is an Enable Scaling setting that can be selected If the Enable Scaling setting is selected for a recipe value then whenever a recipe is selected for a production line cell cell group or location the value from the recipe will be scaled by the value in the RecipeScale tag as shown in the image below Enabling recipe scaling is done for each individual recipe value This supports scaling some of the recipe values while not scaling others as might be the case in the example shown below By default each production item s Enable Scaling setting is false and must be selected before the RecipeScale value will be applied Recipe Ignition Tags Ingredient 1 Ingredient 2 15 15 Ingredient 3 50 2 1 5 Agitator Speed 6 2 15 Mix Time Recipe Scale Recipe Scaling The RecipeScale is a production OPC item that exists for each production line cell cell group or location By default the RecipeScale is 1 0 and recipe values will not change when recipes are selected When selecting a recipe for a line all of the cells cell groups and locations beneath the line will also be set to the same recipe provid
453. ne location could be completely unrelated or in a different range than another location If this is not the case then multiple locations can be added to the filter SPC Settings Filter By add Location Line 2 Quality Attribute select Weight Control Limits add Individual LOL Individual UCL Signals add Individual Outside SPC Settings The show options allow for the appearance of the control chart to be changed By removing the Table option the table will not appear leaving only the charts and allowing more samples to be viewed at once Show Option Table M Upper Chart M Lower Chart 4 Horizontal Grid Lines M Vertical Grid Lines Notes O Disabled Definitions C Auto Refresh Control Chart Show Options 3 2 2 2 2 Analysis The analysis screen allows for free form analysis of production and quality data This data can also be filtered to include only specific criteria Additionally comparisons can be made O Inductive Automation SPC Quali 244 between different factors For example sample count by operator can be analyed or even process out of control conditions by operator by shift The four icons in the upper right corner are used to select between pie chart bar chart line chart or tabular format Samples By Day E E Or ih Analysis Settings Filter By add e Sat May 12 00 00 00 POT Compare By add Mon May 21 00 00 00 L PRE por ee Day __ Mon May 14000
454. ng Returns the UUID assigned to this sample A UUID is a universally unique identifier that once assigned to a sample will never change It is also unique in that no two samples will have the same UUID getEnterprise String Returns the enterprise associated with this sample setEnterprise String enterprise Sets the enterprise associated with this sample getSite String Returns the physical production facility associated with this sample setSite String site Sets the physical production site associated with this sample getArea String Returns the production area associated with this sample setArea String area Sets the production area associated with this sample getLine String Returns the production line associated with this sample This will be blank if the location the sample is taken is in a production area and not on a production line setLine String line Sets the production line associated with this sample getLocation String Returns the location associated with this sample setLocation String location Sets the production location associated with this sample getLocationPath String Returns the full location path including enterprise site area line and location associated with this sample setLocationPath String locationPath Sets the enterprise site area line and location from the locationPath parameter getProductCode String Returns the product code associated with this
455. ng line or process running at half speed with O downtime This is truly only 50 efficient Or what if 10 of the product being produced does not meet your minimum quality and must be reworked This equates to 90 efficient which does not take into account the effort to rework or the losses of raw material Inductive Automation OEE Downtime 19 There are three factors all represented as a percentage taken into consideration for the final OEE result OEE Availability OEE Availability is the ratio between the actual run time and the scheduled run time The scheduled run time does not included breaks lunches and other pre arranged time a production line or process may be down Example If a line is scheduled for one 8 hour shift wth two 15 minute breaks and one 30 minute lunch then the scheduled time is 7 hours determined from 8 hours 15 minute break 15 minute break 30 minute lunch If during the production run there are 25 downtime events totaling to 45 minutes of downtime then the run time is 6 hours and 15 minutes derived from 7 hours of scheduled time 45 minutes The OEE Availability of 89 is calculated by actual run time divided by scheduled run time or 6 hours 15 minutes divided by 7 hours OEE Performance OEE Performance is the ratio between the actual number of units produced and the number of units that theoretically can be produced based on the standard rate The standard rate is rate the equipment is designed f
456. ng name backgroundColor Data Type Color Definition Name The sample definition to used when building SPC results Scripting name definitionName Data Type String No Data Message Text to display if not data is available to show in the control chart Scripting name noDataMessage Data Type String Inductive Automation No Data No Data Font SPC Quali 348 The foreground color to display the no data message sl F or e gr o u n d Scripting name noDataForeground Data Type Calor The font to display the no data message Scripting name noDataFont Data Type Pont Table Properties Show Table If true the table containing measurement and calculated values will be shown at the top of the control chart Scripting name showTable Data Type boolean Min Visible Samples The minimum number of sample to show on the control chart If more than the minimum visible samples exist in the SPC results then a horizontal scroll bar will appear and allow the user to scroll back to earlier samples Scripting name minVisibleSamples Data Type int Min Visible Measurements The minimum number of measurements to show in the table of the control chart If more than the minimum visible measurements exist in the SPC results then a vertical scroll bar will appear and allow the user to through all measurements Scripting name minVisibleMeasurements Data Type int Column Width The width of the table column for each sample The charts will b
457. ng projectName Name of the Ignition SPC project Returns Sample A reference to the existing sample or the newly created sample Scope client gateway Example sampleUUID system gui getParentWindow event getComponentForPath Root Container SampleUUID locationPath system gui getParentWindow event getComponentForPath Root Container LocationPath This will return a sample for the sampleUUID If the sampleUUID is blank it will return a new sample sample system quality sample data getCreateSampleByName sampleUUID sampleDef getDefUUID locationPath 3 6 3 2 2 4 getCreateSampleByName system quality sample data getCreateSampleByName Description Return a sample that matches the sampleUUID parameter If not found create and return a new sample based on the sample definition that matches the definitionName parameter The newly created sample will also be initialized for the location specified by the locationPath parameter Syntax Client system quality sample data getCreateSampleByName String sampleUUID String defName String locationPath Gateway system quality sample data getCreateSampleByName String projectName String sampleUUID String defName String locationPath Parameters String sampleUUID Sample UUID to lookup String defName Existing sample definition name to base the new sample on String locationPath A valid path to a location to base the new sample for String proj
458. ng to this sample definition are initialized with this default interval type The return value must match those configured on the Quality tab for the enterprise in the Sample Interval list getinterval double Returns the default interval for automatically scheduled samples based on this sample definition Allowed locations that belong to this sample definition are initialized with this default interval The units are defined by the Interval type defined for this sample definition setinterval double interval Sets the default interval for automatically scheduled samples Allowed locations that belong to this sample definition are initialized with this default interval The units are defined by the Interval type defined for this sample definition getAutoApprove boolean Returns the default auto approve samples setting for this sample definition Allowed locations that belong to this sample definition are initialized with this default setting setAutoApprove boolean autoApprove Sets the default auto approve samples setting for this sample definition Allowed locations that belong to this sample definition are initialized with this default setting getComingDueMin double Returns the default coming due minutes setting for this sample definition Allowed locations that belong to this sample definition are initialized with this default setting The value represents the number of minutes required before a sample is due until the sam
459. nge values of a single line at 12 00 AM on the day selected by clicking on the graph X trace Gives the domain value of all lines on the graph at 12 00 AM on the day selected by clicking on the graph Background The background color of a line graph is white by default but may be changed to black to allow the user to see lighter colors Zoom Allows the user to zoom in or out along the domain axis the range axis or both axes Can also be used with bar graphs Auto Range Automatically selects the best range of values for the domain axis the range axis or both axes to in order to see the entire graph for the date or time range selected at the bottom of the screen Can also be used with bar graphs Reset Axes Resets both axes to their original ranges Inductive Automation OEE Downtime 39 2 2 3 2 Enterprise Summary Similar to the Area Summary the Dashboard Enterprise Summary compares OEE Production Counts Downtime and Waste Counts between different enterprises in a production or a single enterprise over time The slide at the bottom of the page causes the date to be changed allowing the user to select a specific day or time or a broad range of dates to view These graphs may also be saved or printed by right clicking on the desired graph Enterprise Summary S EEN TN vu ses 10 un 64 are 2 2 7 000 1 peo e ns 2 Es 3 1 The Our 06 00 00 00 POT 3011 Fa 00107 0000 00 POT 2051 Pd ie CHE ME CEE Avetebany E
460. ngle PLC controlling the production line downtime events can be read from a single numeric value representing the line state The State SQLTag and downtime reasons are configured in the production line It is common that each cell of a production line has its own PLC To set up communication between the PLC and a master PLC and to add the logic to determine the cause of why production ine is not producing product is a complex process however the OEE Downtime module eliminates this complexity with a feature called Use Key Reason Detection When this option is selected on the Downtime tab for a line the module will determine the primary cause as to why the line is not producing product This method uses the flow of the ine to determine the cause for the ine not being able to product It also assumes there is a primary cell that if down will cause the ine to stop producing product If the first cell is down for a reason that is not configured as Record Downtime the next cell will be checked If it is down for a reason that is configured as Record Downtime then it will be assigned as line downtime cell and reason When the second cell that caused the ine downtime restarts but the first cell has not started yet because its discharge is still backed up then the original cell and reason will still be the cause until the first cell restarts gt a Line 1 E Capper Labeler Inspection Case Packe ua Palletizer a min ns er
461. nnenver 479 Eg Configuration Production W 1 Your Enterprise y 1 A Site 1 H Processing L j Packaging 7 1 a CellGroupTest a Cell B Cell2 Lm cell y s New Production Cell YWCUON Rename fe Cut Ctrl X Copy Ctrl C P E y F gt Ctr M Paste r E Delete fm _ Delete y a ur R e yr ove Adding a Cell Group Cell Group General Settings These settings are accessed by selecting the desired cell group item contained in the line folder in the project browser and then selecting the General tab Enabled By default added cell groups are enabled It can be disabled by un checking the Enabled setting and saving the project This will stop the OEE downtime and scheduling module from executing the cell group Description This is an optional description and is just for your reference Sub Recipe Mask This Sub Recipe Mask is required when using the sub recipe feature If the sub recipe feature is not being used for the production item leave it blank See Sub Recipes for more information above sub recipes and Sub Recipe Mask for how to use this setting Recipe Values Recipe values can be added to cell groups and can represent settings that are written toa PLC or other controller associated with the cell group or be used internally in Ignition The recipe values that are added to a cell group are propagated down to production cells beneath the cell group
462. nt Data Type Font Tick Label Color The color to show values on the value and count axis Scripting name tickLabelColor Data Type Calor Category Axis Title The title to display on the category axis Scripting name categoryAxisTitle Data Type String Frequency Axis The title to display on the frequency axis Ti tl e Scripting name frequencyAxisTitle Data Type String Axis Title Font The font to show the axis titles Scripting name axisTitleFont Data Type Font Axis Title Color The color to show the axis titles Scripting name axisTitleColor Data Type Color O Inductive Automation Horizontal Grid Line Color Show Horizontal Grid Lines Show Accumulation Line Events PC li 321 The color of the chart horizontal grid ines bi Scripting name horizontalGridLineColc Data Type Color If true show the horizontal grid lines in the charts Scripting name showHorizontalGridLine Data Type boolean If true show the accumulation line in the chart Scripting name showAccumulationLine Data Type boolean This component has standard Ignition events none Methods none 3 4 2 6 Xbar and R Chart COS Description The XBar Range control chart is used to display SPC results that have multiple measurements for each sample It does not retrieve SPC results from the SPC module so it must be used with either the SPC Selector or the SPC Controller components that do Only SPC results with XBar an
463. nt this will be the time defined for the parent production site See Area Configuration for more details The current Shift 2 Start Time time for the production area If the associated Shift 2 Start Time property for the area in the designer is set to Inherit From Parent this will be the time defined for the parent production site See Area Configuration for more details The current Shift 3 Start Time time for the production area If the associated Shift 3 Start Time property for the area in the designer is set to Inherit From Parent this will be the time defined for the parent production site See Area Configuration for more details String Boolean String Read Only DateTime Read Only DateTime Read Only DateTime Read Only Inductive Automation 3 5 2 5 Line o 9T Description The line folder contains some properties associated with the production line and a folder for each production location within it The name is the same as the line name that is configured in the designer The image below represents the Line 1 of the QualityDemo project Production 5 QualityDemo 3 New Enterprise ControlLimits New Site 5 Packaging 3 Line 1 E Line 1 Quality I New Location 3 Temperature Test gt Accumulation Count gt Active Downtime Starttime gt Actual Changeover End Time gt Actual Finish Time gt Actual Run Start Time ELP pure Poor A ee sn D
464. nt has standard Ignition properties with the addition of the following properties Product Code ID The currently selected product code ID This is the ID for the ProductCode database table Normally this is bound to the Product Code Table Selected Product Code ID Scripting name productCodelD Data Type String Selected Product Value of the currently selected product code internal ID This CodeLine ID is the ID for the ProductCodeLine database table Scripting name selectedProductCodeLine ID Data Type String Selected Line Name Value of the currently selected line name Scripting name selectedLineNam Data Type String Events This component has standard Ignition events Methods none Product Code Properties Table Description This component displays and allows editing of property values for specific product code and production line combination This is where standard rates and scheduling rates are defined by product code and production line The properties that appear depend on the production model configuration done in the designer There will be properties for the production line at the top followed by properties for each production cell Inductive Automation 2 4 1 7 Property Value ode Default Value Line 1 Line Outfeed Package Count 1 0 1 0 Line Outfeed Standard Rate 3500 3600 0 Schedule Rate 3400 3600 0 Filler CellEnabled M TRUE Outfeed Package Count 1 0 1 0 Outfeed Standard R
465. nteger event getWasteCount Integer event getQuality Double event void setQuality Double quality void OEE event event getAvailability Double event getPerformance Double event getQuality Double event getOEE Double event setOEE Double oee void Example script event setAvailability 0 85 OEE Downtime 190 system oee addCustomScript system oee AVAILABILITY script system oee removeCustomScript system oee AVAILABILITY OEE Factor Cap Created in Project gt Events Script Gateway gt Startup Allows overriding the default cap of 100 for OEE factors of Availability Performance and Quality If this script exists during a gateway save or restart then the OEE factor s will be set to the maxPercent If the script is removed and the gateway is restarted the OEE factor s will be set to 100 Format system oee setOEEFactorCap key maxPercent Key system oee AVAILABILITY system oee PERFORMANCE system oee QUALITY Example system oee setOEEFactorCap system oee AVAILABILITY system oee setOEEFactorCap system oee PERFORMANCE system oee setOEEFactorCap system oee QUALITY 75 2 7 4 Gateway Scripts Methods 250 150 Inductive Automation OFF Nawntima 4a1 system production addProductCode projectName productCode description Adds a new product code to the system parameters projectName A valid project name Data Type GEVING productCode The produ
466. ntenance production departments and integrating the OEE Downtime and Scheduling module to the plant floor and ERP systems For more information contact sales Inductive Automation 5 6 Introduction 15 1 3 Licensing and Activation Trial Mode The OEE Downtime and Scheduling module follows the same trial operation as Ignition The OEE Downtime and Scheduling module can be used for 2 hours at a time with no other restrictions At the end of the trial period the system will stop logging data to the database display expired trial overlays on live values and clients will see a demo screen By logging into the gateway you may re start the demo period and enable another 2 hours of execution The demo period may be restarted any number of times You may install a unlicensed OEE Downtime and Scheduling module into a licensed Ignition server The Ignition server licensing will not be affected and the OEE Downtime and Scheduling module will operate in Demo mode Licensing The OEE Downtime and Scheduling license can be purchased along with or separately from the Ignition license Despite the modular licensing each Ignition server only has a single CD Key and license file That is there is a single license file that dictates which modules are current activated When module s are purchased you will receive a CD Key a six digit code that identifies your purchase You then use this CD Key to activate the software through the Ignition Gate
467. ntrol chart until the control limit value has been set Selections can be removed by selecting the link to the left of the selection To display the SPC results of this component in a control charts bind the SPC Results property of the control chart to the SPC Results property of this component Properties This component has standard Ignition properties with the addition of the following properties Start Date This property is the starting date for retrieving analysis data and determining available filter and compare by options Scripting name startDate Data Type Date End Date This property is the ending date for retrieving analysis data and determining available filter and compare by options Scripting name endDate Data Type Date Inductive Automation Definition Name Auto Refresh SPC Quality 304 The sample definition to used when building SPC results Scripting name definitionName Data Type String If true the SPC results will be updated every time a new sample is added for the selected sample definition and location Scripting name autoRefresh Data Type Boolean SPC Results This bind only property holds the SPC results and includes a data set with the raw data sample definition information and calculated value information With all the information included in the SPC Results control charts can display the results which is not possible with the data set alone Scripting name spcResults Data Ty
468. ntrol limits from a date range provided in the parameters This function will collect data within the from and end dates specified in the parameters It calculates a control limit for the specified location sample definition test attribute and control limit The control limit will be calculated using the the control limit configured in the designer To set the actual control limit value use the setControlLimitValue function with the result from this function Syntax Client calcControlLimitValue String locationPath SampleDefinition definition String attributeName String limitName Date from Date to Gateway calcControlLimitValue String projectName String locationPath SampleDefinition definition String attributeName String limitName Date from Date to Parameters String locationPath The full path of the location to set the control limit Optionally it can be left blank to set the default control limit value that is not tied to any location SampleDefinition definition Sample definition to the control limit for String attributeName Name of the attribute within the definition to set the control limit for String limitName Name of the control limit to set Date from Calculate the control with data starting with this date Date to Calculate the control with data ending with this date String projectName Name of the Ignition SPC project Returns ControlLimitC alculatedValue A reference to the results containing the ca
469. nual implementation can be setup This is done by providing a line drop down list or other component on the operator screen that the user can use to select the current line state Line Downtime Versus Cell Downtime It is important to understand the difference between line downtime and cell downtime Line downtime which is only the downtime reasons that are preventing the production line from producing product is typically used to zero in and improve OEE The cell downtime is used to Inductive Automation OEE D time look at trends and detect maintenance issues before they cause line downtime Consider a production line that has 25 cells If 5 of the cells are down all at the same time for unrelated reasons and only one of them is preventing product from being produced on the line then there will be a lot of noise extra irrelevant data to weed through Also if a faster downstream cell stops restarts and catches up it may never affect the production of the ine as a whole The OEE Downtime Module provides the best of both worlds and tracks both ine downtime and cell downtime For settings controlling cell downtime see Cell Configuration under the Cell Downtime Settings section Short Downtime versus Long Downtime Short downtime are events that last a small specified time 120 seconds for instance Short events will not affect the OEE availability calculation The OEE Downtime module provides this threshold on a per line basis If se
470. o project OPC Browser E x De p Ignition OPC UA Server o Production 5 QualityDemo 2 5 New Enterprise E ControlLimits gt Y New Site 3 Packaging Line 1 3 Line 1 Quality Additional Factors gt 3 SOLTag Collectors gt Description E Enabled Name Product Code Reference Number Sample Coming Due Sample Due Sample Overdue Sample Waiting Approval Sequence Date Sequence No Shift Shift 1 Enabled Shift 1 Start Time Shift 2 Enabled lt gt Shift 2 Start Time Shift 3 Enabled gt Shift 3 Start Time Signal Out Of Control Trace Enabled Demo OPC Values Inductive Automation 3 5 1 Using OPC Values_2 SPC Quality 371 The SPC configuration settings and runtime values are available for use in Ignition windows transaction groups scripting etc Before values from the Production OPC Server can be used they must be added to the Ignition SQLTags This is done in the designer by selecting the SQLTags Browser and clicking on the icon This will cause the OPC Browser to appear Next drill down in the Production node within the OPC Browser Drag the desired Production OPC Values over to the SQLTags Browser as depicted below SGOLTags Browser a eun OPC Browser oO x lt Default gt 8 Tag amp Tags E Line 1 j 3 Line 2 Name t Client t system CN All Providers Important Your Site String i Ignit
471. o determine the XBar UCL value is specific to only the XBar chart Inductive Automation SPC Quality 237 Control Limits Enable O stdDev XBar LCL stdDev XBar UCL o 0 0 00 00 ON AR RA 0O 0O 0O Control Limits Table Any selected signals will be available to include on the control charts and will also be included in the automatic evaluation of out of control conditions of the sample data When a new project is created the default signal options are also created but they can be modified added to or even removed Keep in mind that each signal is associated with a particular control chart For example Individual Outside is associated with and can only be used with the Individual chart This is because the calculation and control limits used to determine if a sequence of individual values are out of control is specific to the Individual chart Signals Individual Outside O Out of Limits M Outside Limits M ae A AAA to om m ta Lun Signals Table After all the desired settings have been defined the user can select Save to commit all the changes or Cancel to undo any changes that have been made After a sample definition has been created samples based on them may appear or be Inductive Automation SPC Quali 238 manually added depending on the Interval setting sl 3 2 2 1 3 Sample Entry Although it is not required the sample list is used to view samples coming due due overdue waiting f
472. o remove then right click and select Delete from the menu A window will appear confirming that you permanently want to delete the Recipe Value 4 3 4 4 Import Export To import recipe value configuration entries right click anywhere on the recipe values table and select the Import menu item A dialog box will appear to allow selection of acomma separated values csv formatted file The first line of the file must at least contain the property names separated by commas If additional names exist they will be ignored The property names can be in any order Below is a sample csv file showing multiple recipe value configuration entries Inductive Automation Recipe Changeover 480 ValueName ValueDescription ValueSQLTag ValueCalcScript AllowScaling ValueMonitorE nabled ValueMonitorLow ValueMonitorHigh ValueMonitorScript Line Speed Description for Line Speed Recipe Site Area 1 Line 1 Line Speed false true mt Value we false false Value 2 false false w TENN To export recipe value configuration entries right click anywhere on the table containing recipe value configuration entries and select the Export menu item A dialog box will appear to allow selection of an existing file or the typing in of a name of the new file to save the recipe value configuration entries to If a file extension is not entered then the default csv will be used Inductive Automation Recipe Changeov
473. o remove an existing workday routine entry right click on the desired entry in the workday routine table and select the Delete menu item A window will appear confirming that you want to remove the workday routine entry Import Export To export workday routine entries right click anywhere on the table containing workday routines and select the Export menu item A dialog box will appear to allow selection of an existing file or the typing in of a name of the new file to save the workday routine entries to If a file extension is not entered then the default csv will be used To import workday routine entries right click anywhere on the workday routine table and select the Import menu item A dialog box will appear to allow selection of a comma separated values csv formatted file The first line of the file must at least contain the property names separated by commas ff additional names exist they will be ignored The property names can be in any order Below is a sample csv file showing multiple workday routine entries Name Start Time End Time Reason Code Graveyard shift break 1 1 00 AM 1 15 AM 5200 Graveyard shift meal 3 00 AM 3 30 AM 5300 Graveyard shift break 2 5 00 AM 5 15 AM 5400 Day shift break 1 9 00 AM 9 15 AM 6200 Day shift meal 11 00 AM 11 30 AM 6300 Day shift break 2 1 00 PM 1 15 PM 6400 Swing shift break 1 5 00 PM 5 15 PM 7200 Swing shift meal 7 00 PM 7 30 PM
474. ods see the Variance Monitoring section The Recipe Variance Viewer is automatically updated when live recipe value variances are detected by the Recipe Changeover Module The Show Full Details property will cause the initial values when the recipe was selected to also be included The Recipe Variance Viewer component is inherited from the Ignition Table component and many of the features are carried through to this component This component simplifies displaying recipe variances by handling all of the backend database queries based on the property settings of the component The appearance and columns to display are changed using the table customizer that is accessed by right clicking on the Recipe Variance Viewer component and selecting Customizers gt Table Customizer Properties This component has standard Ignition properties with the addition of the following properties Item Path Filter This is a required property to limit the variances to a single production item Example Enterprise Site Area 1 Line 1 H Scripting name temPathFilter Data Type SEXI Recipe Name Filter To limit which recipes to show in the variances this property can be set This provides a method to only show recipes that are of interest to the end user The wildcard characters or can also be included in the filter value Example Recipe C Scripting name recipeNameFilter Data Type BEVING Inductive Automation Value Name Filter Su
475. oduct Code ID Hide Disabled Product Codes Product Code Filter Events The currently selected product code from the table Scripting name selectedProductCode Data Type String The currently selected product code ID This is the ID for the ProductCode database table Scripting name selectedProductCodeID Data Type String If set to True then disabled Product Codes will be hidden from the table Scripting name hideDisabled Data Type Boolean Filters the results in the table that begin with the given string If left blank all product codes are returned Scripting name productCodeFilter Data Type String This component has standard Ignition events Methods none 2 4 1 5 Product Code Line Table Description This component displays all the available lines and allows the linked product code to be enabled to be run on production lines All product code lines are automatically displayed from the ProductCodeLine database table without the need for custom SQL statements or script ___LineName Enable O Inductive Automation 2 4 1 6 OEE Downtime 96 Product Code Line Table When a line is enabled for a product code it will show up it the list of available products when scheduling etc for that line This component usually works in conjunction with the Product Code Table and Product Code Properties Table components Refer to the OEEDemo project for a complete example Properties This compone
476. oduction gt 1 Your Enterprise Ln F dns L Om New Site Inductive Automation OEE Downtime 58 General Site Settings These settings are accessed by selecting the site item contained in the enterprise folder in the project browser and then selecting the General tab Enabled Description Shift 1 Default Enabled Default Start Time Shift 2 Default Enabled Default Start Time Shift 3 Default Enabled Default Start Time By default added sites are enabled It can be disabled by un checking the Enabled setting and saving the project This will stop the OEE downtime and scheduling module from executing the site and all area s line s and cell s that are underneath it This is an optional description and is just for your reference If checked shift 1 will be included during scheduling If not checked shift 1 will be scheduled around The time of day that first shift starts The first shift ends at the start of second shift If checked shift 2 will be included during scheduling If not checked shift 2 will be scheduled around The time of day that second shift starts The second shift ends at the start of third shift If checked shift 3 will be included during scheduling If not checked shift 3 will be scheduled around The time of day that third shift starts The third shift ends at the start of first shift Note The shift enabled and shift start times are the default for your pro
477. odule install the new version on top of the existing User Manual version Modules can be downloaded from our website Configuration Projects CATemplRecipe Installer module modl Gateway Settings Redundancy Databases Install Ignition Module O Inductive Automation Recipe Changeover 459 The Recipe Installer module will install all required modules These are the Production and Recipe modules It is important to keep in mind not to install or update these modules individually Instead it should be done by updating the Recipe Installer module 42 2 New Ignition System 4 2 2 1 Selecting Install Options To install the Recipe module at the same time as Ignition add the following steps to the normal Ignition installation 1 Select Custom Configuration on the setup step during the Ignition installation The following screen will appear Scroll down to Recipe Module and select it This will cause the modules required for recipe functionality to be installed at the same time as Ignition a Setup x Select Components A f o Select the components you want to install clear the components you do not want to install Click Next when you are ready to continue E Click on a component to get a detailed description V Modbus Driver Module v2 Y UDP and TCP Drivers Module Y OPC COM Module Y Recipe Module ActiveX Module HASP Ignition Installer
478. odule and 3 is recipe values created by the SPC module Use blank to include all categories Data Type String subProductCode Sub product code to return values for or else leave blank to read the default values for the production item Data Type String returns List lt ItemRecipeValue gt A list of temRecipeValue objects Data Type ELLAS Example itemPath event source parent getComponent Production Line Selector selectedPathWithout Request the default values for the selected production item list system recipe getDefaultValues itemPath 1 system gui messageBox str list size O Inductive Automation for rv in list Recipe Changeover 523 system gui messageBox s s rv getName str rv getValue 4 7 1 2 setPathDefaultValue system recipe setPathDefaultValue projectName itemPath subProductCode valueName value note Set a production item sub recipe or default value This script function can be used in gateway client scripts When called from the client omit the projectName parameter parameters projectName itemPath subProductCode valueName value note returns none Inductive Automation The project name Only include when called from the gateway When called from the client the project is the same as current project for the client Data Type SELIAS The item path to a production line cell cell group or location For example Your EnterpriselYour
479. odule settings go to the configuration section in the gateway and select the MES Modules gt Settings section from the left hand side configuration menu Once a database connection is created and if only one database connection exists then it will be automatically selected to be used by the MES modules If more than one database connection exists then the desired database connection can be selected to be used by the MES modules as shown below iti by inductive automation Developer Mode Home Status Configure Launch Designer C7 Logged in as admin log out MES Module Settings Runtime Datasource Runtime ProductionDB v Database The database connection to store runtime production data Data Retention 30 Duration Number of days to retain runtime production data tt Analysis Datasource Redundancy pore ProductionDB Done The database connection to store historical analysis production data to Multiple sites can be set to the Databases same analysis database to allow enterprise reporting Save Changes MES Module Settings Page Inductive Automation SPC Quality 229 3 2 1 5 Demo Installation The QualityDemo project can be used to quickly start using and evaluating the features of the Quality module By installing the QualityDemo SQLTags will be imported and an SPC Simulator and the demo Ignition project will be installed To remove the demo each of these components will have to be manually removed
480. ojectName parameter parameters projectName The project name Only include when called from the gateway When called from the client the project is the same as current project for the client Data Type SEXLaS itemPath The item path to a production line cell cell group or location For example Your Enterprise Your Site Your Area Line 1 Data Type SELLOS recipeName Name of recipe Data Type GEING valueName Recipe value name to set Data Type GELIN value New value to assign to recipe value Data Type SEKING note Optional note to be stored in the recipe change log Data Type String returns none Example itemPath event source parent getComponent Production Line Selector selectedPathWithout recipe Recipe C1 6Pk valueName Line Speed value 99 system recipe setPathRecipeValue itemPath recipe valueName value Inductive Automation 4 7 1 8 revertPathRecipeValues Recipe Changeover 529 system recipe revertPathRecipeValues projectName itemPath recipeName valueNames note Revert production item recipe values back to the parent production item This script function can be used in gateway client scripts When called from the client omit the projectName parameter parameters projectName itemPath recipeName valueNames note returns none Inductive Automation The project name Only include when called from the gateway When called from the client the project i
481. ol Limits His A ne eee rs eat 374 Signals Intervals Site Area Line Location Additional Factors ainsi A ie en nm tn rem ti 384 Tag Collectors ir mani hi M En A r a e a A EEN 385 A A O te me sions es 387 Production Location Events mnniiicnnnciccicncinncnrrr rr 387 B for Sample Updated tii Sa a aa nn ee nee 387 After Sample Updated Event aia iaa 387 Sample Approval Updated Event 388 Sample Coming Due Event insiste AAA nn An re eae od ens 388 Sample Due Events its ne me RM en a i ee N 389 Sambpl Interval Events iia hf dein tee nes ena ti een tee le elites 389 Sample OvV erdi Vedia RE et ans A A ad 391 Sample Waiting Approval Event sise 391 Signals Evaluated Educ A artes etre ii MR annee 391 Signal Evaluation RESU NS iia dana inner terne rte Rene e da ra ie eee nt ete 392 Signal Out of Control Event ssir a a a idad 393 Signal in Control Pescara adenine nih AAA ene ns 393 Sample Due State Ty POS OA OA en S dines h 393 Object Referencement ne anni nn nn nn none nine vite tient est 393 Sample A TR AA a nes 393 Sample Data 398 Attribute Data Types mnt inner A nav te nn A a en a asie nt 399 Sample Additional FaACtOr rares ete serrer nds AA dates ele deans 400 Sample Definition h ege a a nn AR nn Rene han ti nets 400 Sample D finition Atiribute zi2s intrants naa an AeA ane nines 406 Sample Definition Location 408 Sample Definition Control Limit sise 410 Sample Det Na iii ti ne nn
482. olor Run Running Color Inductive Automation OEE Downti 157 The color of the progress bar fill The progress bar shows the the quantity produced versus the quantity scheduled Scripting name progressFill Data Type Color The color of the progress bar border The progress bar shows the the quantity produced versus the quantity scheduled Scripting name progressBorder Data Type Color The font of the line row name header text Scripting name itemFont Data Type Pong The font of the text displayed in an event item Scripting name eventFont Data Type Font The color of the line row header when the line is running Scripting name lineRunningColor Data Type CoLGE The path of the icon to display in the line row header when the line is running Scripting name lineRunninglconPath Data Type String The color of the line row header when the line is stopped Scripting name lineStoppedColor Data Type Color The path of the icon to display in the line row header when the line is stopped Scripting name lineStoppedIconPath Data Type SEEING The color of a completed event item Scripting name runCompletedColor Data Type Color The color of a running event item Scripting name runRunningColor Data Type Color Run Scheduled Color Run Changeover Color OEE Downtime 158 The color of a scheduled event item Scripting name runScheduledColor Data Type Color The color of the changeover portio
483. omit the projectName parameter parameters projectName existingRecipeName newRecipeName note returns none 4 7 1 11 deleteRecipe The project name Only include when called from the gateway When called from the client the project is the same as current project for the client Data Type Name of the existing recipe Data Type New recipe name Data Type un String tring String Optional note to be stored in the recipe change log Data Type system recipe deleteRecipe projectName recipeName note Delete specified recipe String This script function can be used in gateway client scripts When called from the client omit the projectName parameter parameters projectName recipeName note returns none The project name Only include when called from the gateway When called from the client the project is the same as current project for the client Data Type Name of the recipe to delete Data Type S S trin trin Optional note to be stored in the recipe Data Type 9 Erin g g change log g Inductive Automation Recipe Changeover 532 4 7 1 12 addltemToRecipe system recipe addItemToRecipe projectName recipeName itemPath note Add a production item to a recipe Once a production item is added to a recipe the recipe values for the production item can be managed Also the recipe can be selected for the added product
484. on SPC Quali 223 same chart ty This chart should be used when counting nonconforming items when the sample size does not change C Chart Also know as a count chart this type counts the total number of nonconformities not nonconforming items on all the items inasample Often the types of nonconformities and their individual counts are noted as well This chart is best used when counting nonconformities when the sample size will not vary It is also important that each sample has equal opportunity for nonconformities U Chart AU Chart also graphs the number of nonconformities but does so through a proportion In this chart the types and counts of nonconformities are tracked as well This chart should be used when counting nonconformities when the sample size will vary Also if some samples have a greater opportunity for nonconformities than others this chart should be used over the C Chart Analysis Charts Histogram A histogram shows the distribution of the data provided from the samples A typical histogram has a normal distribution meaning that most data points will fall in the middle of the graph and fewer will fall towards the outside forming a bell curve A distribution that is normal is just the most common pattern There are other types of curves such as skewed distribution or double peaked distribution which may be typical for certain processes If a bell shaped curve is formed on the histogram then any variations
485. on about recipe values and Recipe Values for more information about configuring recipe values 4 3 3 Sub Recipe Mask This Sub Recipe Mask is required when using the sub recipe feature and only apply to line cell cell group or location type of production items If the sub recipe feature is not being used for the production item leave it blank The sub recipe feature can be used on a production item by production item basis This means that standard recipe and sub recipe functionality can be mixed For example you may have a tape machine that recipe values only change based on the case size If there are only two different case sizes and there is a digit in the product code that specifies the case size then sub recipes can be used for the tape machine All other machines can use the normal recipe functionality 4 3 3 1 Sub Recipe Mask Setting In some situations a limited number of digits in the product code can specify the recipe to use for a machine This is accomplished in the Recipe Changeover Module by setting a sub recipe mask See Sub Recipes for more information To set the Sub Recipe Mask for a line cell cell group or location first select the desired production item Next select the Recipe tab and enter the new Sub Recipe Mask value Line 1 Line Production Item General OEE Downtime Schedule Quality Recipe Advanced Sub Recipe Mask poomaocx Recipe Value Name Request V Ena
486. on n Define the A2 f Median UCL 13 XBar UCL Calculation n Define the A2 f MR LCL 35 Moving Range LCL Calculation n The LCL for MR UCL 34 Moving Range UCL Calculation n Get the SPC np LCL 20 np LCL Calculation nimport system nimport np UCL 19 np UCL Calculation nimport math n n Get th p LCL 17 p LCL Calculation nimport system nimport ma p UCL 16 p UCL Calculation nimport math n n Get the Range LCL 5 Range UCL Calculation n Define the D3 fa Range UCL 4 Range UCL Calculation n Define the D4 fa StdDev LCL 8 Standard Deviation LCL Calculation n De StdDev UCL 7 Standard Deviation UCL Calculation n De StdDev XBar LCL 2 Standard Deviation XBar LCL Calcul StdDev XBar UCL 1 Standard Deviation XBar UCL Calcul y LCL 26 u LCL Calculation nimport math n n Get the y UCL 25 u UCL Calculation nimport math n n Get the XBar LCL 2 XBar LCL Calculation n Define the A2 fact Bar LSL 3 XBar UCL 1 XBar UCL Calculation n Define the A2 fact Sher Uso nanjan To import downtime entries right click anywhere on the control limit table and select the Import menu item A dialog box will appear to allow selection of a comma separated values csv formatted file 3 3 4 Out of Control Signals 3 3 4 1 Overview Out of control signals occur in a variety of situations but all the signals indicate a change in the process where it is considered to be abnormal or out of
487. on the X Bar Range Chart the range will always be zero which fails to show the consistency between measurements Individuals charts are useful in situations when testing of a product results in the destruction of the product or if the testing is time consuming It can also be used when a sample will yield the same result for a long period of time no matter how many measurements are made such as batch operations When using the Individuals Chart the variable data should fall into a normal distribution meaning the data points are equally likely to fall on either side of the average This would appear as a bell curve on a histogram Median Chart The Median Chart is also known as the MA MR Chart or Moving Average Moving Range Chart Because data is generated slowly the data on this chart is displayed differently The first sample will contain three new data points The second sample will contain the two most recent data points from sample one in addition to one new data point Sample three will contain the two most recent from sample two as well as one new data point and so on Even though there are three samples with three data points each there is only a total of five data points Ont his chart the median and the moving range are graphed The median is the middle value based on the measurements in the sample this is not the same as the average while the range is the highest value minus the lowest value for each sample Like an individual
488. one setScheduledFinished Calendar scheduleFinish Sets the date and time that this sample is scheduled to be completed getSampleTakenDateTime Calendar Returns the date and time that this sample was taken setSampleTakenDateTime Calendar sampleTakenDateTime Sets the date and time that this sample was taken getEntryDateTime Calendar Returns the date and time that this sample was entered setEntryDateTime Calendar entryDateTime Sets the date and time that this sample was entered getShift int Returns the shift the sample was taken setShift int shift Sets the shift the sample was taken getSequenceDate Calendar Returns the date and time that the shift the sample was taken during started setSequenceDate Calendar sequenceDate SPC li 396 Sets the date and time that the shift the sample was taken firing Started e getApproved boolean Returns true if this sample has been approved Depending on the settings in the sample definition samples may be automatically or manually approved e setApproved boolean approved Set to true to approve this sample e getSampleTakenBy String Returns the person s name who was responsible for taking the sample By default this is the person who is logged in when the sample is entered For automatically recorded samples this will be Auto e setSampleTakenBy String sampleTakenBy Sets the person s name who was responsible for taking the sample e getAp
489. one of the cells will have calculations performed The true unit count at the primary product infeed for the production run The true unit count reflects the start of production run count and raw count rollovers This reflects the name of the line that is set in the designer OEE Downtime 168 Boolean Read Only Boolean Read Only Boolean Read Only Int4 Read Only String String Read Only String Read Only Boolean Boolean Int4 Read Only String Read Only Inductive Automation OEE OEE Availability OEE Performance OEE Quality Prerun Remaining Time Prerun Remaining Time Seconds Product Code Product Code Description Production Package Count Production Rate Hour Production Rate Minute Production Units Run Disabled Reason Code Run Down Time Minutes Inductive Automation The current OEE value for the current shift See OEE for more details The current OEE Availability value for the current shift See OEE for more details The current OEE Performance value for the current shift See OEE for more details The current OEE Quality value for the current shift See OEE for more details This is the amount of change over time in minutes remaining before the scheduled run start time This is the amount of change over time in seconds remaining before the scheduled run start time The current product code being run on the line Typically thi
490. onent is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Data Type String productCode The new product code for the line to run next Data Type String returns successful Returns true if the project name line path and product coc are valid and the new product code has been set Data Type Boolean Inductive Automation OEE Downtime 207 system production utils startRun linePath Start a new production run for the current product code This is only valid if the line is not Currently in a production run parameters linePath returns successful The line path of the production line that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Data Type ALLAN Returns true if the production run successfully started Data Type Boolean system production utils updateProductCodeLineStatus productCode linePath enable Updates the line enabled status for this product code parameters linePath productCode enable Inductive Automation The line path of the production line that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Data Type String The n
491. ontal or x position to display the set control Scripting name limitDialogHorizontalc Data Type int The vertical or y position to display the set control limit dialog box Scripting name limitDialogVerticaloff Data Type La Vertical Grid Line Color The color of the chart vertical grid lines Scripting name verticalGridLineColor Data Type Color Show Vertical Grid Lines If true show the vertical grid lines in the charts Scripting name showVerticalGridLines Data Type boolean Horizontal Grid Line Color The color of the chart horizontal grid lines Scripting name horizontalGridLineColc Data Type Color Inductive Automation Show Horizontal Grid Lines Primary Chart Background Secondary Chart Background SPC Quali 345 If true show the horizontal grid lines in the charts Scripting name showHorizontalGridLine Data Type boolean The background color of the primary chart Scripting name primaryChartBackgrounc Data Type Coder The background color of the secondary chart Scripting name secondaryChartBackgrot Data Type Calar Show Notes If true show the note icon next to the chart point for any samples that have notes or assignable causes Scripting name showNotes Data Type boolean Note Image The image to display next to the chart point for any samples that have notes or assignable causes Scripting name noteImage Data Type Image Enable Note If true allow the user to add a
492. ontal grid lines Scripting name horizontalGridLineColc Data Type Color If true show the horizontal grid lines in the charts Scripting name showHorizontalGridLine Data Type boolean The background color of the primary chart Scripting name primaryChartBackgrounc Data Type Color The background color of the secondary chart Scripting name secondaryChartBackgrou Data Type Color If true show the note icon next to the chart point for any samples that have notes or assignable causes Scripting name showNotes Data Type boolean O Inductive Automation Note Image Enable Note Editing Enable Point Deletion Enable Control Limit Editing Events SPC Quali 327 The image to display next to the chart point iY any samples that have notes or assignable causes Scripting name noteImage Data Type image If true allow the user to add and edit notes and assignable causes Scripting name enableNoteEditing Data Type boolean If true allow the user to temporarily remove samples from chart This is used to remove samples that are known to out of control before calculating control limits The sample that have been removed are not removed from the database and can be restored by selecting the Restore Points menu item Scripting name enablePointDeletion Data Type boolean If true allow the user to calculate and set new control limit values Scripting name enableControlLimitEdit Data Type bool
493. or Example If a work cell is designed to produce 10 units per minute we can calculate the theoretical amount of units it can produce in a given amount of time Using the 6 hours and 15 minutes of actual run time from the above example a total of 3750 units would be produced Calculated by taking 6 hours and 15 minutes 375 minutes times 10 units per minute If the actual number of units produced is 3000 then the OEE Performance is 80 calculated by 3000 3750 OEE Quality OEE Quality is the ratio between good units produced and the total units that were started Example Taking the number of units produced from above of 3000 if 200 units were rejected at the quality inspection station then 2800 good units are produced The OEE Quality is 93 calculated from 2800 divided by 3000 The final calculation is OEE Availability x Performance x Quality Example Using all the numbers from above 89 x 80 x 93 66 This may seem like a low number but it is important to kept in mind that the OEE is not to be compared to 100 The OEE result from this production run is compared to other production runs however using Inductive Automation s OEE Downtime and Scheduling module allows much more than just comparing OEE results between production runs It allows you to compare OEE results between operators viscosity mechanics products raw material vendors and any user defined factor you can think of Inductive Automation EE Do
494. or approval and approved Based on the color users can easily see the current state of samples From this list users can select a sample to enter measurements for or create new samples See the sample definition section for more information about how to schedule samples or define them to be taken manually By selecting a sample and clicking on the Edit Sample button the sample data can be entered Likewise by clicking on the Add Sample button a new sample can be added Depending on the sample definition samples can be automatically or manually approved Once a sample has been approved it will appear in the control charts and will be automatically evaluated for an out of control condition In this demo the Unapprove Sample button has been added to demonstrate the ability to correct previously approved sample data This can be removed from the screen or allowed based on the user s security role User admin pu Overdue D oue E Coming Due Ha Waiting Approval H Approved Add Sample Edit Sample Add Note Sample List Once the user has clicked on the Edit Sample or Add Sample button the sample entry form appears If anew sample has been added the location can be selected For a location to appear as an option here it must first be added to the location list for the desired sample definition with the Ownership setting set to Lab for the lab entry screen or Test Station test station entry screen These ownership tags can be
495. order If File Timestamp is selected the files are processed in chronological order of the file modified date Select from the following Alpha Numeric 0 Date 1 File Timestamp 2 This property is only applicable if the File Processing Priority property is set to Date This property defines the parsing pattern to use when converting the file name to a date value when determining the processing order of the files The patterns can contain both date and time format designators See the File Name Date Format property description of the File Monitor component for more details This setting defines how files are handled after processing them Select from the following Delete File 0 Move File 1 Character encoding of the data A Instrument Interface Module 558 5 3 Serial Settings This page configures the serial port communications settings of this Instrument Interface BE EAU a X Digital GagePort NT Eg Configuration i t Instrument Interface Instrument Configuration 1 E Configurations RER Satings meer Sul rg Alcolyzer Plus Port E Digital GagePort NT cenera 2 Production l ne Enable Serial M Port Settings Baud Rate Baud 9600 pa Data Bits DATA BITS 7 y Parity ODD PA Stop Bits Stop Bits 2 Hand Shaking NONE pa Timeout 500 Character Encoding UTF 8 Clear Buffer Before Sending M CorrectCRLF M Request Hand
496. oreground Data Type Color The font to display the measurement values Scripting name dataFont Data Type Font The background color of the calculated data values Scripting name calcBackground Data Type Color The foreground color of the calculated data values Scripting name calcForeground Data Type Color Calc Font The font to display the calculated values A Scripting name calcFont Data Type Pont Chart Properties Show Primary Chart If true the primary chart will appear Scripting name showPrimaryChart Data Type boolean Right Axis Width The width of the right chart axis in pixels Scripting name rightAxisWidth Limit Dialog Horizontal Offset Limit Dialog Vertical Offset Vertical Grid Line Color Show Vertical Grid Lines Horizontal Grid Line Color Show Horizontal Grid Lines Data Type LME The horizontal or x position to display the set control limit dialog box Scripting name Data Type limitDialogHorizontalc int The vertical or y position to display the set control limit dialog box Scripting name Data Type limitDialogVerticalOf int The color of the chart vertical grid lines verticalGridLineColor Color Scripting name Data Type If true show the vertical grid lines in the charts showVerticalGridLines boolean Scripting name Data Type The color of the chart horizontal grid lines horizontalGridLineColc Color Scripting name Data Type If
497. ort an automatic reason detection with a manual override For example if an operator presses the stop button because they see a bottle laying on its side feeding into a filler then the only automatic reason that can be detected is operator pressed stop button Now the operator should be able to override this reason with more specific information Once the period of time that production cells were not producing product and the associated reasons are recorded analyzing the summary of the reasons will identify where effort should be focused to improve efficiency 2 15 Production Scheduling A lot of coordination must be used when scheduling production If one item is not in unison with the rest then production line efficiencies will drop If raw material is not at the line when the line is ready to start production then line production is waiting Even if this is just 10 minutes it negatively reduces the production ine efficiency In some operations production schedules change sometimes at the last minute making if difficult and forcing employees to rely on a verbal updates involving multiple people It becomes an issue of how much effort is being consumed to do so and how many times are there hiccups By instantaneously propagating schedule changes to all departments combined with tools to track required scheduled produced and remaining production information can help make an operation run smoother Inductive Automation OEE
498. other cells have to stop A continuous liquid mixing process where at each cell new ingredients are added or mixing or some other action is being performed fits into this category If one cell stops then all other upstream cells have to stop because there is no where to put the liquid and all downstream cells have to stop because there is not liquid to process In this case the first cell that stopped is the cause for all other cells to stop Key Reason This method uses the flow of the line to determine the cause for the line not being able to produce product It also assumes there is a primary cell that if down will cause the line to stop producing product This method also uses the order of the cells as they are configured in the designer If the first cell is down for a reason that is not configured as Record Downtime the next cell will be checked If it is down for a reason that is configured as Record Downtime then it will be assigned as line downtime cell and reason When the second cell that caused the line downtime restarts but the first cell has not started yet because its discharge is still Inductive Automation E Downtime 80 backed up then the original cell and reason will still be the cause of downtime until the first cell restarts The concept behind this is that a faster downstream cell can go down restart and catch up without ever causing loss of production on the line This method should be used for packaging lines
499. ow selection of an existing file or the typing in of a name of the new file to save the product waste entries to If a file extension is not entered then the default csv will be used Inductive Automation 2 4 2 4 1 2 4 1 1 OEE Downtime 90 Component Reference This section will describe the components that are available with the OEE Downtime and Scheduling module Please note that only the properties methods and events that are specific to the OEE Downtime and scheduling module components are described here For description and usage of other properties see the Ignition reference manual Production Components When the Production Module which is part of the OEE Downtime and Scheduling Module is opened a new component tab will appear On it are a number of components that provide functionality specific to the production model product codes analysis etc Component Palette of xX Input Buttons Display Tables Charts Calendar Shapes Misc db Schedule db OEE DownTime amp Production a Reporting FWD n SS RR NA NES Production Components Production Line Selector a Description A component that provides users to select a production line from a drop down list Production lines are defined in the production model within the designer inet Si Line 1 Line Drop Down List Properties This component has standard Ignition properties with the addition of the following properties Se
500. own to the descendant recipes As shown in the image below the Mix Time recipe value is changed to 21 and the Creamy Blend and Thick Blend recipes also reflect the new value Inductive Automation Racine Channenver 439 Master Recipe Descendant Recipes Eas Master Recipe Value Change 4 1 5 Sub Recipes Sub Recipes Sub Recipes are convenient when a machine s recipe can be determined from digits within a product code When the product code is used as the recipe a portion of the product code can be extracted and used to determine the machine s recipe For example you may have a tape machine that recipe values only change based on the case size If there are only two different case sizes and there is a digit in the product code that specifies the case size then sub recipes can be used for the tape machine All other machines can use the normal recipe functionality Sub recipes are derived from the product code and the sub recipe mask The sub recipe mask specifies the digits to extract from the product code to determine the sub recipe Once the sub recipe value is determined like the 76 in the image below the recipe values are looked up in the sub recipes for the production line cell cell group or location and are written to tags See Sub Recipe Mask for more information on how to configure production items to use sub recipes Product code selected for line cell cell group or location Product Code 29J57629 2905 XA
501. owntime reason entry that is configured in the designer If true downtime events with this reason code will count as planned downtime during the OEE calculation This reflects the Operator Selectable property of the downtime reason entry that is configured in the designer If true the downtime reason will be shown in the Down Time Table See Down Time Table for more details String Read Only Int4 Read Only Boolean Read Only Boolean Read Only Boolean Read Only Inductive Automation A OEE Downtime 181 2 6 Binding Function Reference The OEE Downtime and Scheduling Module takes advantage of Ignition s built in binding functions in order to provide data to the standard components within Ignition To access the binding functions click on the D icon of a component property as shown below Component Palette Input Buttons Display Tables Charts Calendar Shapes Misc amp Schedule db OEE DownTime CETTE E ES J vil Ch Property Editor goa x CCT CT Te ed fabc 123 a a ei J a Common a pr Name Dropdown Mo _ 2 t Select One gt gt 3 Data A AAA AAA i 4 a A l pa oasen AR er Selected Value 1 c 1 Selected String Value ar pan Selected Label lt Select One gt ar ie a pr 3 H m J ee y A E rn TN ee y pr A an Drop Down List Component The binding options window will appear Next click o
502. parameter Available parseValueType options A single discreet value system instrument parse types SingleValue A collections of ParseRow objects system instrument parse types RowCollection e getAll List Returns a list of all ParseValue objects e getValue name ParseValue Returns a ParseValue object for the parsed value specified by the name parameter The name must match one of the names assigned to a parsing box defined in the parsing template e getRowCollection name ParseRowCollection Returns a ParseRowCollection object for the name specified by the name parameter The name must match one of the names assigned to a parsing box defined in the parsing template e createDataset name Dataset Returns a Dataset object for the parsed value specified by the name parameter The name must match one of the names assigned to a parsing box defined in the parsing O Inductive Automation str nt Interface Module 84 template This supports converting a ParseRowcolecton that is a result oP either a CSV Column Parsing Box or a CSV Row Parsing Box into a Dataset Dataset can be used to display the data in Table or other components in Ignition createValueMap Map of name value pairs Returns a Map object containing name value pairs for all parsed values The Map can be sent to the SPC module s Sample Entry component to automate populating sample measurement values from an instrument The Map can also be accessed using sc
503. pe SPCResults SPC Data This property holds the SPC data and includes columns for the calculated values based on the SPC Data Format and selected attribute control limits and signals Scripting name spcData Data Type Dataset Suppress Warnings If true any warnings received back when requesting Suppress Errors Include Disabled Attributes Filter Selection Summary SPC results are not shown Instead the Message property can be bound to display any warning in a text or other component Warning include requesting SPC data with settings that do not make sense For example requesting p chart results for a sample definition that contains no attribute type of data Scripting name suppressWarnings Data Type Boolean If true any errors received back when requesting SPC results are not shown Scripting name suppressErrors Data Type Boolean ff true any attributes that have been disabled in the sample definition will appear in the attribute selection panel This provides a method to view old attribute data that has been disabled Scripting name includeDisabledAttributes Data Type Boolean This property holds the current filter item selections that the results will be filtered by If more than one item exists they are separated by commas Scripting name filterSummary Data Type String Inductive Automation Attribute Name Control Limit Summary Signal Summary SPC Data Format Auto Bar Count
504. pe String Selected Path Without Project The location path excluding the project name of the currently selected location This is useful when using this component with the SPCController component This includes the enterprise site area possible a line and the location each separated by the backslash character Example New Enterprise New Site Packaging Line 1 Line 1 Quality Scripting name selectedPathWithoutProject Data Type String Selected Location ID The location ID of the currently selected location Scripting name selectedLocationID Data Type ine Display Path When set to true the full location paths will be displayed in the drop down list Otherwise just the location name will be displayed Scripting name displayPath Data Type boolean Events This component has standard Ignition events none Methods none Inductive Automation SPC Quali 289 3 4 1 7 Interval Selector Sale 3 Description A component that allows selection of sample intervals All intervals that are configured in the project will appear in the list and can be selected by the user See the Sample Intervals section for more information on intervals There is no need for SQL queries or scripting to display intervals Timed Interval Hours Timed Interval Days Once at Production Start Once at Production End Manual Timed Interval Seconds Every Value Change Interval Selector Properties This component has stand
505. pecified by the defName parameter parameters defName Sample definition name to base the new sample on Data Type String See SampleDefinition Object for more information returns Sample An instance of a new sample Data Type Sample See Sample Object for more information update sample Create a new sample based on the sample definition specified by the defName parameter parameters sample This is the sample to either update if it already exists or add if it does not already exist Data Type Sample See Sample Object for more information returns String Message of any errors that may have occurred during the update operation Data Type String O Inductive Automation SPC Quality 297 approve sample Approve the sample specified by the sample parameter parameters sample This is the sample to approve Data Type Sample See Sample Object for more information returns String Message of any errors that may have occurred during the approve operation Data Type String unapprove sample Unapprove the sample specified by the sample parameter parameters sample This is the sample to unapprove Data Type Sample See Sample Object for more information returns String Message of any errors that may have occurred during the unapprove operation Data Type String remove sample Remove the sample specified by the sample parameter Caution this will permanently remove the data from the database and it cannot be recovered
506. perties Inductive Automation e SPC Qualj 3 Show Table If true the table containing measurement and calculated Valles wil be shown at the top of the control chart Scripting name showTable Data Type boolean Min Visible Samples The minimum number of sample to show on the control chart If more than the minimum visible samples exist in the SPC results then a horizontal scroll bar will appear and allow the user to scroll back to earlier samples Scripting name minVisibleSamples Data Type E Min Visible Measurements The minimum number of measurements to show in the table of the control chart If more than the minimum visible measurements exist in the SPC results then a vertical scroll bar will appear and allow the user to through all measurements Scripting name minVisibleMeasurements Data Type LME Column Width The width of the table column for each sample The charts will be expanded to match the column width Scripting name columnWidth Data Type ME Row Height The height of the table rows Date Background Date Foreground Date Font Date Format Scripting name rowHeight Data Type LME The background color of the sample date row Scripting name dateBackground Data Type Color The foreground color of the sample date values Scripting name dateForeground Data Type Color The font to display the sample date values Scripting name dateFont Data Type Font The date formatting pattern to display the sample dates
507. perty can optionally be set to override the current user logged in It is used when notes or assignable causes are added or modified Scripting name user Data Type SECAS Background Color The background color Definition Name No Data Message No Data O Inductive Automation Qa5coQ 0 Scripting name backgroundColor Data Type Color The sample definition to used when building SPC results Scripting name definitionName Data Type String Text to display if not data is available to show in the control chart Scripting name noDataMessage Data Type SEring The foreground color to display the no data message Scripting name noDataForeground Data Type Color No Data Font Table Properties SPC Quality 354 The font to display the no data message Scripting name noDataFont Data Type Four Show Table If true the table containing measurement and calculated values will be shown at the top of the control chart Scripting name showTable Data Type boolean Min Visible Samples The minimum number of sample to show on the control chart If more than the minimum visible samples exist in the SPC results then a horizontal scroll bar will appear and allow the user to scroll back to earlier samples Scripting name minVisibleSamples Data Type LAE Min Visible Measurements The minimum number of measurements to show in the table of the control chart If more than the minimum visible measurements exist in the SPC results then a
508. pixels Scripting name rightAxisWidth Data Type Int Limit Dialog Horizontal Offset The horizontal or x position to display the set control limit dialog box Scripting name limitDialogHorizontalc Data Type LRE Limit Dialog Vertical Offset The vertical or y position to display the set control limit dialog box Scripting name limitDialogVerticalOff Data Type ANNE Vertical Grid Line Color The color of the chart vertical grid lines Scripting name verticalGridLineColor Data Type Cole Show Vertical Grid Lines If true show the vertical grid lines in the charts Scripting name showVerticalGridLines Data Type boolean Horizontal Grid Line Color The color of the chart horizontal grid lines Scripting name horizontalGridLineColc Data Type Color Show Horizontal Grid Lines If true show the horizontal grid lines in the charts Scripting name showHorizontalGridLine Data Type boolean Primary Chart Background The background color of the primary chart Scripting name primaryChartBackgrounc Data Type Color O Inductive Automation SPC Quality 333 Secondary Chart Background The background color of the secondary chart Scripting name secondaryChartBackgrot Data Type Color Show Notes If true show the note icon next to the chart point for any samples that have notes or assignable causes Scripting name showNotes Data Type boolean Note Image The image to display next to the chart point for any samples that
509. ple Your EnterpriselYour SitelYour ArealLine 1 Data Type String existingSubProductCode Existing sub product code name Data Type String newSubProductCode New sub product code name Data Type String note Optional note to be stored in the recipe change log Data Type String returns none Inductive Automation 4 7 1 6 deleteSubProductCode Recipe Changeover 527 system recipe deleteSubProductCode projectName itemPath subProductCode note Delete sub product code This script function can be used in gateway client scripts When called from the client omit the projectName parameter parameters projectName itemPath subProductCode note returns none Inductive Automation The project name Only include when called from the gateway When called from the client the project is the same as current project for the client Data Type String The item path to a production line cell cell group or location For example Your Enterprise Your Site Your Area Line 1 Data Type SEE Lig Sub product code name Data Type nm TELAS Optional note to be stored in the recipe change log Data Type String Recipe Changeover 528 4 7 1 7 setPathRecipeValue system recipe setPathRecipeValue projectName itemPath recipeName valueName value note Set production item recipe value This script function can be used in gateway client scripts When called from the client omit the pr
510. ple lA nie een aE A Rire UPGALCSANMIS O a Aa e p ee ERER aeei approveSample A AD LUMAPPFOVESAMPIS iia CUE smart a aa annee rene nie ne tan Sarpl quality SpC CONntrOlimMit coords ARAN aR EA aa a a eraa raa Ear taa AERAR RS Eeh setControllimtValUe iii A AE E A entire ee CaleGontrollimitV alle ne o da T Analysis Provid tS ti tees Rome nn ce nn Ea E re a Q ality ss nn era i ere ra nee dt Part IV Recipe Changeover 4 Introduction niinniin ia disquns RECIPE TYPES ROA Production Model ieee cae SR ES td date nes Sen Default VALES ie Master Recipes iia A Ada diia SUD RECIDES 2 iii a AAA AA O a rs Editing Recipe S a A A Recipe Change Log O RECIPE SCAN aii ta E ETA Aaa Variance MoONitoriNQ cee iisccticiseinisscsenecsdesvsnuceesyecivestevceveveccenscedieccuesSccnsetdeveuesevesncaviedeevceesuschvesverscevevenecndceVeddenesoceisvivevesstes A irc A O Production OPC Server ee 2 Installations cessent anidan iius dni cairo Existing Ignition SySte md jsscesecccccsscesssieseccecenscescsceccctsceusceuvetessnvavssncavescevecuevsescensecevencevepsvesseveseceevsueceuseidvecvavsbevevsieerscteessee 458 Installing Modules Las eta ea csr diets oak OA ok M GAR A et al a Ed her 458 New Ignition System 459 Selecting Eirean oln e ic sscidievaiaesaedscaccapudetanasadsesenboashethdassaseiguavhtasaetsdueheiteetacsea cet 459 Configure Database wvisscvccsccsccteccssiessscesencecensivesivcveceseanscsusetcssccevepscevedccuscressneses
511. ple is considered coming due For automatically scheduled samples they are created prior to actual due time by the number of minutes of this setting setComingDueMin double comingDueMin Sets the default coming due minutes setting for this sample definition Allowed locations that belong to this sample definition are initialized with this default setting The value represents the number of minutes required before a sample is due until the sample is considered coming due For automatically scheduled samples they are created prior to actual due time by the number of minutes of this setting getOverdueMin double Returns the default overdue minutes setting for this sample definition Allowed locations that belong to this sample definition are initialized with this default setting The value represents the number of minutes required after a sample is due until the sample is considered overdue setOverdueMin double overdueMinutes Sets the default overdue minutes setting for this sample definition Allowed locations that belong to this sample definition are initialized with this default setting The value represents the number of minutes required after a sample is due until the sample is considered overdue e isModified Returns true if this sample definition has been modified e isNew Returns true if this sample definition is new attribute properties e addAttribute SampleDefinitionAttribute attribute String Inductive Autom
512. portRecipe projectName csvData note Set the recipe values to the current tag value s for the production item specified by the itemPath parameter See the Import Export section of Editing Recipes for CSV file format and other information Values that are outside of the range defined in the recipe values security will not be imported When this happens an exception is returned listing all of the values that were not imported See Recipe Security for more information This script function can be used in gateway client scripts When called from the client omit the projectName parameter parameters projectName The project name Only include when called from the gateway When called from the client the project is the same as current project for the client Data Type SELLOS csvData String in CSV format containing recipe values Must be the same format that is returned by the exportRecipe function Data Type SECLAG note Optional note to be stored in the recipe change log Data Type Siri ng returns none Example csv system file readFileAsString C Temp recipe export csv itemPath event source parent getComponent Production Line Selector selectedLinePath system recipe importRecipe csv Values set during import 4 7 2 Recipe Value Scripts When recipe values are added to a production item there are properties that allow script to be entered The following sections detail the different events and how they are used See A
513. production model will perform calculations for the enterprise and all sites areas lines cells cell groups and location within it If this property is set to false then none of the sites areas lines cells cell groups and locations will have calculations performed Name This reflects the String name of the Read Only enterprise that is set in the designer Runtime DB Connection Name The name of the String runtime database Read Only connection 46 2 Site Description The site folder contains some properties associated with the production site and a folder for each production area within it The name is the same as the site name that is configured in the designer The image below represents the Your Site of the OEEDemo project Inductive Automation Racine Changeover 512 Production gt Gj OEEDemo amp Your Enterprise 3 Your Site Workday Routine Your Area gt Default Shift 1 Start Time gt Default Shift 2 Start Time Default Shift 3 Start Time Description Enabled Name Site e T Child Folders Area One folder will exist for each area that has been configured in the Ignition Designer The folder can be opened to view all values within the area RecipeValue Any recipe values that are configured for the production site will appear in this folder Properties Description Optionally this property can be set to a description for String the site It is not
514. project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Data Type SECAS returns successful Returns true if the new schedule entry for the line has successfully been selected Data Type Boolean O Inductive Automation OEE Downtime 209 2 8 Analysis Providers Analysis providers determine which information will be viewed on a graph or pie chart Based on which Analysis Provider is selected some filter compare by and data point options may or may not be visible For example the filter Recordable Downtime can be selected if the analysis provider is Downtime but not if the analysis provider is Comment Name Type Downtime Cancel OK Analysis Providers 2 8 1 Comment Description The Comment Analysis Provider is used to query production run comments entered by users Provider Name Comment Filters These are the filters that are available in the OEE Downtime and Scheduling Module However in addition to these filters additional factors may be available if they are string data type All additional factors start with Factor For example Factor Operator A filter will allow the user to see all of the data points in the analysis provider as it pertains to a specific area shift etc For more information on filters see the Filter By paragraph in the Analysis Screen section Area Enterprise Line Package Count Product Code Production Units Run Shift
515. provedBy String Returns the person s name who approved this sample For automatically recorded samples this will be Auto e setApprovedBy String approvedBy Sets the person s name who approved this sample e getApprovedDateTime Calendar Returns the date and time that this sample was approved For automatically approved samples this will be the same as the getEntryDateTime value e setApprovedDateTime Calendar approvedDateTime Sets the date and time that this sample was approved e getTag String Returns the optional tag value This is typically used to assign ownership of which department has the responsibility to take this sample e setTag String tag Sets the tag value This is typically used to assign ownership of which department has the responsibility to take this sample e getNote String Returns the note associated with this sample This is the note that may have been entered when the sample was entered Even though this note can be viewed on the control charts or in analysis it is not the same as the attribute note entered on the control charts e setNote String note Sets the note associated with this sample e getSampleDefinition SampleDefinition Returns the sample definition associated with this sample See Sample Definition object for more information O Inductive Automation es ae e SPC Quality 397 e setSampleDefinition SampleDefinition definition Sets the sample definition a
516. provider is used to collect the change log entries for display or report purposes All details of changes made to recipes including adding new recipes adding production items to recipes and much more can be returned using the recipe change log analysis provider Filters The recipe change log analysis provider can accept the following filters Category Item Path Inductive Automation This is a required filter to specify the type of recipes to return One or more of the valid options are required Q Recipe This includes all recipe changes excluding value changes Q Recipe Value This includes only recipe value changes Q Sub Recipe This includes default value or sub recipe changes excluding value changes Q Sub Recipe Value This includes default value or sub recipe value changes Example when using it with the Analysis Controller Category Recipe Category Recipe Value This is a required filter to specify the production item to include in the results It is the item path for the desired item path s Because analysis is independent of projects the project name is required in the item path Example when using it with the Analysis Controller Item Path RecipeDemo Enterprise Site Area 1 Line 1 Item Path RecipeDemo Enterprise Site Area 1 Line 2 Children Recipe Name Recipe Value Name Sub Recipe Name Compare By Recipe Changeover 508 This is a filter to specify if children of the production item s
517. pts When called from the client omit the projectName parameter parameters projectName itemPath The project name Only include when called from the gateway When called from the client the project is the same as current project for the client Data Type String The item path to a production line cell cell group or location For example Your Enterprise Your Site Your Area Line 1 Data Type SEE Lig returns Current selected recipe name of specified production item String Inductive Automation Recipe Changeover 538 4 7 1 18 getRecipeValues system recipe getRecipeValues projectName itemPath recipeName category Return recipe values for a production item and recipe combination This script function can be used in gateway client scripts When called from the client omit the projectName parameter parameters projectName The project name Only include when called from the gateway When called from the client the project is the same as current project for the client Data Type String itemPath The item path to a production line cell cell group or location For example Your Enterprise Your Site Your Area Line 1 Data Type SEE Lig recipeName The recipe name Data Type String category Category of recipe values to return Where 1 is recipe values created by the recipe module 2 is recipe values created by the OEE module and 3 is recipe values created by the SPC module Use blank to include a
518. r Color Scripting name targetSeriesColor Data Type Color Editable This controls if users can change reason codes and split downtime events Scripting name editable Data Type Boolean Events This component has standard Ignition events Methods none 2 4 2 3 Line Run Selector Description A component that provides users to select a production run from a drop down list of available runs on a production line The user can also select the current run by selecting lt Current Run gt Inductive Automation Inductive Automation lt CurrentRun gt CdS O_PC2 Run 03 08 06 33 AM WO_PC2 Run 03 03 05 43 PM WO_PC2 Run 03 03 05 39 PM WO_PC2 Run 03 03 05 32 PM WO _PC1B Run 03 03 04 56 PM WO_PC1B Run 03 03 04 48 PM WO _PC1B Run 03 03 04 40 PM Line Run Selector OFF Downtime 125 OEE Downtime 126 Properties This component has standard Ignition properties with the addition of the following properties Line Path The line path of the production ine that this component is associated with This is the full path name of the line starting with the project name For example OEEDemo Your Enterprise Your SitelYour ArealLine 1 Scripting name linePath Data Type SECLOS Include Work When true displays the work order description in the drop down list if Oavailable r d e r D e S c ri p ti o n Scripting name includeDescription Data Type Boolean Run ID The cur
519. r See the location section below for more information Inductive Automation General Information Enabled M Auto Approve O Measurement Count 4 Default Auto Schedule Information Interval Type Manual Interval 0l Duration Coming Due Min Overdue Min Cancel Add Add Sample Definition Window After adding a new definition the attributes must be defined This is done by right clicking the Attributes table and selecting Add from the drop down menu This opens a window similar to the one before which allows users to define each attribute Some examples of attributes include pH temperature viscosity weight nonconformities and nonconforming items From here the name description dataype format default value minimum value and maximum value can be defined This window also allows the users to decide if the attribute will be required when entering sample data on the Lab or Test Stations screen Inductive Automation 235 General Information Required M Data Type Information Datatype Format Default Value Min Value Max Value Cancel General Information Name Description Enable Required Data Type Information Datatype Format Default Value Min Value Max Value Cancel Add and Edit Attribute Windows Inductive Automation Next the locations or where the samples will be taken can be defined Again tis canbe done by right clicking on the Loca
520. r SPC Results contain all the information so that the control charts can display the results which is not possible with the data set alone Scripting name spcResults Data Type SPCResults This property holds the SPC data and includes columns for the calculated values based on the SPC Data Format and selected attribute control limits and signals Scripting name spcData Data Type Dataset This property represents the number of measurements for each sample C in the SPC results o u nt User Scripting name measurementCount Data Type TAC This property can optionally be set to override the current user logged in It is used when notes or assignable causes are added or modified Scripting name user Data Type SECAS Background Color The background color Definition Name No Data Message No Data O Inductive Automation Qa5coQ 0 Scripting name backgroundColor Data Type Color The sample definition to used when building SPC results Scripting name definitionName Data Type String Text to display if not data is available to show in the control chart Scripting name noDataMessage Data Type SEring The foreground color to display the no data message Scripting name noDataForeground Data Type Color No Data Font Table Properties SPC Quality 342 The font to display the no data message Scripting name noDataFont Data Type Four Show Table If true the table containing measurement and
521. r and allow the user to through all measurements Scripting name minVisibleMeasurements Data Type E The width of the table column for each sample The charts will be expanded to match the column width Scripting name columnWidth Data Type IE The height of the table rows Scripting name rowHeight Data Type int The background color of the sample date row Scripting name dateBackground Data Type Color The foreground color of the sample date values Scripting name dateForeground Data Type Color The font to display the sample date values Scripting name dateFont Data Type Fort The date formatting pattern to display the sample dates Scripting name dateFormat Data Type SErinag Label Background The background color of the labels Scripting name labelBackground Data Type Color Label Foreground The foreground color of the labels Scripting name labelForeground Data Type Color Inductive Automation Label Font Data Background Data Foreground Data Font Calc Background Calc Foreground Calc Font SPC Quali 325 The font to display the labels sakes Scripting name labelFont Data Type Font The background color of the measurement data values Scripting name dataBackground Data Type Calor The foreground color of the measurement data values Scripting name dataForeground Data Type Color The font to display the measurement values Scripting name dataFont Data Type Font
522. r and compare by options Scripting name endDate Data Type Date Depending on the setting of the Provider Name property the dynamic properties will change A dynamic property to be created for each filter category that can be bound to by other components These dynamic properties can also be set through script See Analysis Providers for available filters for each provider type For example If the Provider Name property is set to Downtime then Shift will be created for one of the dynamic properties The Shift dynamic property can be bound to a Dropdown List Component populated with 1 2 and 3 Changing the selection of the drop down list will change the analysis results to be filtered by the select shift This component has standard Ignition events Inductive Automation OEE Downtime 104 Methods drillDown drillDownName item Sets all the analysis selections to new state dictated by the drill down definition parameters drillDownName A drill down definition name This is typically suppl down event of one of the display components Data Type String item A drill down category This is typically supplied by of one of the display components Data Type Object returns nothing prevDrillDown Sets all the analysis selections to the previous state before the last drill down parameters none returns nothing update Causes the results to be updated parameters none returns nothing addDatasetColumn This method
523. r even downtime by operator by shift O Inductive Automation Ignition MES Software Operator Line Charts Report Schedule Product Code Work Order Data Analysis m oM Results Yas ps 1 kzz Stihlman mn ss v ul Brewing and Bottling Saved Reports menu Inspection 30 95 ax c Labeter 37 ex Downtime z Capper 33 05 7 Case Packer 69 467 10 Selections Filter By ad Planned Downtime Exclude Palletize 98 583 22 Compare By add Cell Name Data Points add Downtime Minutes Occurrences Filler 173 983 39 e Labeler Capper O Palletizer e Filler Case Packer Inspection 413 2514 36711 a D OO tt 4 Jan 12 Jan 17 Jan 22 Jan 27 Feb Feds Feb 11 Feb 16 Feb 21 Feb 2 Mar3 Mars Mar 3 Ad hoc Analysis Screen The date range selector at the bottom is used to define the data range to include in the analysis As you change the start or end dates only the production runs that are within that range will be included in the analysis Stored Analysis In the demo project there are pre configured analyses that can be selected in the store reports section As different stored analyses are selected the values in the Selections section will change The demo project has a Downtime by Line stored analysis Selecting it will make the selection to view downtime occurrences and downtime minutes values by individual ines Saved Reports menu
524. r interface This means property bindings or script must be used to make the filter compare by and data point selections It also is used for providing data to canned reports and optionally allowing the user to make limited filter options To display the SPC results of this component in a control charts bind the SPC Results property of the control chart to the SPC Results property of this component Properties This component has standard Ignition properties with the addition of the following properties Automatic Update When true when any property that changes the results the results will automatically be updated Scripting name automaticUpdate Data Type Boolean Auto Refresh If true the SPC results will be updated every time a new sample is added for the selected sample definition and location Scripting name Data Type autoRefresh Boolean Row Limit The number of samples to return in the SPC Results This is done to unburden the database network bandwidth and memory Scripting name Data Type autoRefresh Boolean Inductive Automation SPC Data Format Start Date End Date Stored SPC Name Definition Name Inductive Automation This property specifies the type of control chart to retrigve tre spe data for Options None No results will be returned XBarR XBar and range data will be returned XBarS XBar and standard deviation data will be returned Individual Individual and
525. ransit Line Outfeed Line 1 PLC Pal 32768 370 0 10 0 Hour Cases Product Waste Name Count SQL Tag Max Raw Count Inspection Rejects Line 1 PLCiinspectionaste 32768 Waste Calculation Method Product Waste Entries Primary Infeed Line OEE Settings The production ine OEE waste is derived from the primary infeed If a production line has been configured for multiple infeeds select the infeed that is to be used for the waste calculation Product Infeeds For each infeed the OEE module will start calculating production rate per minute or production rate per hour values These values can be accessed through the Production OPC Server See the section on Production OPC Values and the section on Product Infeed for more information Inductive Automation OEE Downtime 67 Adding a Product Infeed See the section on Adding a Product Infeed for details on adding product infeed entries Editing a Product Infeed See the section on Editing a Product Infeed for details on editing product infeed entries Deleting a Product Infeed See the section on Deleting a Product Infeed for details on deleting product infeed entries Primary Outfeed The production line OEE waste is derived from the primary outfeed If a production line has been configured for multiple outfeeds select the outfeed that is to be used for the waste calculation Product Outfeeds
526. rcentage of the recipe value but they can also be a fixed offset around the recipe value To configure a recipe value for a fixed offset around the recipe value a upper variance threshold setting of lt offset gt is used An example is a variance threshold offset of 7 5 were the upper threshold is calculated by adding 7 5 to the recipe value Using the recipe value from above of 50 2 and adding 7 5 to it will give us a upper threshold of 57 7 The lower variance threshold works the same way Instead of the thresholds being calculated as a percentage or fixed offset around the recipe value fixed values can also be used For example a recipe value can be configured with a upper variance threshold of 52 0 In this case the upper threshold will always be 52 0 irregardless of the recipe value Lastly the upper and or lower threshold can be calculated using Python script This is configured in the designer and a recipe value variance range can refer to other tag values values from databases and much more when calculating the upper or lower threshold values Example Evaluate Variance Script upperValue system tag read Default SomeOtherTag recipeValue event getRecipeTag getCurrentValue if recipeValue gt upperValue value event setLogVariance True else event setLogVariance False O Inductive Automation e Changeover 451 The script is passed an Evaluate Variance Script object that Mode accessing the current tag
527. rded This can be expanded to instantly inform all parties that should know of various out of control conditions Inductive Automation SPC Quality 225 3 2 Getting Started This getting started guide will step you though SPC Quality module installation demo installation the demo user interface and configuration features 3 2 1 Installation To install the SPC module into an existing Ignition system follow the instructions in the Existing Ignition System ff you are installing Ignition at the same time use the instructions in the New Ignition System To install the Quality Demo project follow the steps in the Demo Installation section 3 2 1 1 Existing Ignition System 3 2 1 1 1 Installing Modules To install the SPC module on to an existing Ignition server follow the steps below Before installing the SPC module it is recommended to first setup the database connection that will be used to store SPC data 1 Download the Quality Installer module modl module from the Inductive Automation download website It will be under the MES modules heading 2 Install the Quality Installer module modl module Navigate to the Modules page of the Ignition gateway At the bottom of the list of already installed modules click the 17st or Upgrade a Module link Next browse to the Quality Installer module modl file and click the install button as shown below Ignition Developer Mode Home Status Configure Launch Designer
528. recipeValue gt upperLimit value or recipeValue lt lowerLimit value event setLogVariance True else event setLogVariance False 4 7 2 2 Request Value Script If the Request Value Script property see Adding a Recipe Value for more information of a production item contains a script it will be executed every time a recipe is selected When it is executed the event object provides information about the recipe value being read If event setRecipeValue value is not called then the value from the database will be used Event Properties event getltemPath event getValueName event getTagPath event getScale Inductive Automation Returns the production item path that recipe value belongs to Data Type String Returns the name of the recipe value being read Data Type String Returns the Ignition tag path associated with the recipe value Data Type String Returns the recipe scale being used while reading the current recipe Data Type Double Recipe Changeover 546 event getRecipeValue Returns the recipe value from the database This is the value that was set in the recipe editor or from a script function Data Type String event setRecipeValue value parameters value Value to change the current recipe value Data Type Data Type String returns none Example import math try value float event getRecipeValue event setRecipeValue str math log10 value except event setRecipeValue
529. renamed and deleted Project Browser Eg Configuration 3 Production f gt Your Enterprise gt B Your Site gt Ek Your Area j gt a Line 1 4 E Filler Capper j Labeler Inspection Case Packer E Palletizer gt Line 2 f actig x ra ha N Production Model Tree 2 3 2 1 1 Enterprise Configuration Adding an Enterprise To add your enterprise right click on the Production folder in the project browser and select the New Production Item gt New Production Enterprise menu item An enterprise named New Enterprise will be added to the Production folder Renaming an Enterprise To rename it to the name of your enterprise right click on it and select Rename then enter the new name Project Browser odo g x B CQ Configuration ag Production gt g Transaction Groups T Windows OOO S AAA ET 7 g PAA Enterprise Name Deleting an Enterprise To remove an existing enterprise right click on the enterprise item and select the Delete menu item A window will appear confirming that you permanently want to delete the production enterprise Please note that the site area s line s and cell s underneath the Inductive Automation OEE Downtime 56 enterprise will also be permanently removed Inductive Automation O E Downtime 57 General Enterprise Settings For the enterprise there are only general settings These settings are accessed by sel
530. rently selected sample parameters none returns String Message of any errors that may have occurred during the show note operation Data Type SEELE 3 4 2 SPC Components Component Palette oa x Input Buttons Display Tables Charts Calendar Misc Quality amp SPC amp Production db Reporting Li e A a 9 a a a ES SPC Components Inductive Automation 3 4 2 1 P li 2 SPC Selector FE OH en Description A component that allows selections of SPC data As the user makes selections this component will query the server for results These results can be accessed through the SPC Results and SPC Data and can be linked with any of the SPC control charts SPC Settings Filter By add Location Line 1 Quality Attribute select Viscosity Control Limits add XBar LCL XBar UCL Signals add yee af SPC Selector A filter can be added by selecting the link to the right of Filter By A window panel will open and filter categories will be displayed Click the link by the filter category and specific filter items will be displayed When selected they will be added to the filters as shown below To minimize the number of filter options reduce the date range defined by the Start Date and End Date properties and the associated filter values will be shown Because values collected from different locations being shown together does not make sense a location must be added to t
531. rently selected production run ID This is the ID for the Run database table Scripting name runID Data Type Integer From Date The beginning date to select runs from Scripting name fromDate Data Type Date To Date The ending date to select runs from Scripting name toDate Data Type Date Events This component has standard Ignition events Methods none O Inductive Automation PEEN OEE Downtime 127 2 4 2 4 Analysis Time Chart Description A component that displays the line and cell downtime events of a run in a visual time chart Scheduled Actual eeeee5CGcGGneacaeoa Seeeeeeeee Feeder Sorter Choppers Chopper 1 4 Chopper 2 4 Chopper 3 Cooker Discharge 09 30 10 00 10 30 11 00 11 30 12 00 12 30 13 00 13 30 14 00 14 30 15 00 15 30 16 00 16 30 17 00 17 30 18 00 18 30 Date Nov 2 2012 E Unplanned Downtime Unplanned Short Downtime M Planned Downtime M Other Downtime Changeover M Running Analysis Time Chart Properties This component has standard Ignition properties with the addition of the following properties Series Data Controls the data that is displayed in the analysis time chart and needs to be set to the Schedule vs Actual binding function Binding Function Alert History Alert Status sg Analysis Filter Options OEE DT Runtime Data Down Time History Production History a Production Schedule Work Order Security L A In Au
532. ridLine Data Type boolean The background color of the primary chart Scripting name primaryChartBackgrounc Data Type Color If true show the note icon next to the chart point for any samples that have notes or assignable causes Scripting name showNotes Data Type boolean The image to display next to the chart point for any samples that have notes or assignable causes Scripting name notelmage Data Type Image If true allow the user to add and edit notes and assignable causes Scripting name enableNoteEditing Data Type boolean If true allow the user to temporarily remove samples from chart This is used to remove samples that are known to out of control before calculating control limits The sample that have been removed are not removed from the database and can be restored by selecting the Restore Points menu item Scripting name enablePointDeletion Data Type boolean If true allow the user to calculate and set new control limit values Scripting name enableControlLimitEdit Data Type boolean This component has standard Ignition events none O Inductive Automation SPC li 352 Methods sus showSetLimitPanel chartName Causes the calculate and set control limit dialog to be shown parameters chartName Which chart to show the control limit dialog for Av Primary Data Type String returns nothing 3 4 2 11 NP Chart Description The Number of Nonconforming ltems np control ch
533. ript has been added to this event none Is fired when Edit menu item is selected The Edit menu item will only appear if script has been added to this event Return the sample UUID for the currently selected sample A UUID is a universally unique identifier that once assigned to a sample will never change It is automatically generated when a sample is created and is unique in that no two samples will have the same UUID Data Type String ls fired when Remove menu item is selected The Remove menu item will only appear if script has been added to this event Return the sample UUID for the currently selected sample A UUID is a universally unique identifier that once assigned to a sample will never change It is automatically generated when a sample is created and is unique in that no two samples will have the same UUID Data TypeString Is fired when Approve menu item is selected The Approve menu item will only appear if script has been added to this event Return the sample UUID for the currently selected sample A UUID is a universally unique identifier that once assigned to a sample will never change It is automatically generated when a sample is created and is unique in that no two samples will have the same UUID Data TypeString Is fired when Unapprove menu item is selected The Unapprove menu item will only appear if script has been added to this event Return the sample UUID for the current
534. ripting createValueMap Map of name value pairs Returns a Map object containing name value pairs for the parsed value specified by the name parameter The Map can be sent to the SPC module s Sample Entry component to automate populating sample measurement values from an instrument The Map can also be accessed using scripting 5 6 1 2 Parse Value A ParseValue object is available from the get method of the ParseResults object Because parse values contain additional information such as units data type if it is required etc the value is contained in this object The read the true value form the parse value use the getValue function properties e isValid Boolean If true indicates that this parse values is valid e isRequiredValid Boolean If true indicates this parse value is required and is valid e isRequired Boolean If true indicates this parse value is required e getName String Returns name of this parse value e getUnits String Returns the units extracted during parsing for this parse value The Include Units option must be selected in the parse box options for the units to be extracted e getDataType DataType Returns the DataType object of this parse value e getValue Object Returns the true value of this parse value For example if the data type defined in the parse box options is a Float8 then a double will be retuned 5 6 1 3 Parse Row Collection The Parse Row Collection ob
535. ripting name enableMonitoring Data Type Boolean The milliseconds between each check for new files Any files that are found during a check will be processed Processing of file will not overlap ff the time it takes to process the files exceeds the value of this property then the next check will be at the next interval Scripting name monitorRate Data Type Integer Character encoding Scripting name encoding Data Type String NOTE The following properties are not visible in the property editor They are available for binding and in scripting and expressions Last File Processed Last File Read At Error Message Events This property contains the name of the last file processed Scripting name lastFileProcessed Data Type String The date time the contents of last file was read Scripting name lastFileReadAt Data Type DateTime The current error message or blank if there are no errors Scripting name errorMessage Data Type String parse onBeforeParse Is fired before raw data is sent to the parsing engine to be Event Properties event getData event setData data parsed This provides an method for the raw data to be modified before being parsed It can be useful to remove unwanted characters or merging more data into the raw data before parsing Returns the raw data Data Type String parameters data Modified data to send to the parsing Inductive Automation Instrument Interface Module
536. ripts iio A A AA A AI 586 Client Designer Scripts A o O A II en Pedaiah KaHo eee re nid entente KE Naisia Naui 586 Index 589 Inductive Automation Introduction 11 1 Introduction Inductive Automation Introduction 12 1 1 Production Model To start out it is important to define what the production model is which is heavily referred to when dealing with OEE and downtime A production model defines your manufacturing or process in tree view form It provides an organized way to easily configure control and analyze your facility 1 Production gt gt Your Enterprise gt B Your Site gt EE Your Area gt P Line 1 Cell1 m_ Pana Production Model Tree O Inductive Automation Introduction 13 Enterprise The enterprise is the highest level of the production model and typically represents a manufacturing company A company may have one or more production facilities Site A site is a geographical production location and is part of an enterprise Separating your enterprise into multiple production sites allows for comparing OEE downtime and production information between them Area An area is a physical or logical grouping of production ines Line Aline is a collection of one or more cells and or cell groups that run a single product at any given time Typically the product flows from one cell or cell group to the next in sequence until the product or sub assembly being produced is complete a Lin
537. roduct code appropriate for the line parameters projectName The project name that contains the specified line path Data Type String linePath The line path of the production line that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Data Type String returns successful Returns true if the new schedule entry for the line has successfully been selected Data Type Boolean 2 7 5 Client Designer Scripts Methods Inductive Automation NFF Nawntime 200 system production utils addProductCode productCode description Adds a new product code to the system parameters returns productCode description result The product code For example Cola_120z_Cans Data Type SECT AG A description of this product code Data Type SELLOS Error message if the product code could not be added bl successful Data Type String system production utils addRunComment linePath userName note isSticky Adds a comment note to the current run for the selected line parameters returns linePath userName note isSticky none The line path of the production line that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Data Type String User name for this comment
538. roduct code must be entered before a work order can be added Work Order Work Order Product Code Work Order Quantity gl Y Save XM Cancel New Work Order Window Inductive Automation OEE Downtime 27 2 2 2 2 Product Codes Product codes or pack codes represent the products that are manufactured within your facility If you have multiple production lines this screen is where product codes are assigned to individual production ines In addition the settings for a product code may vary depending on the line it is being produced on Those settings are also set on this screen in the Properties section Ignition MES Software Operator Line Charts Analysis Schedule Work Order Product Code Product Codes Lines Product Code Description Disable Add Line Name Enable Stihlman Pe 002 ACIMI O Line 2 Brewing and Bottling PC_003 Product Code 3 E Properties Property Value Default Value Line 1 Line Outfeed Package Count 10 0 10 0 Line Outfeed Standard Rate 60 0 60 0 Schedule Rate 60 0 60 0 Filler CellEnabled 4 TRUE Outfeed Package Count 1 0 1 0 Outfeed Standard Rate 600 0 600 0 Capper CellEnabled M TRUE Outfeed Package Count 10 10 Outfeed Standard Rate 600 0 600 0 Labeler CellEnabled M TRUE Outfeed Package Count 10 10 Outfeed Standard Rate 600 0 600 0 Inspection CellEnabled M TRUE Outfeed Package Count 1 0 1 0 Outfeed Standard Rate 600 0 600 0 Produ
539. roperty to change the results shown in the bar chart The drill down menu information is set through the Drill Down Options property The Drill Down Options can populated from the Analysis Controller Analysis Selector SQL Query scripting or it can be manually defined in the designer 175 150 4 125 4 Area Automatic Reason Enterprise 100 75 4 Line 50 Operator Reason Package Count 25 1 O 5 Product Code Mi a Ba E Production Units Labeler Capper Palletizer m Downtime Minutes M O Production Bar Chart r Inspection Inductive Automation OEE Downtime 111 Properties This component has the same properties as the Ignition Bar Chart Component with the addition of the following properties Drill Down Options This is a Dataset that must have at least one column The first column must be a data type of string The values in the first column will be shown in the drill down options menu Typically this property binds to the drill down options property in a Production Analysis Selector component Scripting name drillDownOptions Data Type Dataset Previous Drill Down Enabled This controls the visibility of the Back drill down menu option If it is set to true Back will appear at the top of the drill down options Scripting name previousDrillDownEnabl ed Data Type Boolean Events This component has the same events as the Ignition Pie Chart Component with the addition of the follo
540. rrchangs O Open Pass Parameters Ya schedule a nt W and Center Parameter Name Value oP gs editEvent and Close This Window LinePath selectedLinePath x deleteEvent CurrentDate 5 selectedDate 3 NES scheduleDrop O swap ReScheduleOthers True F Window ScheduleNew y O Forward Back Implement the newEvent with OEE Demo existing window Fired when the edit event menu item is selected by a right mouse click Use selectedEvent from the component to get the schedulelD of the schedule item to edit Fired when the delete event menu item is selected by a right mouse click Use selectedEvent from the component to get the schedulelD of the schedule item to delete addUserMenul tem menuName Adds user menu items to the component that will display on a right click of the mouse Use the userMenultemClicked event handler to provide any functionality you define for each menu item Example This script is added to the internalFrameOpened event for a window and will add the three user menu items def initMenultems event event import system lineSchedView system gui getParentWindowevent getComponentForPath Root Container Line Schedule View lineSchedView addUserMenultem Display Click Data lineSchedView addUserMenultem Show Run Actual vs Scheduled Inductive Automation OEE Downti 154 lineSchedView addUserMenultem Show Run Actual vs Target
541. rt that shows downtime information for a ine during a given date range It can be expanded to include much more information It is built using the Ignition Reporting Module and presents data provided by the OEE Downtime and Scheduling module All the flexibility of how data is presented in the analysis screen is also available in reports and multiple analysis results can be included in reports In addition to viewing reports in a screen they can be printed saved to PDF HTML or image Ignition MES Software Operator Line Charts Analysis Schedule Product Code Work Order a Shift Report e db Shit Repon Stihlman m Brewing and Bottling Run Summary Dept Your Area Line Line Line 1 Schedued Actual Run Run 05 12 07 00 AM Changeover Star 5 12 11 7 00 AM 512 11 6 54 AM Line 1 Product Code PC_001 Changeover Duration 00 30 00 00 47 00 Description Product Code 1 Production Start 5 12 11 7 30 AM 512111 7 41 AM Production Finish 113 11 7 00 AM 111 7 11 AM Shift Summary Sim 1 Start Tene 512411 7 00 AM Operator Keith Chandler Efficiency 8 9 10 11 12 13 14 15 16 17 18 19 20 21 OEE Rate 60 Casos Hour 22 23 24 25 2 27 28 OEE Court 480 Scheduled Count 440 29 3 H Actual Count 357 Scheduled Variance 83 Downtime Elapsed Time 08 00 00 Unplanned Downtme 00 54 00 Planned Downtime 00 18 00 Run Time 06 51 00 Total Occurences 08 100 K lt _19 gt H Sample Report 2 2 3 D
542. rty can be set to a description for the area String It is not used by the OEE Downtime and Scheduling Module other than for reference Enabled This reflects the site Enabled property in the Designer If the Boolean area Enabled is set to true then the OEE Downtime and Scheduling module will perform calculations for the area and all lines and cell within it If this property is set to false then none of the ines or cells will have calculations performed Name This reflects the name of the area that is set in the designer String Read Only 46 4 Line Description The line folder contains some properties associated with the production ine and a folder for each production cell within it The name is the same as the line name that is configured in the designer The image below represents the Line 1 of the OEEDemo project Inductive Automation Production OEEDemo 2 5 Your Enterprise Your Site EJ Workday Routine Your Area gt 5 Line 1 Additional Factors 3 Capper I Case Packer O Filler O Inspection Labeler 9 Palletizer G Product Infeed O Product Outfeed O Workday Routine gt Accumulation Count gt Actual Finish Time gt Actual Run Start Time amp gt Actual SN Time P TIT A State State SQLTag Work Order Line Racine Changeover 514 6 OP mated Use Key Reason Detection Child Folders RecipeValue Any recipe values that
543. s event source parent getComponent SPC Selector setSpcDataFormat system quality spc format P getValue 3 4 2 2 Stored SPC Selector Description A component that allows creating recalling and saving SPC selections in the SPC Selector component This component will automatically use the available SPC Selector in the container Keep in mind that whenever a new sample definition is created a new stored SPC settings items will be created with the default values This being said additional stored SPC settings items can be created each with different filters attribute control limits and signals Stored SPC Settings Stored SPC Selector By clicking onthe link a menu with the option to create new save delete and rename SPC settings will popup To add a new saved SPC settings item click on New menu item enter a name select a sample definition and click OK This will create a default SPC Settings item Now the user can select filters attribute control limits and signals that will be saved and can easily be selected at a later time Name Definition Cancel New Stored SPC Settings To rename a stored SPC Settings item select an item and click on the Rename menu item enter a new name and click OK Name Cancel OK Inductive Automation Rename Stored SPC Settings Sua lt a8 To delete a stored SPC Settings item select an item and click on Delete menu item and
544. s the same as current project for the client Data Type String The item path to a production line cell cell group or location For example Your Enterprise Your Site Your Area Line 1 Data Type SELLOS Name of recipe Data Type SEFLaOS One or more recipe value names separated by commas to revert Data Type String Optional note to be stored in the recipe change log Data Type SELLOS 4 7 1 9 createRecipe Recipe Changeover 530 system recipe createRecipe projectName recipeName parentRecipeName note Create new recipe This script function can be used in gateway client scripts When called from the client omit the projectName parameter parameters projectName recipeName parentRecipeName note returns none The project name Only include when called from the gateway When called from the client the project is the same as current project for the client Data Type String Name of new recipe Data Type bring Name of parent recipe to base this recipe Leave blank if new recipe is not based on any other recipe Data Type String Optional note to be stored in the recipe change log Data Type SELLOS O Inductive Automation 4 7 1 10 renameRecipe Recipe Changeover 531 system recipe renameRecipe projectName existingRecipeName newRecipeName note Rename specified recipe This script function can be used in gateway client scripts When called from the client
545. s a important feature If processing of a file starts and data is still being written to the file it will wither cause errors or incomplete data will be processed Properties This component has standard Ignition properties with the addition of the following properties Instrument Interface Name The name of the Instrument Interface configuration to use The available configurations may be selected by clicking on the pencil icon and selecting from the list or typed in manually Scripting name instrumentInterfaceNam Data Type SEXING Inductive Automation File Path Move To t Interface Modul The file path to monitor for file s to prowess ss This can bea pat 1 10 a single file or it can contain wildcard characters to include multiple files By including the or wildcard characters in the file name or even the directory name will switch from single file mode to multi file mode The wildcard character represents a single character where the wildcard character represents multiple characters The sequence or is not needed and may not work correctly depending on your operating system Examples c temp import csv Will only process a single file named import csv c temp csv Will process all files with the csv file extension c temp Data csv Will process all files starting with Data and have the csv file extension c temp Data csv Will process all files starting with Data folled by
546. s along with the Recipe Changeover Module that is covered in the following sections of this manual Production Model To start out it is important to define what the production model is which is heavily referred to when dealing with recipe values Recipe values are defined by machine or in some cases a virtual location Once recipe values are defined for a machine they can be added to recipes After which the recipe can be selected for the machine A production model defines your manufacturing or process in tree view form It provides an organized way to easily configure control and analyze your facility 1 Production Be gt Your Enterprise g 1 Your Site t Your Area f gt P Line 1 en LL Production Model Tree Inductive Automation Recipe Changeover 435 Enterprise The enterprise is the highest level of the production model and typically represents a manufacturing company A company may have one or more production facilities sites Site A Site is a geographical production location and is part of an enterprise Area An area is a physical or logical grouping of production ines Line Aline is a collection of one or more cells and or cell groups and or locations that run a single product at any given time a Line 1 Cell 1 5 Cell1C a CelliA q Location A location is the space where a sample is collected product is tracked through or recipes are selected for This can be pla
547. s are added removed or modified the changes will be reflected in the Production OPC Server when the project is saved in the designer Below is a part of the values available to read and in some cases write to for the demo project OPC Browser E x lt Default gt Y Production OPC na a Ignition OPC UA Server S Production aii gt Y OEEDemo 5 Your Enterprise 2 3 Your Site EJ Workday Routine Your Area Line 1 O Line 2 CN Workday Routine gt Description gt Enabled gt Name gt Shif1 Start Time gt Shift 2 Start Time EE sr Bae Shift 3 Stat Time gt ye case Poe gt Demo OPC Values 2 5 1 Using OPC Values The OEE downtime and scheduling configuration settings and runtime values are available for use in Ignition windows transaction groups scripting etc Before values from the Production OPC Server can be used they must be added to the Ignition SQLTags This is done in the designer by selecting the SQLTags Browser and clicking on the M icon This will cause the OPC Browser to appear Next drill down in the Production node within the OPC Browser Drag the desired Production OPC Values over to the SQLTags Browser as depicted below O Inductive Automation OFE OPC Browser El x lt Default gt 8 pp Ignition OPC UA Server Production OEEDemo amp Your Enterprise SQLTags Browser og x TA ae dl J
548. s associated with the production area and a folder for each production ine within it The name is the same as the area name that is configured in the designer The image below represents the Your Area of the OEEDemo project 1 Production Gj OEEDemo amp Your Enterprise 3 Your Site Workday Routine 3 Your Area E Line 1 Line 2 G Workday Routine lt gt Description gt Enabled gt Name gt Shift 1 Start Time gt Shift 2 Start Time gt Shift 3 Start Time Area Child Folders Workday Contains all of the workday routine entries that are active for the production Routine area Line One folder will exist for each Line that has been configured in the Ignition Designer The folder can be opened to view all values within the ine Properties Inductive Automation ti Description Optionally this property can be set to a description fort e re area mB tring It is not used by the OEE Downtime and Scheduling Module other than for reference Enabled This reflects the site Enabled property in the Designer If the Boolean area Enabled is set to true then the OEE Downtime and Scheduling module will perform calculations for the area and all lines and cell within it If this property is set to false then none of the ines or cells will have calculations performed Name This reflects the name of the area that is set in the designer String Read Only Shift 1 The current Shift 1
549. s for the calculated values based on the SPC Data Format and selected attribute control limits and signals Scripting name spcData Data Type Dataset Measurement This property represents the number of measurements for each sample C in the SPC results O u nt Scripting name measurementCount Data Type int User This property can optionally be set to override the current user logged in It is used when notes or assignable causes are added or modified Scripting name user Data Type String Background Color The background color Scripting name backgroundColor Data Type Color Definition Name The sample definition to used when building SPC results Scripting name definitionName Data Type SEring No Data Message Text to display if not data is available to show in the control chart Scripting name noDataMessage Data Type String No Data The foreground color to display the no data message F or e gr o u n d Scripting name noDataForeground Data Type Color No Data Font The font to display the no data message Scripting name noDataFont Data Type Font Inductive Automation Table Properties Show Table Min Visible Samples Min Visible Measurements Column Width Row Height Date Background Date Foreground Date Font SPC Quality 360 If true the table containing measurement and calculated values will be shown at the top of the control chart Scripting name showTable Data Type boolean The mini
550. s in reverse order by t Scripting name sortType Data Type int Numeric value used in scripting None 0 Due State 1 Taken Date Time 2 Taken Date Time Descending 3 When set to true allows users to enter a note tied to a sample Scripting name showEnableNoteEditing Data Type boolean Optionally set this property to only show samples that are scheduled after the specified Start Date Scripting name startDate Data Type Date Optionally set this property to only show samples that are scheduled before the specified End Date Scripting name endDate Data Type Date Optionally set this property to only show samples for specified product code Scripting name productCode Data Type String Optionally set this property to only show samples for specified reference number Reference numbers can represent anything such as lot number batch number raw material lot number raw material vendor etc Scripting name referenceNo Data Type String This component has standard Ignition events with the addition of the following events Inductive Automation add Event Properties edit Event Properties event getSampleUUID remove Event Properties event getSampleUUID approve Event Properties event getSampleUUID unapprove Event Properties event getSampleUUID review Inductive Automation SPC Quality 295 Is fired when Add menu item is selected The Add menu item will only appear if sc
551. s is controlled by the functionality of the operator screen but it can also be handled programmatically It should only be changed when Enable Run is false The description for the current Product Code The current package count of the primary outfeed The current hourly production rate of the primary product outfeed See Production Rate Calculation for more details The current production rate per minute of the primary product outfeed See Production Rate Calculation for more details The units of the production rate This reflects the units defined in the primary product outfeed See Product Outfeed for more details This reflects the value of the Run Disabled Reason Code setting in the designer The total amount of unplanned downtime in minutes for the current production run Gee pow ntime oat Read Only Float8 Read Only Float8 Read Only Float8 Read Only String Read Only Int4 Read Only String String Read Only Int4 Read Only Float8 Read Only Float8 Read Only String Read Only Int4 Read Only Float8 Read Only Run Elapsed Time Minutes Run ID Run Ideal Standard Count Run Planned Down Time Minutes Run Production Count Run Standard Count Run Standard Variance Run Start Date Time Run Started Run Target Count Run Target Variance The total minutes that have elapsed from the start of the production run This is the unique identification
552. s location e getTag String Returns the tag setting for this location e setTag String tag Sets the tag setting for this location The tag is used to assign ownership of who is responsible to take samples For example set to Lab if the lab is responsible or Operator if the operator is responsible e isModified Returns true if this sample definition has been modified e isNew Returns true if this sample definition is new 3 6 2 8 Sample Definition Control Limit The sample definition control limit object holds all of the information defining a control limit that is applied to a sample definition Be sure not to confuse a control limit defined in the Ignition designer with the sample definition control limit object The sample definition control limit object connects a control limit defined in the Ignition designer with a sample definition Once a control limit is associated with a sample definition it will appear as an option in the SPC Selector and can appear on control charts It will also be included during automatic signal evaluations that require the control limit properties Inductive Automation SPC Quali 411 e getiD int vey Returns the database created ID for this sample definition control limit e getParent SampleDefinition Returns the sample definition that this control limit is a child of e getName String Returns the name of this control limit as defined in the Ignition designer
553. s side feeding into a filler then the only automatic reason that can be detected is operator pressed stop button Now the operator should be able to override the reason with more specific information In applications where the production cell is not automated and work is performed completely by manual labor all downtime information can be entered manually from a predetermined list Downtime Reason Detection For this reason the OEE Downtime and Scheduling module determines the downtime reason from a single numeric value Single numeric values are stable and can only represent one state Of course one could use Expressions or script in Ignition to evaluate multiple values from the PLC and calculate a single numeric value representing the downtime reason but this degrades the reliability of determining downtime reasons Another benefit is that it is typically faster and reduces network traffic to read one value as opposed to multiple scattered values from a PLC The reason code with the numeric value of 0 is reserved for idle and 1 is reserved to mean running All other reason codes are available for downtime reasons and is only limited by the maximum numeric value your PLC can handle When the OEE Downtime and Scheduling module detects a production line or cell state that changed from a value of 1 running it will lookup the downtime reason from the state value If communication to the PLC fails in the case when a electrical disconnect is shu
554. sample is TracedStartedEvent Boolean is TracedEndedEvent Boolean isShiftChangeEvent Boolean getCreateSample Boolean setCreateSample createSample Boolean e getScheduleStart Date Inductive Automation SPC Quality 391 e setScheduleStart Date e getScheduleFinish Date e setScheduleFinish Date e getRefresh Boolean e setRefresh refresh Boolean 3 6 1 7 Sample Overdue Event When a sample due state changes to OVERDUE any script in this event is run It is provided to allow for the performance other actions such as alerts when sample is overdue event properties e getSample Sample Returns the sample that just became due See Sample section more information e getState SampleDueStateTypes Returns the current sample due state See Sample Due State Types for more information Example 3 6 1 8 Sample Waiting Approval Event When a sample due state changes to WAITING_APPROVAL any script in this event is run It is provided to allow for the performance of other actions such as alerts when sample is awaiting approval event properties e getSample Sample Returns the sample that just became due See Sample section more information e getState SampleDueStateTypes Returns the current sample due state See Sample Due State Types for more information Example 3 6 1 9 Signals Evaluated Event When sample data changes all of the out of control signals associa
555. sample This is optional and may not apply if tracking quality by product code is not being used for the associated sample definition setProductCode String productCode Sets the product code associated with this sample Inductive Automation Inductive Automation SPC Quali 395 getRefNo String uality Returns the reference number associated with this sample This is optional and can be used to track information like batch number lot number etc Additional factors can also be used to track information setRefNo String refNo Sets the reference number associated with this sample getScheduledStart Calendar Returns the date and time that this sample is scheduled to be taken For automatic samplings this value does not apply and will be equal to None setScheduledStart Calendar scheduleStart Sets the date and time that this sample is scheduled to be taken calcScheduledFinish Based on the scheduled start date and time and the duration of time to take this sample calculates the date and time this sample is scheduled to be complete The getScheduledFinish value is updated after calling this function The duration of time required to take a sample is defined in the sample definition For automatic samplings this value does not apply getScheduledFinish Calendar Returns the date and time that taking this sample is scheduled to be complete For automatic samplings this value does not apply and will be equal to N
556. sample data approveSample String projectName String sampleUUID String approvedBy Parameters String sampleUUID The UUID to an existing sample to approve String approvedBy The name of the person who is approving the sample String projectName Name of the Ignition SPC project Returns none Scope client gateway Example system quality sample data approveSample currentSample getSampleUUID system security getUsername 3 6 3 2 2 8 unapproveSample system quality sample data unapproveSample Description Unapprove a previously approved sample When a sample is unapproved it will not be shown in the control charts or included in the data during automatic signal evaluation Syntax Client system quality sample data unapproveSample String sampleUUID Gateway system quality sample data unapproveSample String projectName String O Inductive Automation P li 424 sampleUUID SPC Quality Parameters String sampleUUID The UUID to an existing sample to approve String projectName Name of the Ignition SPC project Returns none Scope client gateway Example system quality sample data unapproveSample currentSample getSampleUUID 3 6 3 2 2 9 removeSample system quality sample data removeSample Description Remove a single sample This function should be used with caution because it permanently removes the data from the database Asample can be removed at any point in its life cycle Meaning it can
557. section you wish to work with Inductive Automation Command Windows Help Puzzle Works Inc Quality User Screens Click to experience the user screens intended for sample entry monitoring due samples and other quality functions SPC Module Demo Project jilt plet e Igniti 3 2 2 1 Quality User Screens SPC Module Demo Project Main Screen SPC Oualitv 220 Click to experience the SPC control charts which provides a view of collected sample data and other analysis gt inductive automation This is the Quality User Screen Menu Here the user can click on the menu item to select the corresponding screen or click on the Back to Main to return back to the main demo menu O Inductive Automation SPC Quality 231 Puzzle Works Inc Overview Test Stations Lab Sample Definition Back to Main User Screen Menu 3 2 2 1 1 Overview Below is the overview screen that is included with the SPC demo It demonstrates control charts that are updated automatically every time new sample measurement data is recorded lt also demonstrates indicators of both overdue samples and processes that are out of control The indicators can just as easily be alerts that appear in the alarm list or are sent as emails or text messages using the Ignition alerting functionality Inductive Automation SPC Quality 222 Line 1 d xBar USL 10015 de individual UCL 120 7 PTT Quality Status Samples Overdue
558. select Yes to the confirmation message If changes to a stored SPC settings values have been made and the user selects a different stored SPC Settings they will be prompted to save the changes Alternatively the changes can be saved by clicking on the Save menu item Properties This component has standard Ignition properties with the addition of the following properties Show Show Menu Menu Top When true disabled attributes will be included in the attribute list Scripting name showDisabled Data Type Boolean When true the menu will be displayed By setting the property to false it will only allow users to select stored SPC settings items and prevent them from creating new renaming existing saving over existing or deleting stored SPC Settings items Scripting name showMenu Data Type Boolean The y coordinate to display the menu at Scripting name menuTopPosition Data Type ne Inductive Automation Menu Left Scripting name Data Type SPC Quality 309 The x coordinate to display the menu at menuLeftPosition DE Menu Image The image to show for the menu Scripting name Data Type Events menulmage Image This component has standard Ignition events with the addition of the following events selected Event Properties event getSettingsName event getSettings created Event Properties event getSettingsName event getSettings deleted Event Properties event
559. ser input or script The data type format of the SQLTag containing the state must be a number The SQLTag Inductive Automation OEE ti 70 can be manually typed or pasted in to the Factor SQLTag edit box tonal clicking on the icon will display a browser where a SQLTag can be selected Remote Operator Reason Code SQLTag This code will allow changing of the active downtime Operator reason code from a tag instead of directly in the downtime table It is up to you to determine the proper code to write to the tag If the code is not valid then the code will not be changed For instance if the current active code is from the Capper cell of the line then the remote code must be an operator selectable code from the Capper Downtime Reasons Adding a Downtime Reason See the section on Adding a Downtime Reason for details on adding downtime reason entries Editing a Downtime Reason See the section on Editing a Downtime Reason for details on editing downtime reason entries Deleting a Downtime Reason See the section on Deleting a Downtime Reason for details on deleting downtime reason entries Short Downtime Threshold Seconds Short downtime are events that last a small specified time 120 seconds for instance Short events will not affect the OEE availability calculation If set to 0 then all downtime events are considered long and will always affect the OEE availability calculation This setting affects this Line and all Ce
560. ses of downtime then you can finish the process and start fixing the sources of your production inefficiencies But why combine OEE downtime and scheduling into one module The OEE Downtime and Scheduling Module does not require the use of all three functions but we packaged them together because the combination provides the best tools for the improvement of production efficiency If only downtime was tracked then you would not see the full picture Downtime only informs you as to whether or not a machine is running not if the machine is actually producing a quality product Or if only OEE was tracked you would know that efficiency is lower than normal but not why or what actions to take to improve it Low efficiencies also result from ineffective procedures or a lack of communications between departments This is where the scheduling helps by providing current schedule information to all associated departments improving communication and reducing unnecessary delays The OEE Downtime and Scheduling Module allows you to see the whole picture resulting in the improvement of your production in every aspect 2 1 1 OEE OEE stands for Overall Equipment Effectiveness and is used to monitor manufacturing effectiveness The resulting OEE number represented as a percentage is generic and allows comparisons across differing industries Efficiency is not simply the ratio of machine run time to scheduled time Look at the situation of your manufacturi
561. shold can be defined as a percentage of the recipe value or a fixed amount See Variance Tracking for more information High Variance Threshold The High Variance Threshold setting is used to define the upper limit before recipe variances are triggered for this recipe value The variance threshold can be defined as a percentage of the recipe value or a fixed amount See Variance Tracking for more information Evaluate Variance Script Optionally script can be used instead of using the Low Variance Threshold and High Variance Threshold settings to determine if the recipe value is outside of an allowable range When an Ignition tag value change is detected the variance state is evaluated using the Low Variance Threshold and High Variance Threshold settings Then if an Evaluate Variance Script has been entered for the recipe value the script will be executed and the state can be changed See Variance Tracking and Evaluate Variance Script for more information Create Recipe Value by Drag and Drop Recipe values can be added to production items as described above but the easiest method is to drag one or more tags from the SQLTags Browser to the recipe value table Multiple tags can be selected by holding down the ctrl or shift keys while selecting tags in the SQLTags Browser and dragged to the Recipe Values table to create multiple recipe values at once When using this method to add a one or more recipe values drag the selected Ignition tags to
562. shold is 3 then three cells must be running If two out of the five cells are down there are still three cells running so the cell group Inductive Automation OEE D i 7 is running If three out of the five cells are down there are only two tells funning meaning the cell group is down because the threshold has not been met 2 3 2 1 6 Cell Configuration Adding a Cell To add a production cell right click on a line folder in the project browser and select the New Production Item gt New Production Cell menu item A cell named New Cell will be added to the line folder Multiple production cells can be added to a production line Renaming a Cell To rename it to the name representing the production cell right click on it and select Rename then enter the new name Deleting a Cell To remove an existing production cell right click on the cell item and select the Delete menu item A window will appear confirming that you permanently want to delete the production cell Project Browser O x Eg Configuration aa Production gt Your Enterprise 1 8 Your Site 3 g amp Your Area gt a Line 1 Filler E Capper Inspeq Rename F2 m Casel Cut Ctrl X E Palletiz Copy Ctrl C Fe une Paste Ctrl v a Line 3 a Line 4 a Line 5 2 Move Up P LE is Pl LIO ER DON aa ai Deleting a Cell Cell General Settings These settings are acce
563. show the recipe value table in the recipe editor Scripting name showValues Data Type Boolean Set to true to show the item default values and sub recipes in the recipe editor Scripting name showItemDefaults Data Type Boolean Inductive Automation Show Sub Recipes Enable Recipe Editing Enable Security Editing Read Only Require Note Item Path Filter Recipe Name Filter Inductive Automation e Changeover 48 Set to true to show sub recipes in the r cipe editor the default values will show up as a sub recipe Scripting name Data Type showItemDefaults Boolean Set to true to enable recipe editing Scripting name Data Type nableRecipeEditing Boolean Set to true to enable recipe value security editing Scripting name Data Type enableSecurityEditing Boolean Set to true to disable editing of everything The recipe editor will be in view only mode Scripting name Data Type readOnly Boolean Set to true to require a note for any changes If the user does not enter a note then the change they are requesting will be canceled Scripting name Data Type requireNote Boolean To limit which production items to show in the recipe editor this property can be set This provides a method to only show production items that are of interest to the end user The wildcard characters or can also be included in the filter value Ex
564. signable causes Scripting name enableNoteEditing Data Type boolean If true allow the user to temporarily remove samples from chart This is used to remove samples that are known to out of control before calculating control limits The sample that have been removed are not removed from the database and can be restored by selecting the Restore Points menu item Scripting name enablePointDeletion Data Type boolean If true allow the user to calculate and set new control limit values Scripting name enableControlLimitEdit Data Type boolean This component has standard Ignition events none Methods showSetLimitPanel chartName Causes the calculate and set control limit dialog to be shown parameters chartName Which chart to show the control limit dialog for Av Primary Data Type String returns nothing Inductive Automation SPC Quality 370 3 5 Quality OPC Values The production model is defined in the Ignition designer and contains your production areas lines and locations Runtime access into configuration and current state of the production model is available through the Production OPC Server It is added automatically when the SPC Module is installed When the production items are added removed or modified the changes will be reflected in the Production OPC Server when the project is saved in the designer Below is a part of the values available to read and in some cases write to for the dem
565. sis Provider is selected some filter compare by and data point options may or may not be visible This section covers only the Quality Analysis Provider that is available with the SPC module Name Type Quality x Cancel OK Quality Analysis Provider Quality Description The Quality Analysis Provider is used to query SPC information that is beyond what can be shown on control charts For example to determine the number of samples taken by user or the number of times a process was out of control over the last month cannot easily be shown in a control chart Provider Name Quality pr are the filters that are available in the SPC Module However in addition to these filters additional factors may be available if they are string data type All additional factors start with Factor For example Factor Operator A filter will allow the user to see all of the data points in the analysis provider as it pertains to a specific area shift etc For more information on filters see the Filter By paragraph in the Analysis Screen section Area Attribute Name Definition Name Enterprise Include Line Location Product Code Reference Number Sample Note Shift Shift Sync Site Tag Inductive Automation SPC Quality 429 Compare By These are the comparisons that are available in the SPC Module However in addition to these comparisons additional factors may be available if they are string data type
566. sis Selector component but the Analysis Controller will allow requesting comparisons of recipes without the user interface The filters and data points are defined through the component properties and is how data for reports is collected Fitters ensinctude Category Recpe Recipe Name taste Rem Path RecipeDemo Comparisons D Dela Points Reckse Vila E Y dl Value Nam hem Path __ Master C_Recipe Value Recipe C1 6Pk_Recipe Value Line Speed EnterpriselSitelArea 1 Line 1 82 82 Recipe UCL Enterprise Site Area fMLine 1 Check 48 2 48 3 LSL Enterprise Site Area NLine 1 Check 45 0 45 0 LCL Enterprise Site Area Line 1 Check 45 8 458 USL EnterpriselSitelArea MLine 1 Check 48 0 48 0 Filter By Line Speed Enterprise Site Area 11Line 1 Sealer 0 0 Chitdren High Temperature Alarm Enterprise Site rea Line 1 Sealer 125 0 125 4 Include Temperature Enterprise Site Area 1 Line 1 Sealer 115 115 Low Temperature Alarm Enterprise Site Area Line 1 Sealer 110 0 110 0 Category Leading Delay Enterprise Sitel rea 11Line 1 Case 80 99 Recipe Units Per Case Enterprise Site Area Line t Case 24 24 Trailing Delay Enterprise Site Area fMLine 1 Case 200 200 Raupa nens Glue Delay Enterprise SiteVrea Line 1 Case 2 2 Master C Fill Weight EnterpriselSitelArea f Line 1 Filler 50 75 50 75 Recipe C1 6Pk Min Fill Level Enterprise Sitel rea 1 Line 1 Filler 4 0 5 25 Line Speed EnterpriselSitelArea 1 Line 1 Filler 0 0
567. snandiagensisessdisdacenes 70 Cell Configuration 12 Workday ROUtINES Sii a A ie 76 AULA AAA ner rene anne AEAEE Haaa ere aaa aaaea adaha aana aaia 77 Adding a Dow ntime REASONS a alta After td a ar tienne e a e a ane ea LE nd Re ar E a ane aE nAi 80 Editing a Downtime R asons ereraa eaa Ee a AE a ten a aei aii 81 Deleting a Dow ntime Reasons e a e r a rae a re ae a ar a a ra Aar a a ra e dae aar aa eria erain 82 Import EXport a ae rire 82 Pr oduct infeed noni NA A E Aid 82 Adding a Product Inf d ssss smart renier ses 83 Editing a Product dada 84 Deleting a Product Infeed sise 84 NS AN 84 Product Outfeed RR AO 84 Adding a Product Outfeed 84 Editing A Product Outheed miii ii 86 Deleti g a Product Ouf eed tenaient nan nie in entre a AR Ed iaa 86 kopor Export dae 86 Product WaS Efi A Ten nn A a Ste ne eaae aa a se EEEE EE 87 Adding a Product Waste Counter sise 88 Editing a Product Waste Counter e antes hate a aE P ar rr R aa tnt E Aa ae r Ee E Aa r araea aaa a a aa E E aa APAT ARER fans 88 Deleting a Product Waste Counter sise 89 an orolni mde n AARE A En EPEE EAA E EEE TEETE AAEE ee ne Rte TE 89 4 Component Reference s m ara aana araa artesa 90 Production COMPONE NUS mnre AAA A Rda A 90 Productions leona A aio old 90 Production Cell Selector 91 ProductCode Sii A AAA ea A E td id 92 Product Code Tail A A A A A arret he arr E aS 93 Product Cod
568. specified in the Item Path filter should be included Only one of the valid options are required Q Include Q Exclude Default Example when using it with the Analysis Controller Children Include This is a filter to limit the recipe s to include in the results Example when using it with the Analysis Controller Recipe Name Recipe A Recipe Name Recipe B This is a filter to limit the recipe value s to include in the results Example when using it with the Analysis Controller Recipe Value Name Line Speed Recipe Value Name Force This is a filter to limit the sub recipe s to include in the results Example when using it with the Analysis Controller Recipe Name 1A Recipe Name 1B The recipe analysis provider does not allow any comparison statements Data Points The recipe analysis provider can accept the following data points Change Type Changed By Description From Value Info This is a description of the type of change For example it can be Recipe value changed or Recipe value reverted This is the person that made the change This is the description from the recipe value configuration that was entered in the designer This is the value before the change This is additional information that further describes the change Inductive Automation Item Path Note Recipe Name Sub Product Code Time Stamp To Value Units Value Name Inductive Automation Recipe Chang
569. ssed by selecting the desired cell item contained in the line folder in the project browser and then selecting the General tab Enabled By default added cells are enabled It can be disabled by un checking the Enabled setting and saving the project This will stop the OEE downtime and scheduling module from executing the cell Description This is an optional description and is just for your reference Inductive Automation OEE Downtime 73 Cell OEE Settings The Cell OEE settings are accessed by selecting the cell item contained in the ine folder in the project browser and then selecting the OEE tab as shown below For production cells the OEE settings are optional and are only needed if you want to track efficiencies waste or monitor production rate by individual production cells It is also important to note that the OEE information is not required to track downtime for the cell Before OEE calculations can be performed production count information is required At a minimum the outfeed production count for a production cell is needed if tracking OEE for it is desired Additional production count information can be configured which will result in more OEE calculations For example if the infeed production count is configured for a production then product accumulation and waste is calculated If a production cell is configured for more than one infeed or outfeed then accumulation and waste calculations will be performed for
570. ssociated with this sample See Sample Definition object for more information e sNew boolean Returns true if this is a newly created sample e isModified boolean Returns true if any properties of this sample have been modified attribute properties e getAttributeDataType String attrName AttributeDataType Returns the attribute data type object for the specified attribute name The attribute data type information is contained in the sample definition and cannot be changed directly in the sample object e getAttributeDefaultValue String attrName Object Returns the default value for the specified attribute name The attribute default value is contained in the sample definition and cannot be changed directly in the sample object e getAttributeMinValue String attrName Object Returns the minimum value for the specified attribute name The attribute minimum value is contained in the sample definition and cannot be changed directly in the sample object e getAttributeMaxValue String attr Name Object Returns the maximum value for the specified attribute name The attribute maximum value is contained in the sample definition and cannot be changed directly in the sample object measurement properties e getAllMeasurements List lt SampleData gt Returns the measurements associated with this sample If asample has been scheduled but the measurement data has not been recorded the measurement entries will still exist I
571. sssotsscncesssocesastecuoctvsuasssateivinneavesicevsedassetvveteissoindsecesdspissastesuacteseaes 496 Recipe SelectOrLiS Lui AA E AAA A e ren AAA RARA ADE AI 497 5 Analysis Provide Is iio inicia 500 R cipe Analysis A ON 500 Recipe Variance Analysis Provider oooooonnccconociccccnnonccnnnncnncncnnnr cnn rca 503 Sub Product Code Variance Analysis Provider iii 505 Recipe Change Log Analysis Provider sise 507 6 Production OP CV alles civic cia 510 Enterprise A 510 Site CanDo near ner men ee nent nee meet einer reece ist 511 Area Aoa a ea A A E e A Aaaa EAEE Aaa Ae NAA aa Kaoa PA aA SAANA aTe AAKE a ATEEK Aa asada 512 RN 513 Cell A ii 515 GEINGrOUp iii AA AAA AA re ete AAA 517 Location Rs a A PR C EEE A AS A O 522 getDefaultV alues AAA A A A ee eit ama nia A eut 522 s tPathDefauiValue san une a a A tee niin aera a 523 revertPathDefalltV alle ooo cc at a aiii 524 cr at SubProduct od tirita tidad 525 renameSubProductEode rssi A A A A O eee Ae nen ie 526 deleteSubProductCode rennes AG ten AO da NAS 527 SetPathReCipe Vall e An ne seas caval E E A eee 528 revertPathRecipeV lle vivi ia ban Mabon be tan ana A ined 529 createRecipe renameRecipe deleteRecipe addit mTOoReCiIper s saniss nesis ben tannins nantes Mit rends LA None 532 rEMOVElEMETOMRE CPE iii Ad AAA A aan eae ones 533 GetChangelogHisStory NN getRecipeVariances ue getternReCip liS hein bent A AA han nn AN Ne neat gelC rrentit mReCipes irait
572. sstesendedepscdsceueseceseenscsuseidsensavenscevsieenscrsesthi 459 MES Mod le Set gS r e nero cackevsecdevecnayuectssucrsnsosuveccecdecseusonesdotivstercvessscuckevseevetecseyesutencersvsied 460 3 CONTIGUA ON EE E N A A AA A EE ns nine 462 MES Module Configuration snnennnnnrnnencneeenneneennnescnensnnesenesneeenenenenenee 462 Datasource Settings iii cin chan aden Rain ne Ghai ainda vn Ein nl 462 Production Model Configuration 463 Production MOd l 234 2488488 a intanmeness lens taf on nant nation a sms te 464 Enterprise Configura viii annie AAA aun aie dias 464 Site Configuration am AA nn et tn nn AA CR 466 Inductive Automation Area Configuration scene r in nent idas Line Configurations O bias lee Dave tite Cell Configuration Cell Group Configuration location Configuration died ds Sub Recipe Mas ke vic Read Nidia cas Sub Recipe Mask Settings es a A A E AAA Recipe Values _ Adding a Recipe Value Editing a Recipe Value nn ner me ne a Deleting a Recipe Value nantes ee el a A nt Import EXPO Mole ster Re ee Se a es eed dell e all dalla A Component Reference ni sr nes des devient deeeaecduyvs can do ai ida Recipe Editor a en sico 481 Recipe Changelog Viewer 492 Recipe Variance Vie W erinti rea aeaa rente nt ce araga aa aada Eaa EANA aaea taiea enea dfaa a edatia iaiia 494 Recipe Selector COMDO sic casccccsestscsciziceeadestcesectsavetscete
573. t This will stop the OEE downtime and scheduling module from executing the line and cell s that are underneath it Description This is an optional description and is just for your reference Shift 1 Default If checked shift 1 will be included during scheduling If not checked shift 1 Enabled will be scheduled around To inherit the shift enabled from the from the area select the Inherit From Parent option Default Start The time of day that first shift starts The first shift ends at the start of second Time shift To inherit the time of day that first shift starts setting from the area select the Inherit From Parent option Inductive Automation SPC Quality 257 Shift 2 Default If checked shift 2 will be included during scheduling If not checked shift 2 Enabled will be scheduled around To inherit the shift enabled from the from the area select the Inherit From Parent option Default Start The time of day that second shift starts The second shift ends at the start of Time third shift To inherit the time of day that second shift starts setting from the area select the Inherit From Parent option Shift 3 Default If checked shift 3 will be included during scheduling If not checked shift 3 Enabled will be scheduled around To inherit the shift enabled from the from the area select the Inherit From Parent option Default Start The time of day that third shift starts The third shift ends at the start of first T
574. t To inherit the time of day that third shift starts setting from the site select the Inherit From Parent option Note The shift start times are the default for your production site and can be overridden by the production area and or production line 3 3 2 1 4 Line Configuration Adding a Line To add a production ine right click on an area folder in the project browser and select the New Production Item gt New Production Line menu item A line named New Line will be added to the area folder Multiple production lines can be added to a production area Renaming a Line To rename it to the name representing the production line right click on it and select Rename then enter the new name Deleting a Line To remove an existing production line right click on the line item and select the Delete menu item A window will appear confirming that you permanently want to delete the production line Please note that the cell s underneath the ine will also be permanently removed Project Browser ox Eg Configuration a aa Production 1 Your Enterprise 2 3 Your Site gt dE Your Area a Line 1 New Line Line General Settings These settings are accessed by selecting the desired line item contained in the area folder in the project browser and then selecting the General tab Enabled By default added lines are enabled It can be disabled by un checking the Enabled setting and saving the projec
575. t function to narrow down the results that are returned For example if you only want variances for a specific production item machine and specific date range the VarianceFilters object properties are set appropriately and are passed as parameters to the getRecipeVariances script function methods e createNew VarianceFilters Returns a new instance of a VarianceFilters object After setting various filter properties it is used with the getRecipeVariances script function properties e setProjectName String projectName Set the project name to read variances Variances are kept by project and the project name is required with the getRecipeVariances script function e setVarianceEntryType String varianceType Set the variance types to include in the results Valid values are Q RECIPE to return variances that occurred while a production item was selected to a recipe Q SUB_RECIPE to return variances that occurred while a sub product code was selected for a production item See Sub Recipes for more information e setVarianceScopeTypes String varianceScopeType Set the variance scope to include in the results Valid values are Q LAST to return variances that occurred for the current or last recipe that a production item was set This is useful for detecting any variances in real time for a production run If the production run has stopped it will return the variances as long as anew recipe has not been selected for the production item
576. t off the production line or cell state is replaced with 0 If this happens during a production run it will count as downtime Important Some systems may accommodate boolean logic to determine the downtime cause However consider the various values from a PLC that are going to be used to determine the downtime reason These scattered values may come in from the PLC at different times and if the boolean logic resided in the OEE Downtime and Scheduling module then it may be determining the reason on partially current values Oops now we have the incorrect reason and when all of the current values do arrive what do we do Do we change the original reason add a new downtime entry or maybe put a delay in to allow for all of the current values to arrive None of these options are good solutions Automatic Detection When the value of the State SQLTag changes to a value that is other than the numeric value of one the system will look for a matching reason code in the entries in downtime reasons table If it is not found it will replace then reason code with zero 0 Manual Override After an automatic reason has been triggered the operator can override it will a more specific reason Both are logged and can be viewed in analysis and reporting For details about how to disable manual override see the Editable property in the Down Time Table section Manual Only For production ines that do not support automatic downtime detection a completely ma
577. t to O then all downtime events are considered long and will always affect the OEE availability calculation Detecting Line Downtime In the OEE Downtime Module there are multiple options for detecting line downtime reasons The options have been added to accommodate the wide variety of manufacturing processes Below is a description of each method along with the situations where it can be used As you read through the methods described below think of the effort required to manually implement them whether done in the PLC or in Ignition Initial Reason The concept of this method is the first cell that went down for a unplanned reason is the cause for the line not being able to produce product When a cell first goes down the date and time is recorded If multiple cell are down they will each have their own date and time that it went down The data and time for each down cell is looked at to determine the initial cell that went down and will be assigned as the cell causing the line downtime along with its reason If the initial cell restarts then the other down cells are looked the next cell in chronological order that went down If there are two or more cells that went down at the same time then it will use the order that they appear in the designer If there are no cells down for an unplanned reason then the ine will return to running state This method should be used if all cells interact with one another If any cell is down then all
578. t to a value to filter the samples by Scripting name locationPath Data Type String Read Only When set to true prevents the popup menu from appearing when the user right clicks on the Location Sample List component Scripting name readOnly Data Type boolean Show Waiting Approval When set to true includes samples that are waiting approval Scripting name showWaitingApproval Data Type boolean Show Approved Samples When set to true includes samples that have been approved Scripting name showApprovedSamples Data Type boolean Show Due Samples When set to true includes samples that are due Scripting name showDueSamples Data Type boolean Show Coming Due Samples When set to true includes samples that are coming due Inductive Automation Show Overdue Samples Show Removed Samples Sort Type Enable Note Editing Start Date End Date Product Code Reference No Events SPC Quality 294 Scripting name showDueSamples Data Type boolean When set to true includes samples that are overdue Scripting name showOverdueSamples Data Type boolean When set to true includes samples that have been previously removed Scripting name showRemovedSamples Data Type boolean Changes the order that the sample will appear in the list Options None Display samples in natural order Due State Display samples in order of the severi Taken Date Time Display samples in order by the date Taken Date Time Descending Display sample
579. t to remove the selected sample definition attribute If this is not included in the remove event script with a parameter of 1 then the sample definition attribute will have to be removed using another method event setSuppressConfirmation boolean By including this in the remove event script with a parameter of 1 the confirmation message will not be shown before removing a sample definition attribute Including the event RemoveAttribute 0 and setSuppressConfirmation 1 script lines in the remove event will prevent default handling of sample definition attributes This allows for custom handling of the removal of sample definition attributes Methods none 3 4 1 3 Definition Location List y Description A component that provides a list of production locations that a sample can be taken from for the associated sample definition In other words a test is defined sample definition and it has locations that are appropriate to take the test at production location There is no need for SQL queries or scripting to display allowable locations If the Definition List component is on the same screen the Definition Location List will find the Definition List component and register as a listener Anytime the sample definition changes or the users selects a different sample definition the Definition Location List will be updated automatically Location Name Interval Type Interval Auto Approve Enab
580. tCode Recipe Changeover 525 system recipe createSubProductCode projectName itemPath subProductCode note Create a new sub product code sub recipe This script function can be used in gateway client scripts When called from the client omit the projectName parameter parameters projectName itemPath subProductCode note returns none Inductive Automation The project name Only include when called from the gateway When called from the client the project is the same as current project for the client Data Type String The item path to a production line cell cell group or location For example Your Enterprise Your Site Your Area Line 1 Data Type SEE Lig New sub product code Data Type nm TELAS Optional note to be stored in the recipe change log Data Type String Recipe Changeover 526 4 7 1 5 renameSubProductCode system recipe renameSubProductCode projectName itemPath existingSubProductCode newSubProductCode note Adds a comment note to the current run for the selected line This script function can be used in gateway client scripts When called from the client omit the projectName parameter parameter projectName The project name Only include when called from the gateway When called from the client the project is the same as current project for the Client Data Type String linePath The item path to a production line cell cell group or location For exam
581. tSampleLocName event setRemoveLocation boolean Is fired when Add menu item is selected The Add menu item will only appear if script has been added to this event none Return the currently selected sample definition location name Data String Type Return the currently selected sample definition location name Data String Type Used to tell the Definition Location List component to remove the selected sample definition location If this is not included in the remove event script with a parameter of 1 then the sample definition location will have to be removed using another method Inductive Automation event setSuppressConfirmation boolean By including this in rem vent stript with a parameter of 1 the confirmation message will not be shown before removing a sample definition location Including the event RemoveLocation 0 and setSuppressConfirmation 1 script lines in the remove event will prevent default handling of sample definition locations This allows for custom handling of the removal of sample definition locations Methods none 3 4 1 4 Definition Control Limit List ES Description A component that provides a list of control limits to apply to a sample definition All control limits that are configured in the project will appear in the list and can be selected by the user Control limits that are selected by the user will be available to show on control charts and may be used during autom
582. tag This is different from the recipe value security that depends on the authenticated user See Recipe Security for more information e getUnits Object Returns the units as defined in the Ignition tag Inductive Automation f Recipe Changeover 551 e getFormat Object Returns the format as defined in the Ignition tag e getAssignedBy Object Returns the recipe or production item default value where the recipe value is inherited from ff the recipe value is not inherited it will be the name of the recipe where it was overridden e getCategory Object Returns the MES module that created the recipe value Where 1 is recipe value created by the recipe module 2 is recipe value created by the OEE module and 3 is recipe value created by the SPC module Example itemPath event source parent getComponent Production Line Selector selectedPathWithoutProject valueList system recipe getDefaultValueltems itemPath if valueList None 2 system gui messageBox Count d valueList size for itemRecipeValue in valueList Ss SS itemRecipeValue getName system gui messageBox itemRecipeValue getValue 4 7 3 4 RecipeTag A RecipeTag object contains details about a recipe value It reflects the properties that are configured in the designer when the recipe value was added plus some live information such as the current value See Adding a Recipe Value for more inform
583. tails The current production rate per minute of the primary product outfeed See Production Rate Calculation for more details The units of the production rate This reflects the units defined in the primary product outfeed See Product Outfeed for more details The total amount of unplanned downtime in minutes for the current production run Int4 Read Only Boolean Boolean Read Only String Int4 Read Only String Read Only Float8 Read Only Float8 Read Only Float8 Read Only Float8 Read Only Int4 Read Only Float8 Read Only Float8 Read Only String Read Only Float8 Read Only Run ID Run Ideal Standard Count Run Planned Down Time Minutes Run Production Count OEE Downtime 176 This is the unique identification number that was generated by the database when a row is inserted into the Run table It can be used to associate external data to a production run The ideal production count to the minute for the current production run based on the standard rate This is based on the time the line is scheduled to run The total amount of planned downtime in minutes for the current production run The total production count that has been produced for the current production run It is in the primary product outfeed units Run Standard The ideal production count to the minute for the current Count production run based on the standard rate Run Standard The variance be
584. te standard production rate is typically not achieved a scheduling rate is used when determining the work order finish time during scheduling The actual scheduling rate used is determined from the product code and line that is being scheduled Schedule Rate The period of time used for the scheduling rate The options are Hour and Period Minute Auto Start If true the scheduled entries on the calendar will automatically start at the Schedule Entries scheduled time If false scheduled entries can be chosen out of order and started manually typically by the operator clicking the Start button Auto Start Determines the behaviour when the change over time has expired If true Production After the production run will automatically start If the line is not running then Changeover downtime will start being accumulated If false the production run must be started by some other means Typically this is done by the operator clicking the Start button but it can be accomplished by programmatically setting the Enable Run property for the ine Inductive Automation Line OEE Settings OEE Downtime 66 The Line OEE settings are accessed by selecting the ine item contained in the area folder in the project browser and then selecting the OEE tab as shown below Before OEE calculations can be performed production count information is required At a minimum the outfeed production count for a production line is needed Additional production
585. te workday routine will extend a schedule end time by 30 minutes if the schedule falls within the routines start and end times Line Running If no reason code is entered or it does not match a downtime reason code for the line then it will be ignored If a reason code is entered that matches a downtime reason for the line then that reason will be triggered at the start time and ended at the end time When the reason code is defined as a planned downtime then the time will not count against the OEE of the production run NOTE Amatched reason code will override any other downtime events that occur on the line during the defined time Adding a Workday Routine To add a workday routine entry right click anywhere on the table containing workday routines and select the New menu item A dialog box will appear to allow entry of a name start time end time and optional reason code for the workday routine entry as shown below a Y Add Workday Routine Name New Entry Start Time 12 00 AM ad x End Time 12 30 AM Reason Code 5000 ox Workday Routine Entry Settings Editing a Workday Routine To edit an existing workday routine entry right click on the desired entry in the workday routine O Inductive Automation ti 77 table and select the Edit menu item A dialog box similar to the add dialogo box wil appear allowing editing of the entry Deleting a Workday Routine T
586. ted with it will be evaluated After each attribute for each definition has been evaluated any script in this event is run It is provided to allow for special handling to override out of control conditions as described below A preferred alternative is to implement the desired results in a Interval See Intervals for more information Inductive Automation SPC Quali 392 event properties ty e getDefUUID String Returns the definition UUID that was evaluated See Sample Definition section more information e setlgnoreOutOfControl boolean ignoreOutOfControl Used to override and ignore an out of control condition e setForceOutOfControl boolean forceOutOfControl Used to force an out of control condition e getEvaluationResults List lt SignalEvaluationResults gt Returns a list of evaluation results When sample data is updated for a location sample definition combination all of the selected signals are evaluated This occurs for each attribute within the sample definition Example If sample definition viscosity has an allowable location processing has two attributes of cold viscosity and temperature and signal rule 1 and signal rule 2 are selected then when a sample is added or updated cold viscosity for signal rule 1 cold viscosity for Signal rule 2 temperature for signal rule 1 and temperature for signal rule 2 are all evaluated The outcome for each combination is a item within the evaluation results returned
587. tem path for the desired item path s Because analysis is independent of projects the project name is required in the item path Example when using it with the Analysis Controller Item Path RecipeDemo Enterprise Site Area 1 Line 1 Item Path RecipeDemo Enterprise Site Area 1 Line 2 This is a filter to specify if children of the production item s specified in the Item Path filter should be included Only one of the valid options are required Q Include Q Exclude Default Example when using it with the Analysis Controller Children Include This is a filter to specify the format of the results Only one of the valid options are required Q None A row in the results will be created for each recipe included in the Recipe Name filter Q Recipe Comparison Default This format creates a recipe value column for each recipe included in the Recipe Name filter and consolidates the item path value name etc columns that are common Example when using it with the Analysis Controller Format None a Recipe Changeover 50 Column Naming This is a filter to specify how to name the recipe value columns when the Format filter is set to Recipe Comparison Default When this filter is set to Recipe Name Prefix Default it is difficult to create a recipe comparison report because the column names change depending on the recipes being compared Setting this filter to Number Suffix will cause the recipe value column names to alw
588. tems If this property is left blank the default icon will be used Scripting name menuDeleteIconPath Data Type String Set to the Ignition image path of the icon to use for revert value menu items ff this property is left blank the default icon will be used Scripting name menuRevertIconPath Data Type String Set to the Ignition image path of the icon to use for security menu items If this property is left blank the default icon will be used Scripting name menuSecuritylconPath Data Type String Set to the Ignition image path of the icon to use for select production items menu items If this property is left blank the default icon will be used Scripting name menuSelectItemsIconPat h Data Type String Inductive Automation Note Panel Icon Path Security Panel Icon Path Item Select Panel Icon Path Note Background Color Security Background Color ar a Re ipe Changeover Set to the Ignition image path of the icon tS use display e on the note slide out panel If this property is left blank the default icon will be used Scripting name notePanelIconPath Data Type string Set to the Ignition image path of the icon to use display on the recipe value security slide out panel If this property is left blank the default icon will be used Scripting name securityPanellconPath Data Type String Set to the Ignition image path of the icon to display on the select production item
589. ter Data Type SLELOS To limit which users to show in the recipe change log history this property can be set This provides a method to only show changes made by a user The wildcard characters or can also be included in the filter value Scripting name userFilter Data Type SEXING To limit which sub product codes to show in the recipe change log history this property can be set This provides a method to only show sub product codes that are of interest to the end user The wildcard characters or can also be included in the filter value Scripting name subProductCodeFilter Data Type SECAS If true show recipe changes Scripting name showRecipeChanges Data Type Boolean If true show production item default value and sub recipe changes Scripting name showdefaultValueChange S Data Type Boolean Starting date of any entries in the recipe change log to include Scripting name startDate Data Type Date Ending date of any entries in the recipe change log to include Scripting name endDate Data Type Date Change log historical data that can be bound to or used in script Scripting name date Data Type Dataset Recipe Changeover 494 Events p s none Methods none 4 4 3 Recipe Variance Viewer Description A component that is added to Ignition windows to display recipe variances in a table This is just one method of viewing a recipe variances and for more information on the other meth
590. ter a new downtime reason as a child of another downtime reason The reasons are sorted by the Reason Code in numerical order but child reasons will always be sorted under their parent reason Reason Name Reason Code Record Downtime Planned Downtime Operator Selectable Stop 0 true false Never Machine Fault 3 true false Never Machine Fault Electric 31 true false If Parent Reason Detected Machine Fault Mecha 32 true false If Parent Reason Detected Outfeed Backup 4 false false Never Waiting For Product 6 true false Never Scale Fault 8 true false Cannot Be Overridden Over Temperature 9 true false Never Scale Maintenance 20 true false Always Example of a Sub Reason 2 3 4 2 Editing a Downtime Reasons To edit a Downtime Reason select the existing Downtime Reason you wish to edit then right click and select Edit from the menu The same window used to add downtime reasons will appear allowing the information to be edited O Inductive Automation OEE Downtime 82 2 3 4 3 Deleting a Downtime Reasons To delete a Downtime Reason select the existing Downtime Reason you wish to remove then right click and select Delete from the menu A window will appear confirming that you permanently want to delete the downtime reason 2 3 4 4 Import Export To import downtime entries right click anywhere on the downtime table and select the Import menu item A dialog box will appear to allow selection of a comma separate
591. th the enterprise and a folder for each production Site within it The name is the same as the enterprise name that is configured in the designer The image below represents the Enterprise of the RecipeDemo project Production 9 Recipe RecipeDemo amp Enterprise Y Calculations 3 ControlLimits 9 Qualityintervals 3 Signals Site gt Analysis Auxiliary DB Connection Name gt Analysis DB Connection Name gt Description gt Enabled gt Name gt Runtime DB Connection Name gt Save Control Limit by Product Code gt Save Control Limits in Recipe G WorkFlow Enterprise Child Folders Site One folder will exist for each Site that has been configured in the Ignition Designer The folder can be opened to view all values within the site Properties Inductive Automation Recipe Changeover 511 Analysis Auxiliary DB Connection Name The name of the p Stgo auxiliary mirror Read Only analysis database connection Can be blank if no auxiliary DB connection is configured Analysis DB Connection Name The name of the String analysis database Read Only connection Description Optionally this String property can be set to a description for the enterprise lt is not used by the MES modules other than for reference Enabled This reflects the Boolean enterprise Enabled property in the Designer If the enterprise Enabled is set to true then the MES
592. the OPC Item Path of RecipeDemo Enterprise Site Area 1 Line 1 Filler RecipeVarianceExists lf tags have been previously created and the names are changed in the production model then the OPC item path will also have to change f y Tag Editor Ex O General General Properties o Metadata General Properties Permissions Name Cy History EEE d Alerting Data 3 Access ae OPC fem path matches production OPC Properties model layout OPC Server Production DS RecipeDemolEnterpriselSitelarea liLine 1Filler RecipeVarianceExists Sean Class Sean Class Derun 8 _ ox Apply Cancel Tag Configuration For example if the enterprise name is changed from Enterprise to My Big Company then the OPC item path for the tag named RecipeVarianceExists will have to change to Inductive Automation p Recipe Changeover 457 RecipeDemo My Big Company Site Area 1 Line 1 Filler RecipeVarianceExists For this reason it is recommended to first work on laying out your production model and make sure the names of each of the production items are what you want before creating Ignition tags Important Note When writing to production OPC values that are related to production model settings the new value is not retained upon restarting This is because production model settings are saved in the Ignition project and is only written to the project when done so in the designer
593. the Table Data Chart Data and Line Chart Data properties to populate tables and charts Selections Filter By add Compare By add Data Points add Dd ro DE totem Pr pa r Production Analysis Selector A filter can be added by selecting the 3 link to the right of Filter By A window panel will open and filter categories will be displayed Click the link by the filter category and specific filter items will be displayed When selected they will be added to the filters as shown below To minimize the number of filter options only the options for the selected date range defined by the Start Date and End Date properties will be shown Inductive Automation OFF Downtime 106 Selections Filter By Run Factor Operator Run 02 16 07 02 PM Hour Of Run C ompare By Kips 4 Data Points PackageCount i Product Code ProductionUnits Run Run 02 16 07 02 PM j Run 02 19 05 21 PM S y Run 02 19 09 24 Al b pr Ps a ns mp r sit Filter By List Compare By and Data Points work similarly to Filter By except there are no categories for these selections just items Selections Filter By add Hour Of Run Run Line f Run 02 16 07 02 PM Line ed Cou Compare By Line Production Count P Hour Of Run Line Standard Count 1 Data Points Line Standard Rate d OEE ilahili Line Standard Rate Period OEE Availability OEE Performance Sna Target Count r OEE Qua
594. the column by name From line 19 to 21 each sample row in the data set is cycled through This is done to total the xBar and range values The ds getValueAt function returns the value in the data set for the specified row and column Inductive Automation SPC Quality 264 Line 24 calculates the average of the xBar values also known as x double bar XDBar Line 25 calculates the average of the range values also known as range bar RBar The event getSampleSize in line 28 returns the number of measurements per sample This will be used to determine which a2 value to use from the array in line 5 The a2 is a factor to calculate the 3 sigma or 3 times standard deviation value and changes based on the number of measurements in each sample Lines 31 through 34 lookup the a2 value that is going to used to calculate the new control limit value A quick range check is done to prevent reading a value that is outside of the array limits Line 37 calculates the new UCL value And finally the value is saved to pass back the new control limit value in line 40 Default XBar UCL control limit calculation script XBar UCL Calculation Define the A2 factors array The A2 factors correspond to the sample size which starts at 2 This is why element 0 and 1 of the array are 0 a2 0 0 0 0 1 880 1 023 0 729 0 577 0 483 0 419 0 373 0 337 0 308 0 285 Get the SPC data that the XBar UCL will be calculated for ds event getD
595. the project name The image below represents the OEEDemo project Production 3 0EEDemo 9 Your Enterprise Project Inductive Automation OEE Downtime 161 Child Folders Enterprise One folder will exist for each Enterprise that has been configured in the Ignition Designer The folder can be opened to view all values within the enterprise 2 5 2 2 Enterprise Description The enterprise folder contains some properties associated with the enterprise and a folder for each production Site within it The name is the same as the enterprise name that is configured in the designer The image below represents the Your Enterprise of the OEEDemo project Production Gj OEEDemo amp Your Enterprise Your Site iz Description r Enabled gt Name Enterprise Child Folders Site One folder will exist for each Site that has been configured in the Ignition Designer The folder can be opened to view all values within the site Properties Inductive Automation Analysis Auxiliary DB Connection Name Analysis DB Connection Name Description Enabled Name Runtime DB Connection Name Save Control Limit by Product Code The name of the auxiliary mirror analysis database connection Can be blank if no auxiliary DB connection is configured The name of the analysis database connection Optionally this property can be set to a description for the enterprise It is not used by the
596. the sample from the event sample event getSample Access the addi tional factors from the sample addlFactors sample getAllAddlFactors if len addlFacto rs gt 0 print Sd additional factors exist len addlFactors print val Sd sampleUUID s val sample getSampleUUID 3 6 1 2 After Sample Updated Event After a new sample is added or an existing sample is updated to the database any script in this event is run This includes samples that have been scheduled with no measurement data It is provided to allow for the performance of other actions when sample information changes Inductive Automation SPC Quality 388 event properties e getSample Sample Returns the new or updated sample See Sample section more information Example Add 1 to an unrelated SOLTag value val system tag getTagValue Default Quality Test After Sample Updated val val 1 system tag writeToTag Default Quality Test After Sample Updated val 1 3 6 1 3 Sample Approval Updated Event After the sample approval state has been updated any script in this event is run This includes samples that are set for automatic approval It is provided to allow for the performance of other actions when sample approval state changes event properties e getSample Sample Returns the sample for which the approval state changed See Sample section more information e isApproval boolean R
597. the user Depending on the measurement count defined in the sample definition the orientation of the edit fields will change If the measurement count is greater than 1 then there will be a row for each measurement with the attributes appearing horizontally If the measurement count is equal to 1 then the attributes appear vertically in separate rows This reduces the need for the user to have to scroll while entering sample data if the are a number of attributes Measurement Viscosity Temperature i 1 po J 7 2 af 3 ann 4 l on PA Multiple Measurement Sample Entry O Inductive Automation SPC Quality 299 Attribute Value Total Inspected Lo Speck Scratch Hole Discoloration Incorrect Size JUDUDO Broken Mount Properties Single Measurement Sample Entry This component has standard Ignition properties with the addition of the following properties Up Down Traversal Read Only Sample Taken Date Time Foreground Color Background Color Measurement Label O Inductive Automation When set to true causes the focused field to move down to the next field when the Tab or Enter keys are pressed If it is on the last measurement it will move to the top field in the next column When set to false causes the focused field to move right to the next field when the Tab or Enter keys are presses If it is on the last column it will move to the left column of t
598. tion items beneath the enterprise See Production Model for more information on propagating recipe values to child production items See Recipe Types for more information about recipe values and Recipe Values for more information about configuring recipe values 4 3 2 1 2 Site Configuration Adding a Site To add your site right click on your enterprise folder in the project browser and select the New Production Item gt New Production Site menu item A site named New Site will be added to the enterprise folder Renaming a Site To rename it to the name representing the site s physical location right click on it and select Rename then enter the new name Inductive Automation Recipe Changeover 467 Important Note j A It is extremely important to understand production OPC values have an OPC item path that matches the layout of the production model and that renaming production items can cause Ignition tags associated with a production item to stop being updated See Production OPC Server for more information Deleting a Site To remove an existing site right click on the site item and select the Delete menu item A window will appear confirming that you permanently want to delete the production site Please note that the area s line s cell s cell group s and location s underneath the site will also be permanently removed L_ Production B General Site Settings These settings are accessed by selecting the site it
599. tion line Please note that the cell s underneath the ine will also be permanently removed Project Browser oO x Eg Configuration a Production Be 2 3 Your Enterprise 2 38 Your Site 2 e Your Area a Line 1 iia a Line 2 nA nr ee boto New Line peo Line General Settings O Inductive Automation OEE D i These settings are accessed by selecting the desired line item contained Wine area fider in the project browser and then selecting the General tab Enabled Description Shift 1 Default Enabled Default Start Time Shift 2 Default Enabled Default Start Time Shift 3 Default Enabled Default Start Time Additional Factors By default added lines are enabled It can be disabled by un checking the Enabled setting and saving the project This will stop the OEE downtime and scheduling module from executing the line and cell s that are underneath it This is an optional description and is just for your reference If checked shift 1 will be included during scheduling If not checked shift 1 will be scheduled around To inherit the shift enabled from the from the area select the Inherit From Parent option The time of day that first shift starts The first shift ends at the start of second shift To inherit the time of day that first shift starts setting from the area select the Inherit From Parent option If checked shift 2 will be included during sche
600. tions table and selecting Add from the drop down menu The ownership field declares who is responsible for the testing of the sample whether that be the lab or the operator at the testing station The interval type defines how the samples will automatically be scheduled Or as in the image below they will be manually created by the user If the interval is set to Timed Interval Hours then a sample will automatically scheduled as defined by the Interval setting When a new project is created the default Intervals options are also created but they can be modified added to or even removed See Sample Definition Location for more details of each of the settings General Information Location Line 1 Quality Enabled M Auto Approve Auto Schedule Information interval Type Interval 0 Duration Coming Due Min 10 Overdue Min 10 Ownership Basic Lab close Ada Add Location Window Any selected control limits will be available to include on the control charts and will also be included in the automatic evaluation of out of control conditions of the sample data When a new project is created the default control limit options are also created but they can be modified added to or even removed Keep in mind that each control limit is associated with a particular control chart For example XBar UCL is associated and can only be used with the XBar chart This is because the calculation used t
601. to adjust This valu accessed via the Analysis Controller datapoint called Identifier Data Type Seung Name of the cell to adjust Leave blank to indicate the Data Type String The run factor to adjust The possible values are Infee ProductionCount or WasteCount Data Type Seung The value to set the factor to NOTE PRODUCTION I BE MODIFIED AND CANNOT BE UNDONE USE WI EXTREME CAUTION Data Type Double If set to 1 True the InfeedCount will always be modifi False the InfeedCount will not be modified if Producti or WasteCount are being adjusted If this parameter is the default is 1 True Data Type Boolean Inductive Automation OFF Nawntima system production adjustRunDataByShift runUUID cellName ShiftDate factorName factorValue system production adjustRunDataByShift runUUID cellName ShiftDate factorName factorValue adjustInfeed Recalculates production data for a line or a cell based on the shift factor name and the factor value The run must be complete for adjustment to be accurate parameters runUUID cellName shiftDate factorName factorValue adjustInfeed returns none The unique run identifier of the run to adjust This value c accessed via the Analysis Controller datapoint called Rt Identifier Data Type String Name of the cell to adjust Leave blank to indicate the line Data Type String The shift date you want adjusted This value can be ac
602. tor 3 6 2 2 Sample Data The sample object holds a sample data object for each attribute and measurement When a sample object is created it automatically creates a sample data object based on the sample definition For example If sample definition viscosity has two attributes of cold viscosity and temperature and is configured for 5 measurements then the sample will contain 10 sample data objects Five measurements for cold viscosity and five measurements for temperature properties e getSampleUUID String Returns the sample UUID that this sample data object belongs to e getAttributeName String Returns the attribute name this sample data object is associated with e getMeasNo int Returns the measurement number this sample data object is associated with e getAttrDataType AttributeDataType Returns attribute data type of this sample data object This is automatically set when the sample is created and is based on the sample definition e getDefaultValue Object Returns the default value based on the attribute this sample data object is associated with This is automatically set when the sample is created and is based on the sample definition e getMinValue Object Returns the minimum value based on the attribute this sample data object is associated with This is automatically set when the sample is created and is based on the sample definition e getMaxValue Object Inductive Automation SP
603. tribute gt Returns a list of all attributes associated with this sample definition This function will return only enabled attributes attributeExists SampleDefinitionAttribute attribute boolean Returns true if the attribute specified in the parameter already exists for this sample definition True will also be returned for disabled attributes allowed location properties O Inductive Automation e addAllowedLocation SampleDefinitionLocation location String Adds a new allowed location defined in the location parameter By adding an allowed location to this sample definition this type of sample will appear as a option for the location and the real time location will be saved along with associated samples For example shift product code ref No and additional factor information is saved along with the sample data Any error messages are returned otherwise an empty string is returned removeAllowedLocation SampleDefinitionLocation location String Removes the allowed location defined in the location parameter Allowed locations are permanently removed but can be added back SPC data is not lost and will appear in the control charts and analysis Any error messages are returned otherwise an empty string is returned Rene SPC Quality 404 removeAllowedLocation int index String Removes the allowed location defined in the index parameter Allowed locations are permanently removed but can be added back SPC data is not lost and wil
604. tries that are active for the production Routine site Area One folder will exist for each area that has been configured in the Ignition Designer The folder can be opened to view all values within the area Properties Description Enabled Name Default Shift 1 Start Time Default Shift 2 Start Time Default Shift 3 Start Time Inductive Automation Optionally this property can be set to a description for the site It is not used by the OEE Downtime and Scheduling Module other than for reference This reflects the site Enabled property in the Designer If the site Enabled is set to true then the OEE Downtime and Scheduling module will perform calculations for the site and all areas lines and cells within it If this property is set to false then none of the areas lines or cells will have calculations performed This reflects the name of the site that is set in the designer This reflects the site Default Shift 1 Start Time property in the Designer See Site Configuration for more details This reflects the site Default Shift 2 Start Time property in the Designer See Site Configuration for more details This reflects the site Default Shift 3 Start Time property in the Designer See Site Configuration for more details String Boolean String Read Only DateTime Read Only DateTime Read Only DateTime Read Only OEE Downtime 164 2 5 2 4 Area Description The area folder contains some propertie
605. trolLimit SampleDefinitionControlLimit controlLimit String Adds a new control limit defined in the controlLimit parameter By adding a control limit to this sample definition it will show as an option in the control charts and may also be used when evaluating signals The controlLimit parameter must be a valid control limit that appears in the enterprise production item Any error messages are returned otherwise an empty string is returned removeControlLimit SampleDefinitionControlLimit controlLimit String Removes the control limit defined in the controlLimit parameter Any error messages are returned otherwise an empty string is returned removeControlLimit int index String Removes the control limit defined in the index parameter Any error messages are returned otherwise an empty string is returned removeControlLimit String controlLimitName String Removes the control limit defined in the controlLimitName parameter Any error messages are returned otherwise an empty string is returned clearControlLimits All control limits contained in this sample definition are removed Inductive Automation SPC Quality 405 e getControlLimit String name SampleDefinitionControlLimit Returns the control limit that has the same name as the name parameter e getAllControlLimits List lt SampleDefinitionC ontrolLimit gt Returns all control limits that have been selected for this sample definition e getAllAllowedLocations boo
606. troller or SPC Selector components Ther SPC Results contain all the information so that the control charts can display the results which is not possible with the data set alone Scripting name spcResults Data Type SPCResults This property holds the SPC data and includes columns for the calculated values based on the SPC Data Format and selected attribute control limits and signals Scripting name spcData Data Type Dataset The background color Scripting name backgroundColor Data Type Color Text to display if not data is available to show in the control chart Scripting name noDataMessage Data Type SEring The foreground color to display the no data message Scripting name noDataForeground Data Type Color The font to display the no data message Scripting name noDataFont Data Type Font Vertical SPC Quality 316 If true the bars will be shown vertically Scripting name vertical Data Type boolean Chart Background The background color of the chart C Bar Color Bar Spacing Gradient Shadows Tick Label Font Tick Label Color Value Axis Title Scripting name chartBackgroundColor Data Type Calor Color of the bars Scripting name barColor Data Type Color Specifies the spacing between the bars It is a fractional value from 0 0 to 1 0 and represents the percentage of the bar width to make as space between the bars Scripting name barSpacing Data Type float If true show
607. trols the height of each row in the reason tree view The Reason Tree Font Reason Tree Scroll Bar Width Reason Tree Button Size increased space is useful when touchscreen mode is being used Scripting name reasonTreeRowHeight Data Type Integer The font of the pop up reason tree panel Scripting name reasonTreeFont Data Type Integer The scroll bar width of the tree view Useful when touchscreen mode is being used Scripting name reasonTreeScrollBarWidth Data Type Inceger The size of the buttons for the selection in the reason pop up panel Useful when touchscreen mode is being used Scripting name reasonTreeButtonSizePct Data Type Integer Inductive Automation Show the Reason Reset Button Selectable Reason Icon Path Folder Icon Path Display Filter Type nti When set to false the reset button will not Poe as ble in hee reason pop up panel Scripting name Data Type showResetReasonButton Boolean The icon to use for reasons that are selectable Scripting name Data Type selectableReasoniconpath String The icon to use for items in the reason pop up panel that are not selectable such as a cell Scripting name Data Type foldericonpath String For long runs that span shifts and or days controls how many shifts will be shown ff there are numerous downtime events settings other than Current Shift can cause delay in the downtime table Scripting nam
608. true show the horizontal grid lines in the charts showHorizontalGridLine boolean Scripting name Data Type Inductive Automation Primary Chart Background Show Notes Note Image Enable Note Editing Enable Point Deletion Enable Control Limit Editing Events SP li 357 The background color of the primary charte did Scripting name primaryChartBackgrounc Data Type Color If true show the note icon next to the chart point for any samples that have notes or assignable causes Scripting name showNotes Data Type boolean The image to display next to the chart point for any samples that have notes or assignable causes Scripting name notelmage Data Type Image If true allow the user to add and edit notes and assignable causes Scripting name enableNoteEditing Data Type boolean If true allow the user to temporarily remove samples from chart This is used to remove samples that are known to out of control before calculating control limits The sample that have been removed are not removed from the database and can be restored by selecting the Restore Points menu item Scripting name enablePointDeletion Data Type boolean If true allow the user to calculate and set new control limit values Scripting name enableControlLimitEdit Data Type boolean This component has standard Ignition events none Methods showSetLimitPanel chartName Causes the calculate and set control l
609. tside E Individual Outside Out of Limits Out of Limits Outside Limits Outside Limits l O 0 Sample Definition Signal List Properties This component has standard Ignition properties none Events This component has standard Ignition events none Inductive Automation SPC Quality 287 Methods none 3 4 1 6 Location Selector Description A component that allows selection of production locations Production locations are defined in the production model using the Ignition Designer See Production Model Configuration for more information There is no need for SQL queries or scripting to display locations The selected location is reflected in Selected Location Name Path and Location ID properties Select One gt a alve 1C alve 2A v Location Selector Properties This component has standard Ignition properties with the addition of the following properties Inductive Automation SPC Quali 288 Selected Location Name The name of the currently selected location ee Sc selectedLocationName ri pt in g na me Da String ta Ty pe Selected Location Path The full location path of the currently selected location This includes the project enterprise site area and possibly a line and the location each separated by the backslash character Example QualityDemo New Enterprise New Site Packaging Line 1 Line 1 Quality Scripting name selectedLocationPath Data Ty
610. tween the Run Standard Count and the Run Variance Run Target Count Run Target Variance Run Time Minutes Run Waste Count Running Production Count The ideal production count to the minute for the current production run based on the scheduling rate The variance between the Run Target Count and the Run Production Count The total minutes that the production line has run for the current production run This value excludes planned and unplanned downtime See Product Waste for more details on how this value is calculated This value will be true if a production run is started and production line is running Sequence No A number that is O at the beginning of a production run and Shift Down Time increments at the beginning of every shift The total minutes of unplanned downtime for the current shift Int4 Read Only Int4 Read Only Float8 Read Only Int4 Read Only Int4 Read Only Int4 Read Only Int4 Read Only Int4 Read Only Float8 Read Only Int4 Boolean Read Only Int4 Read Only Float8 Read Only Inductive Automation E Downtim 17 Shift Elapsed The total minutes that have elapsed from the start Fhe iii Floats Time Shift Infeed Count Shift Production Count Shift Run Time Shift Scheduled Count Shift Scheduled Finish Time Shift Standard Count Shift Standard Variance Shift Target Count Shift Target Variance Shift Waste Count
611. uction run is currently in the changeover period parameters linePath returns successful The line path of the production line that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Data Type Skea Returns true if the production run successfully has been canceled Data Type Boolean system production utils endRun linePath End the current run for a line This is only valid if the line is currently in a production run After a production run has been ended it can restarted using the resume scriptioning function parameters linePath returns successful Inductive Automation The line path of the production line that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Data Type bring Returns true if the production run successfully ended Data Type Boolean OEE Downtime 204 system production utils getLineID linePath Returns the internal line id of the given line path Allows advanced usage of direct SQL queries in the database parameters linePath The line path of the production line that this component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line
612. uction runs can be scheduled for part of a shift across multiple shifts days and even months To see how editing production run entries works select the week view Next using the mouse right click on a day and time to start the production run and click New Entry Here you can also chose to edit or delete an existing scheduled production run The New Schedule Entry popup window allows for scheduling production runs maintenance and other entries By selecting the Work Order Run schedule type work order options appear Continue by selecting a work order these must be created before adding a new schedule entry Notice the total work order units to be produced units produced units scheduled and units remaining information is shown for the selected work order The quantity entry is automatically set to the remaining units for the work order A C O duration may also by added to account for the change over duration before the production line begins Inductive Automation Schedule Entry Schedule Type Start Finish Work Order Work Order Product Code C O Duration Quantity Work Order Units Units Produced Units Scheduled Units Remaining Work Order Run E 0218 2011 w 5 05 AM 7 O Override Automatic Finish PC_001 Product Code 1 2000 10000 0 0 10000 Y save BG Cancel Schedule New Production Run After entering the desired quantity the finish time for the work order will automat
613. uctive Automation SPC Quality 323 Background Color The background color Definition Name No Data Message No Data No Data Font Table Properties Q 5 coco Scripting name backgroundColor Data Type Color The sample definition to used when building SPC results Scripting name definitionName Data Type String Text to display if not data is available to show in the control chart Scripting name noDataMessage Data Type String The foreground color to display the no data message Scripting name noDataForeground Data Type Color The font to display the no data message Scripting name noDataFont Data Type FETE Show Table If true the table containing measurement and calculated values will be shown at the top of the control chart Scripting name showTable Data Type boolean Min Visible Samples The minimum number of sample to show on the control Inductive Automation chart If more than the minimum visible samples exist in the SPC results then a horizontal scroll bar will appear and allow the user to scroll back to earlier samples Scripting name minVisibleSamples Data Type LE A ee a SPC Sue io Rata Min Visible Measurements The minimum number of measurements to show in the Column Width Row Height Date Background Date Foreground Date Font Date Format table of the control chart If more than the minimum visible measurements exist in the SPC results then a vertical scroll bar will appea
614. ueAt row resultColNdx 0 Look Back Period This property defines the time units of the Look Back Duration property Inductive Automation SPC Quality 270 No Auto Evaluation Disable automatic signal evaluation after new sample data is recorded Seconds Minutes Hours Days Months Look Back Duration When automatic signal evaluation is used this property along with the Look Back Period property defines the time range of samples to pass to the calculation script The calculation script can then cycle through the range of samples to find out of control conditions Chart Point Color For samples that are out of control this is the color to display the sample value on the control charts Chart Point Shape For samples that are out of control this is the shape to display for sample value on the control charts Looking at the default signal calculations along with the Scripting section of this manual and the Scripting section in the Ignition manual is the best method to learn all the possibilities of calculating signals View the section on Scripting for more information 3 3 4 4 Edit Signals To edit an out of control signal right click the Out of Control Limits table and select Edit from the drop down menu A window will appear identical to the window used to add out of control limits Once the desired fields have been edited select OK For more information see Add Signals section 3 3 4 5 Delete Signals To delete an
615. ule Settings Page For more information on the MES Module Settings see MES Module Configuration 2 2 1 4 Demo Installation The OEEDemo project can be used to quickly start using and evaluate the features of the OEE Downtime and Scheduling module By installing the OEEDemo SQLTags will be imported the Production Simulator will be installed the demo Ignition project will be installed and sample database data will be added To remove the demo each of these components will have to be manually removed To install the OEE Demo project go to the configuration section in the gateway and select the MES Modules gt Demo section from the left hand side configuration menu Next click on the D Install OEE Downtime and Scheduling demo link This will take a few seconds as it is installing and making all of the configuration changes to run the OEE Demo If the OEE Demo has already been installed then there will be a note stating so If a database connection has not been installed a note will appear stating a database connection is needed before installing the demo Inductive Automation OFF Nowntime 25 Logged in as admin log out OEE Downtime and Scheduling Demo Installer To install the OEE Downtime and Schedule Demo Project click the Install OEE Downtime and Scheduling demo link By installing the demo SQLTags OEEDemo project and Production Simulator will be installed To remove the demo they will have to be removed individua
616. ule handle the actual waste count the system is robust Besides that is just less PLC programming that has to be done and tested 2 3 7 2 Editing a Product Waste Counter To edit an existing product waste entry right click on the desired entry in the product waste table of a product ine or cell and select the Edit menu item A dialog box similar to the add dialog box will appear allowing editing of the entry Inductive Automation OEE Downtime 89 2 3 7 3 Deleting a Product Waste Counter To remove an existing product waste entry right click on the desired entry in the product waste table of a production line or cell and select the Delete menu item A window will appear confirming that you want to remove the product waste entry 2 3 7 4 Import Export To import product waste entries right click anywhere on the product waste table and select the Import menu item A dialog box will appear to allow selection of a comma separated values csv formatted file The first line of the file must at least contain the property names separated by commas ff additional names exist they will be ignored The property names can be in any order Below is a sample csv file showing a single product waste entry Name Count SQLTag Max Raw Count Rejector Line 1 PLC Rejectorcount 32768 To export product waste entries right click anywhere on the table containing product waste entries and select the Export menu item A dialog box will appear to all
617. und Data Type Color The foreground color of the calculated data values Scripting name calcForeground Data Type Color The font to display the calculated values Scripting name calcFont Data Type Fort Chart Properties SPC Quality 338 Show Primary If true the primary chart will appear Scripting name showPrimaryChart Data Type Show Secondary Chart Right Axis Width Limit Dialog Horizontal Offset Limit Dialog Vertical Offset Vertical Grid Line Color Show Vertical Grid Lines Horizontal Grid Line Color Show Horizontal Grid Lines boolean If true the secondary chart will appear Scripting name showSecondaryChart Data Type boolean The width of the right chart axis in pixels Scripting name rightAxisWidth Data Type IE The horizontal or x position to display the set control limit dialog box Scripting name limitDialogHorizontalc Data Type INE The vertical or y position to display the set control limit dialog box Scripting name limitDialogVerticalOf Data Type LA EN The color of the chart vertical grid lines Scripting name verticalGridLineColor Data Type Color If true show the vertical grid lines in the charts Scripting name showVerticalGridLines Data Type boolean The color of the chart horizontal grid lines Scripting name horizontalGridLineColc Data Type Color If true show the horizontal grid lines in the charts Scripting name showHor
618. unt of product that has accumulated on the production line Include If this parameter value is true the percentage of efficiency Boolean Efficiency will be included in the results Values Return This binding function returns a Dataset with a variable Dataset number of columns based in the parameter settings The Scheduled vs Actual binding function is used to return scheduled and actual data for the selected production run Primarily used as the Series Data for the Analysis Time Chart component Function Name Scheduled vs Actual Inductive Automation Parameters OEE Downtime 186 Production Line Path The ine path of the production line This is the full path String Run ID Sequence No Normalize Start Time s Include Scheduled Include Actual Include Cells Include Other Include User Stop Type Return Dow ntim e Com name of the ine starting with the project name This parameter is commonly bound to a Production Line Selector component For example OEEDemo Your Enterprise Your Site Your Area Line 1 The production run ID for which data will be returned Integer This is the ID for the Run database table If this parameter is left blank or set to 1 data for the current production run for the specified production ine will be returned This parameter is commonly bound to Line Run Selector component The sequence number starts at O when a production run Integer starts It is
619. ust activate manually In this process an activation request file is generated activation_request txt You must then take this file to a machine with internet access and email it to support inductiveautomation com or visit our website to activate there Either way will result in a license file license ipl being generated which you then must take back to the Gateway machine and enter into the License and Activation page Inductive Automation OEE Downtime 17 2 OEE Downtime Inductive Automation OEE Downtime 18 2 1 Introduction Improving production efficiency is the key to improving profit and reducing capital expenditures lt can make the difference competitively however it can also be very challenging because it requires more than just installing software Improving efficiency requires commitment from management maintenance production and IT departments as well as integration training actions to reduce downtime and new operational procedures The OEE Downtime and Scheduling Module helps you to diagnose the inefficiencies within your production allowing you to make improvements on the line and between employees The first step in improving efficiency is knowing where you are starting from Think of it like improving the gas mileage of your car You must start by determining your current gas mileage before you can begin making changes to improve your mileage Once you know your existing OEE and have tracked the cau
620. utfeed production count for a production line is needed Additional production count information can be configured that will result in more OEE calculations For example if the infeed production count is configured for a production then product accumulation and waste is calculated See Production Count Tracking section for more information For each outfeed the OEE module will start calculating production rates OEE etc values These values can be accessed through the Production OPC Server See the section on Production OPC Values for more information 2 3 6 1 Adding a Product Outfeed For each outfeed the OEE module will start calculating the production rate per minute or production rate per hour values These values can be accessed through the Production OPC Server See the section on Production OPC Values for more information To add a product outfeed entry right click anywhere on the product outfeed table of a production line or cell and select the New menu item A dialog box will appear to allow entry of the new information as shown below Inductive Automation OEE Downtime 85 f x h7 Add Product Outfeed Name Count SQLTag os IS Max Raw Count 32768 Default Standard Rate 0 0 Default Package Count 1 0 Standard Rate Period Minute gt Production Units Waste Transit Time Seconds 0 Product Outfeed Settings Name The required outfeed na
621. ve delete and rename analysis will popup To add a new stored analysis click on New menu item enter a name select a type and click OK This will create an empty analysis Now the user can make filter compare by and data point selections that will be saved and can easily be selected at a later time Name Type Downtime Cancel OK New Stored Analysis To rename a new stored analysis click on Rename menu item enter a new name and click OK Name Cancel OK Rename Stored Analysis To delete a stored analysis click on Delete menu item and select Yes to the confirmation message Inductive Automation A OEE Downtime 110 If changes to an analysis setting have been made and the user selects a diferent stored analysis they will be prompted to save the changes Alternatively the changes can be saved by clicking on the Save menu item Properties This component has standard Ignition properties Events This component has standard Ignition events Methods none 2 4 1 12 Production Bar Chart Description A component that displays a pie chart with drill down capabilities This extends from the Bar Chart Component ul that comes with Ignition When the user clicks on a bar of the bar chart the drill down menu will appear When an item in the drill down menu is clicked on the drillDown event is fired Script in the drillDown event is responsible for updating the Data p
622. ve been disabled in the Error Message sample definition will appear in the attribute selection panel This provides a method to view old attribute data that has been disabled Scripting name includeDisabledAttribui Data Type Boolean If an error is encountered while retrieving SPC results it will be readable from this property Scripting name errorMessage Data Type String Inductive Automation pe ai ek SPC Quali 313 Warning Message If a warning is encountered while retrieving SPC results wit be readable from this property Scripting name warningMessage Data Type String Auto Bar Count If set to true the number of histogram bars will be automatically determined Scripting name autoBarCount Data Type boolean Data Bar Count If Auto Bar Count is set to false the value of this property will determine the number of histogram bars Scripting name dataBarCount Data Type int Padding Bar CountThe value of this property determines how many empty bars will be included in histogram results Scripting name paddingBarCount Data Type int Dynamic Depending on the setting of the Definition Name property the dynamic Properties properties will change A dynamic property to be created for each filter category that can be bound to by other components These dynamic properties can also be set through script Events This component has standard Ignition events with the addition of the following events
623. vertical scroll bar will appear and allow the user to through all measurements Scripting name minVisibleMeasurements Data Type LAE Column Width The width of the table column for each sample The charts will be expanded to match the column width Scripting name columnWidth Data Type Lae Row Height The height of the table rows Scripting name rowHeight Data Type Ine Date Background The background color of the sample date row Scripting name dateBackground Data Type Color Date Foreground The foreground color of the sample date values Scripting name dateForeground Data Type Color Inductive Automation Date Font Date Format SPC Quali 355 The font to display the sample date values si Scripting name dateFont Data Type Font The date formatting pattern to display the sample dates Scripting name dateFormat Data Type Serine Label Background The background color of the labels Label Foreground Label Font Data Background Data Foreground Data Font Calc Background Calc Foreground Inductive Automation Scripting name labelBackground Data Type Color The foreground color of the labels Scripting name labelForeground Data Type Color The font to display the labels Scripting name labelFont Data Type ESE The background color of the measurement data values Scripting name dataBackground Data Type Color The foreground color of the measurement data values Scripting name dataF
624. vider of analysis data See Analysis Providers for available options provider String Scripting name Data Type This property is the starting date for retrieving analysis data and determining available filter and compare by options Scripting name startDate Data Type Date This property is the ending date for retrieving analysis data and determining available filter and compare by options Scripting name endDate Data Type Date This property holds the current filter item selections to filter the analysis results by If more than one item exists they are separated by commas Scripting name filterSummary Data Type at ing Comparisons Selection Summary This property holds the current compare Data Points Selection Summary Data Format Events OEE Dow wy pene y item selections to group the analysis results by If more than one item exists they are separated by commas Scripting name comparisonsSummary Data Type String This property holds the currently selected data points to include in the results If more than one item exists they are separated by commas Scripting name dataPointsSummary Data Type String This property specifies the type of data to return from the server Options Table Only data optimized for tables will be included in the results Chart Only data optimized for charts will be included in the results Both Table and chart data will be included in the results Scripting name
625. w These graphs may also be saved or printed by right clicking on the desired graph Site Summary a NH was 2 cs on we we au ww ou oru wu aw Ove 0057 2911 Sie 1 Line Progucten Count Site 2 Line Predation Count OEE By Sine Waste by Site ws al us g gii 5 we o i EE 1 Oiau mu au A A WAM A ZM au PU PM MPU A o aie On es m Occumen i 1 Une Waste C Was Cour Site Summary Screen SUNBHSRBRBRS 8 88 8 8 8 3833983 t Line Graph Settings Inductive Automation OEE D ti There are many settings for lines graphs which can be adjusted by heelen on a he graph These options can be used to improve graphs and select specific areas to save and print Mode Zoom Allows the user to click and drag over the specific area of the graph that he or she wants to enlarge Pan Allows the user to click and drag to move to a different area of the graph Mark Gives the domain and range values of a single line at 12 00 AM on the day selected by clicking on the graph X trace Gives the domain value of all lines on the graph at 12 00 AM on the day selected by clicking on the graph Background The background color of a line graph is white by default but may be changed to black to allow the user to see lighter colors Zoom Allows the user to zoom in or out along the domain axis the range axis or both axes Can also be used with bar graphs Auto Range Automatical
626. way 3 6 3 2 2 sample quality sample data 3 6 3 2 2 1 getNew ByDefUUID system quality sample data getNewByDefUUID Description Creates and returns a new sample based on the sample definition that matches the defUUID parameter The newly created sample will also be initialized for the location specified by the locationPath parameter Syntax Client system quality sample data getNewByDefUUID String defUUID String locationPath Gateway system quality sample data getNewByDefUUID String projectName String defUUID String locationPath Parameters String defUUID Existing sample definition UUID to base this sample on String locationPath A valid path to a location String projectName Name of the Ignition SPC project Returns Sample A reference to the newly created sample Scope client gateway O Inductive Automation SPC Quality 420 Example locationPath event source parent LocationPath defUUID event newValu sample system quality sample data getNewByDefUUID defUUID locationPath 3 6 3 2 2 2 getNew ByName system quality sample data getNewByName Description Creates and returns a new sample based on the sample definition that matches the definitionName parameter The newly created sample will also be initialized for the location specified by the locationPath parameter Syntax Client system quality sample data getNewByDefName String defName String locationPath Gateway system quality sa
627. way Activation is a process by which the CD Key and its associated parameters get locked to the machine that you are activating If you adding an additional module your account will be updated and you can re use your existing CD Key to activate the new features For this reason if you purchased the OEE Downtime and Scheduling module separately from the Ignition server the OEE Downtime and Scheduling license will have to be added to your existing CD Key It is possible to inactivate your CD Key freeing it for activation on a different machine Not all production facilities have the large number of lines and cells while others do For this reason there are two basic editions to choose from to meet your situation Standard License The Standard edition provides OEE downtime and scheduling functionality for unlimited production areas lines and cells Includes the OEE downtime and schedule engine configuration software user interface screens enhanced analysis tools and reports There are no restrictions on the number of tags logged data items screens or clients users Line License The Standard edition provides OEE downtime and scheduling functionality for a single production lines Multiple Line Licenses can be installed on a single server There is no limit on the number of cells that a line can be configured for Includes the OEE downtime and schedule engine configuration software user interface screens enhanced analysis tools and
628. when looking up data directly from the database Racine Cha ngeover tn Las Et SR Dr nb Po A 2 TES tae A gt Standard Rate Period gt State gt State SQLTag Cell String Read Only Boolean Read Only Boolean Read Only Double String Read Only 516 Any recipe values that are configured for the production cell will appear in Inductive Automation RecipeVariancesExists RecipeWriteError ValueMonitorEnabled EnableRecipe 4 6 6 Cell Group Description If true then Ignition tags associated with at least one recipe value for this production item have changed If true then at least one recipe value did not write to the associated Ignition tags when the recipe was first selected If true recipe values are being monitored and recipe value variances will be logged Set to true to allow recipes to be selected for this production item This is useful when selecting a recipe for a production line and preventing selecting the same recipe for selected child production items Recipe Changeover 517 ons Read Only Boolean Read Only Boolean Read Only Boolean The cell folder contains some properties associated with the production cell The name is the same as the cell name that is configured in the designer The image below represents the Filler of the OEEDemo project Inductive Automation Recine Changeover 518 Production Gj OEEDemo amp Your Enterpris
629. wing events drillDown Is fired when drill down menu item is selected Excludes the Back menu item Event Properties event getDrillDownName Returns the text of selected drill down option menu item Data String Type event getCategory Returns the bar chart category that was clicked on to display the drill down menu This is typically the first column of the Data property dataset Data Object Type back Event Properties none Methods none 2 4 1 13 Production Pie Chart Description A component that displays a pie chart with drill down capabilities This extends from the Pie Chart Component amp that comes with Ignition Inductive Automation EE Downtime When the user clicks on a segment of the pie chart the drill down ener will appear W en an item in the drill down menu is clicked on the drillDown event is fired Script in the drillDown event is responsible for updating the Data property to change the results shown in the pie chart The drill down menu information is set through the Drill Down Options property The Drill Down Options can populated from the Analysis Controller Analysis Selector SQL Query scripting or it can be manually defined in the designer Case Packer 69 467 16 Properties Area Automatic Reason Enterprise Line Operator Reason Package Count Product Code Production Units Palletizer 98 583 22 Filler 173 983
630. wnti 2 2 1 2 TEEP OEE Downtime 0 Where OEE represents the equipment efficiency during a production run Total Effective Equipment Performance TEEP represents the equipment utilization against a calendar period For example 365 days a year or 24 hours a day It can also be thought of as asset utilization and will help in the decision making process of purchasing new equipment There are two factors used to calculate TEEP Loading Loading is the ratio between the scheduled time for the production line or process and the calendar time Example If a production line is scheduled for 5 days 24 hours each day over a 7 day period then the loading is 71 calculated by 5 x 24 7 x 24 OEE OEE Availability x Performance x Quality as described in the previous section The calculation is TEEP Loading OEE Example To simplify this example we wil use made up OEE result of 82 The actual OEE value used must be the OEE result for all production runs of the same calendar time period that were used to calculate the Loading value TEEP 71 82 The TEEP result is 58 2 1 3 Production Count Tracking For OEE calculations to be performed production count information is required At a minimum the outfeed production count for a production line is needed Additional production count information can be configured leading to more OEE calculations For example if the infeed production count is configured for a production t
631. wntime Legend Text chart Scripting name unplannedDowntimeColor Data Type Color Set the text that will appear in the legend that represents the unplanned downtime section of the chart Scripting name unplannedLegend Data Type String Inductive Automation OEE Downtime 129 Unplanned Short Downtime Bar Selects the color of the unplanned short downtime section Color Unplanned Short Downtime Legend Text Events of the chart Scripting name unplannedShortDowntimeColo Data Type Color Set the text that will appear in the legend that represents the unplanned short downtime section of the chart Scripting name unplannedShortLegend Data Type String This component has standard Ignition events Methods none Inductive Automation OEE Downtime 130 24 3 Schedule Components When the Schedule Module which is part of the OEE Downtime and Scheduling Module a new component tab will appear On it are components that provide functionality specific to the work orders product codes and scheduling Component Palette of x Input Buttons Display Tables Charts Calendar Shapes Misc db Schedule db OEE DownTime db Production a Reporting 1283989393 Schedule Components 2 4 3 1 Work Order Selector Description A component that provides users to select a work order from a drop down list of available work orders for a production line The available options include only
632. work orders for product codes that are enabled to run on the specified production line All work orders are automatically displayed from the WorkOrder database table without the need for custom SQL statements or script O_PC1B 2 O_PC1A O_PC2 Work Order Selector Inductive Automation Properties OEE Downtime 131 This component has standard Ignition properties with the addition of the following properties Line Path Selected Work Order ID Events The line path of the production line that this component is associated with This is the full path name of the line starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Scripting name linePath Data Type SELLOS The currently selected work order ID This is the ID for the WorkOrder database table Scripting name Data Type selectedWorkOrderID INTEGRE This component has standard Ignition events Methods none Work Order Table Description 2 4 3 2 A component that displays all the available work orders in a table and calculates the units produced scheduled and remaining for each work order All work orders are automatically displayed from the WorkOrder database table within the date range of From Date and To Date properties without the need for custom SQL statements or script Work Order WO_PC2 Pc_002 Product Code 2 67 000 30 747 1 540 WO_PC3 PC_003 Produ
633. xes Resets both axes to their original ranges 2 2 3 3 Impromptu Analysis See Data Analysis 2 2 3 4 Line Summary The Dashboard Line Summary is also similar to the Dashboard Area Summary After selecting a line the OEE Production Counts and Run Time for that line can be viewed Downtime by Cell is also available on this screen showing which cells could by upgraded or changed to improve efficiency Another important element on this screen is the Top Downtime Reasons graph which displays downtime reasons such as a labeler running out of labels and the total amount of downtime that is caused each event This increases the amount of information that can used to increase efficiency The slide at the bottom of the page causes the date to be changed allowing the user to select a specific day or time or a broad range of dates to view These graphs may also be saved or printed by right clicking on the desired graph Line Summary Progucten Line Line 1 ly 100 PS ro o se o 9 gt sau SAM au gu gau IA tu JP APM PA GPU iou TAM so 0 EE hratat ity OEE Performance OEE Q Oste 0 7 2091 CT 4 Deven Tim 8 suvoncanad 15383 es o nom io te Fer Over Temper c Cono Pahar Orp don mew Capper Cap dam Later Cortina dm E rogar heman dem i ip LA Line Summary Screen Line Graph Settings There are many settings for lines graphs which can be adjusted by right clickin
634. y OEE Downtim 178 Standard RateThe current standard rate based on the selected product ve Floats code and line Read Only Standard The period of time used for the standard rate The options are String Hour and Minute Read Only Period State The current state for the production line The value of 0 is Int4 reserved for idle or line powered off and 1 is reserved for running All other values are defined in the downtime reasons for the production line See Line Configuration for more details State SQL This reflects the State SQLTag setting that the production String Tag line is configured for in the designer It is the name of the Read Only SQLTag to read the current production line state from 2 5 2 7 Additional Factors Description The additional factors folder contains a folder for each additional factor within it The name of each folder is the same as the additional factor name that is configured in the designer The image below represents the Line 1 additional factors of the OEEDemo project In the OEEDemo there is one additional factor to track the operator during a production run See Line Configuration and Additional Factors for more details Production OEEDemo 3 Your Enterprise 3 Your Site Workday Routine 3 Your Area Line 1 amp Operator gt Factor Description y gt Factor Name Factor SQLTag Additional Factors Properties Inductive Automation OEE D ti 17
635. y the sample dates Scripting name dateFormat Data Type String Inductive Automation SPC Quality 331 Label Background The background color of the labels Label Foreground Label Font Data Background Data Foreground Data Font Calc Background Calc Foreground Calc Font Chart Properties Inductive Automation Scripting name labelBackground Data Type Color The foreground color of the labels Scripting name labelForeground Data Type Color The font to display the labels Scripting name labelFont Data Type Font The background color of the measurement data values Scripting name dataBackground Data Type Color The foreground color of the measurement data values Scripting name dataForeground Data Type Color The font to display the measurement values Scripting name dataFont Data Type Font The background color of the calculated data values Scripting name calcBackground Data Type Color The foreground color of the calculated data values Scripting name calcForeground Data Type Color The font to display the calculated values Scripting name calcFont Data Type Font SPC Quality 332 Show Primary Chart If true the primary chart will appear Scripting name showPrimaryChart Data Type boolean Show Secondary Chart If true the secondary chart will appear Scripting name showSecondaryChart Data Type boolean Right Axis Width The width of the right chart axis in
636. y the value in Run Run Sequence No parameter will be returned Top Reasons The number of top downtime reasons to return is determined Integer to Show by the value of this parameter Return Downtime This binding function returns a Dataset with a variable Dataset History number of columns based in the parameter settings Production History Description The Production History binding function is used to return historical runtime data for a production run The data for this binding function is gathered from the runtime database tables The Production History binding function can provide production run data to tables charts or other types of components If the current run is selected production data from the current production run will be returned Function Name Production History Parameters Production Line Path The ine path of the production line that this String component is associated with This is the full path name of the ine starting with the project name For example OEEDemo Your Enterprise Your Site Your Area Line 1 Run ID The production run ID for which data will be returned Integer This is the ID for the Run database table If this parameter is left blank or set to 1 data for the current production run for the specified production ine will be returned Inductive Automation 2 6 2 3 Run Sequence No Include Entire Run Ore Downtime 185 The sequence number starts at O when a production run Integer starts
637. yText returns nothing recipes default values subrecipes subrecipes default descendants subrecipes default recipe add recipe delete recipe rename Value revert recipe revertvalues Value read recipe setvalues Value security recipe selectitems subrecipe add subrecipe delete subrecipe rename recipe import recipe export item select inst security inst note inst cancel desc ok desc The new text to replace the existing display text Data Type String Sample script to change the root Recipes node text to Spanish Inductive Automation Recipe Changeover 492 Script from internalFrameActivated event on the window system gui getParentWindow event getComponentForPath Root Container Recipe TreeView changel 4 4 2 Recipe Changelog Viewer wv Description A component that is added to Ignition windows to display recipe change log history in a table This is just one method of viewing a recipe change log history and for more information on the other methods see the Recipe Change Log section The Recipe Change Log Viewer component is inherited from the Ignition Table component and many of the features are carried through to this component This component simplifies displaying a recipe changes log by handling all of the backend database queries based on the property settings of the component The appearance and columns to display are changed using the table customizer that is accessed by r
638. ypes Returns the signal kind type object for the name value specified e getCategory SPCCategoryTypes Returns the category of chart See SPC Category Types for more information 3 6 2 13 Control Limit Calculated Value When using the calcControlLimitValue functions the new calculated control limit value and any messages are returned in this object Most control limits are a single value across all samples The p and u chart control limits can have different values for each sample In this case the results are returned in a Dataset that is also in this object properties e getCalculatedValue double Returns the new single control limit value e getData Dataset Returns multiple control limit value that vary for each sample e hasMessage boolean True is returned if a message exists e getMessage String Message of why the control limit cannot be calculated 3 6 3 Scripting Functions 3 6 3 1 sample production 3 6 3 1 1 sample production utils 3 6 3 1 1 1 cancelLocationProductCode system production utils cancelLocationProductCode Cancel Product Code Description Cancel the current product code for a production location This is provided to handle no production being run at a production location Syntax Client cancelLocationProductCode String locationPath Gateway cancelLocationProductCode String projectName String locationPath Parameters String locationPath The full path of the location to set the produ
Download Pdf Manuals
Related Search
Related Contents
取扱説明書 G DATA NotebookSecurity HyperDeck Disk Recorders Temporal Discovery Workbench (TDWB) Jensen FPE1908DVDC 19 User's Manual IP Office 4 PVR9150T Festool Sander RO 125 FEQ User's Manual IPT2 User`s Manual - Gilson Engineering Sales Inc. warning - Jacobsen Copyright © All rights reserved.
Failed to retrieve file