Overview
These are the Data Points and Settings that can be used in an Impromptu Analysis (Selector or Controller)
to produce results matching the OEE Downtime Table
Applies To and Version Info
3.0
Details
DataPoints=Line State Event Begin,Line State Event End,Line State Duration,Is Short Stop,
Line Downtime Equipment Path,Line Downtime Original Equipment Path,Line Downtime Equipment Name,
Line Downtime Reason,Line Downtime Reason Path,Equipment Note,Line State Value,Line Downtime State Time Stamp,
Line Downtime End State Time Stamp,Line Downtime Reason Split,Line Downtime Can Revert Split,Line Downtime Event Sequence,
Line Downtime Occurrence Count,Line State Override Type,Line State Override Scope,Line State Overridden
Filter=Equipment Path=@eqPath AND (Line State Type='Planned Downtime' OR Line State Type='Unplanned Downtime' OR Line State Type='Unknown')
GroupBy=Line Downtime Event Sequence
OrderBy=Line Downtime Event Sequence
SettingValues=Rollup Time Span=0,Suppress Grouping Messages=True,Unknown State as Unplanned Downtime=False
note:
1) eqPath would be a Custom Filter Param on the Analysis Selector. It is best practice to bind the value to an MES Object Selector 
Screenshots
Impromptu Analysis Execution
Executing this script will create the analysis settings to replicate the OEE Downtime Table data via Analysis.
Code |
analysis_setting = system.mes.analysis.createMESAnalysisSettings("Like OEE DT Table")
Datapoints = [
"Line State Event Begin",
"Line State Event End",
"Line State Duration",
"Is Short Stop",
"Line Downtime Equipment Path",
"Line Downtime Original Equipment Path",
"Line Downtime Equipment Name",
"Line Downtime Reason",
"Line Downtime Reason Path",
"Equipment Note",
"Line State Value",
"Line Downtime State Time Stamp",
"Line Downtime End State Time Stamp",
"Line Downtime Reason Split",
"Line Downtime Can Revert Split",
"Line Downtime Event Sequence",
"Line Downtime Occurrence Count",
"Line State Override Type",
"Line State Override Scope",
"Line State Overridden"
]
analysis_setting.setDataPoints(Datapoints)
analysis_setting.addParameter('eqPath')
analysis_setting.setFilterExpression("Equipment Path=@eqPath AND (Line State Type='Planned Downtime' OR Line State Type='Unplanned Downtime' OR Line State Type='Unknown')")
analysis_setting.setGroupBy("Line Downtime Event Sequence")
analysis_setting.setOrderBy("Line Downtime Event Sequence")
analysis_setting.setSettingValues("Rollup Time Span=0,Suppress Grouping Messages=True,Unknown State as Unplanned Downtime=True")
system.mes.saveMESObject(analysis_setting) |
References
MES Analysis Selector
MES Analysis Controller
Analysis Data Points and Settings
OEE Downtime Table
Keywords
OEE Downtime Table, Analysis Controller, Analysis Selector, Analysis Data Points and Settings
OEE
Configuration, Analysis-and-reports, Production-data.