Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

The MES Analysis Selector and MES Analysis Controller components both have a Filter By section that is typically set to the equipment path. Instead of settling for a static string value for the equipment path that must be changed manually (e.g. to run analysis on a different Line), you can create a Custom Property to use as a variable for the equipment path. This variable can now be modified on the fly via script or by binding it to the Equipment Item Path property of an MES Object Selector.

Applies To and Version Info

This feature applies to the OEE 2.0 module.



Create a Custom Property

  1. In either the MES Analysis Selector and MES Analysis Controller component, create a Custom Property to hold the equipment path string, such as "eqPath".

  2. When used during run time, you can either modify the equipment path string held in this property via script or by binding it to the Equipment Item Path property of an MES Object Selector.

    Info

    If you want the analysis results to update automatically each time the value of eqPath changes, set the check box for Refresh on Settings Change:






Bind Filter By to the Custom Property

MES Analysis Selector: Set Filter By to the Custom Property

  1. Edit the Filter By section:
    1. Set the "=" radio button in the Operator section.
    2. Select Equipment Path in the Filter section.
    3. Select your Custom Property (e.g. eqPath) in the Parameter drop-down list.
    4. Click . The expression will populate below.
    5. Click .



MES Analysis Controller: Set Filter By with an Expression

The Filter By property of the MES Analysis Controller doesn't have a graphical 'wizard' like the MES Analysis Selector has, so you'll need to generate the full string yourself.

  1. Bind the Filter By property to an expression that includes the string "Equipment Path=" plus the property value for your Custom Property surrounded by single quotes:

    Code Block
    languagepy
    "Equipment Path=" + "'" + {Root Container.MES Analysis Controller.eqPath} + "'"
  2. During run time, you'll see the Filter By property set to the resulting string. For example:
    Equipment Path='New Enterprise\Site\Area\Line 1\Cell B'






Keywords

OEE

OEE, MES Analysis Selector, Row Limit, Descending Order MES Analysis Controller


Pagedetails