The big data configuration model is used to configure tags for KPI Model calculation. MCC tags represents constants. MC tags represent raw data to observe the lab tag values. MCS tags represents scaled items to scale raw data to any conversions. CALC tags represent the final KPIs. In the workflow these should all be entered in the order of MCC, MC, MCS, and CALC.

General Workflow Field Settings

  • Required: Identifies if the user must provide a value in this field.
  • Active: Used to active/deactivate a field. Fields are not able to be deleted to maintain historical information.
  • Key - Defined tag. Starts with MC, MCC, MCS, or CALC, followed by the appropriate tag name.
  • Type - Type of value, like Text, Datetime, etc. Most will be text or number field types.
  • Title - Description with parameter definition as a suffix and output type as a suffix (string versus float). String represents text while float represents numbers.
  • Default Value - This will be either the lab tag, formula, or constant value, depending on the parameter definition.
  • Description - This is a simple description and not required.
  • Units: Used to identify the unit such as feet, inches, gallons, etc.
  • Enable Fallback Value: This is a fallback number that can be configured by the user to ensure that any bad data keeps processing. The default value will be set to -999, but can be changed by the user.
  • Bluetooth Enabled: Allows field to be Bluetooth connected
  • Populate value from previous workflow report: Checking this checkbox will automatically populate the value from the same field from the previous workflow completed. 
  • Enable Python Editor: Allow the users to write code and see suggestions and syntax errors visually.
  • Default Value: The Default Value is used to automatically enter data in the field when the asset is created. The user may modify this value if it is incorrect for the particular asset.


Advanced Workflow Field Settings

  • Use String Literal For Reports: This is used for reporting when a field must return a string value. 
  • Visibility is Conditional: Check this box if you want to make the field show or hide based on certain conditions.
  • Show Conditional Popup Message: Check this box if you want to make a popup message appear based on certain conditions. These conditionals are defined the same as visibility conditionals above.
  • Historical Data Chart: User may define a graph type (line or scatter plot) with options to include linear regression with or without extrapolation (threshold forecasting) and a “Default preview period”.


Unit Monitoring Specific Workflow Fields

MCC (Machine Connect Constants) – Constants hold all constant default values.

MC (Machine Connect) – Raw tags that lab captured. Tags need to be configured, and these fields will store them.

MCS (Machine Connect Scaled) – Tags for intermediate calculations, like Fahrenheit to Celsius and vice versa.

CALC (Calculations) – Tags for final KPIs using all previous tags.

Shutdown – Tag is used to know whether the PI is shut down or not, based on the result of a value of either 0 or 1. 1 signifies machine is producing data and 0 signifies machine is shut down with no data to process or show in UI.

Each field should also be checked as required on the workflow.

Variable Attributes

Variables have built-in attributes that you can also use in calculations by referencing variable.attribute.  The table that follows describes the attributes.

Atrtribute
Definition
valueThe data value of the variable.  You can reference the variable or the value attribute in calculations. myvar = myvar.value.
minThe minimum value, as defined during field creation.
maxThe maximum value, as defined during field creation.
stepThe step value (significant digits displayed), as defined during field creation.
status.high

Boolean (1/0).  Set to 1 if the value > max, otherwise 0.
If max is null, set to 0.

status.lowBoolean (1/0).  Set to 1 if the value < min, otherwise 0.
If min is null, set to 0.
status.ok Boolean (1/0).  Set to 1 if status.high == 1 OR status.low == 1; set to 1 if status.high == 0 AND status.low == 0; otherwise 0.

Note: If the value attribute of a variable null, then all other attributes are assumed to be null as well.