Skip to main content

Configuring - TimeInState

You can configure the Sigmfine TimeInState Data Reference in two ways:

To configure an Attribute for TimeInState date reference, you must have created an Attribute with one of the value types listed in the following table:

Allowed Attribute Value Types.

Value Type (Template)UOM TemplateCalculate (DR Config)Show As (DR config)Time Unit (DR Config)Result Displayed as (example)Option #
Anything/Double/Single\<None>Actual TimeNumberHours10.031
Actual TimeNumberMinutes602.052
Actual TimeNumberSeconds361233
PercentNumberPercent41.814
Double/SingleHoursActual TimeNumberHours10.03 h5
MinutesActual TimeNumberMinutes602.05 min6
SecondsActual TimeNumberSeconds36123 s7
PercentPercentNumberPercent41.81 %8
String\<None>Actual TimeTextSeconds10 h 2 min 3 s9
PercentTextPercent41.81 %10

This table can be referenced when reading through the TimeInState Use Cases, by using the Option # column. The column will be referenced in the figures of the TimeInState Use Cases, to better illustrate the range of the TimeInState Data Reference’s utility.

Note:

  • This configuration is meant for Element Attributes and not template attributes.
  • The TimeInState attribute’s output value is Case start time and end time dependent.

TimeInState Configuration Walk-through

To configuration the data reference with the wizard follow the steps below using either System Explorer or Modeler. The example procedure shown below is performed in System Explorer, selecting an Element template. However, the options are the same whether you are using System Explorer or Modeler.

  1. Open System Explorer or ProcessBook Modeler.

  2. Select an Element or Element template.

    ClosedSystem Explorer

  • Click the Attributes tab.

    ClosedProcessBook Modeler

  • In the AF Properties window, click the Attributes table.

    The remaining steps are the same whether you are using System Explorer or Modeler.Figure 637: Select the TimeInState attribute

  1. Under Name, select the Attribute to configure with the TimeInState data reference (i.e. A1_TimeInState_Attribute).

    Next, you select the data reference.Figure 638: Select the TimeInState Data Reference

  2. Click on the Data Reference down-arrow and select TimeInState.

  3. Click the Settings button to open the Time In State Configuration Dialog window.Figure 639: Time In State Configuration Dialog window

    Use the following table as a guide when completing the remaining steps.

    Time In State Options

    Input Box / OptionDescription
    Tag StateThe PI Tag ‘State Number’ or ‘State Name’ or the PI Tag value for which the run hours need to be calculated.
    PI Point Configuration SettingsEnter or select the PI Point configuration setting string.
    CalculateSelect Actual Time or Percent for your desired result value
    Show AsDisplay time as text or number.Select time units (seconds, minutes, or hours) .
  4. In the Tag State box, type the and name for the tag state you want to use.

  5. In the PI Point Configuration Settings box, type the PI Point configuration setting string.

    Alternatively, you can click the ellipsis button and select the string.

    ClosedEXAMPLE: Configuration String

    An example of this configuration string is:

    Where {ServerName} and {TagName} are replaced with your server name and tag name respectively.

  6. Under Calculate select the type of calculation to use (Actual Time or Percent).

  7. Under Show As, select a time to display as option and the time units to display in (Hours, Minutes, Seconds).

  8. Click OK to save your configuration and close the window.

Refer to TimeInState Use Cases for usage scenarios.