Using a Custom Property for Equipment Path in MES Analysis 3.0

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 3.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.








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 Add Expression. The expression will populate below.
    5. Click Save.



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. Create a String custom property (ex. eqPath) and bind to an MES Object Selector or other property on screen.  Hard coding is an option during testing.
  2. Type in the Ffilter By string. The string is simply:

    Code
    Equipment Path=eqPath






Keywords

OEE

OEE, MES Analysis Selector, MES Analysis Controller