Runtime (BRuntimeBlock)

This block accumulates the amount of time the input is true (on or running). It supports both trend and value requests.

For value requests, the block processes a trend request using the block’s Time Range property. If the input to Trend In has a trend available, the block calculates the total amount of time the value was true, otherwise, it returns a zero value.

For trend requests, when the Use Request Time Range is true (the default value), the block uses the Request Rime Range property, otherwise the block uses its Time Range property. Each row in the result represents the accumulation of true time since last false (off not running) record.

Figure 144.   Runtime properties
Image

To view these properties, double-click the block on the Wire Sheet or the block name in the Nav tree.

Property Value Description
Out read-only value slot Outputs the calculated runtime value.
Trend In required value slot Links from the output of other logic blocks or data sources to supply trend data to the current logic block.
Mode drop-down list defaults to Minutes Configures what time unit (milliseconds, seconds, minutes or hours) to apply to the accumulated values.
Time Range range of options (defaults to Current 30 Days) Defines the time period over which to calculate the accumulated runtime.Defines the beginning and end of a period of time over which to count the number of occurrences or weight. If the alert depends on a certain number of occurrences or weight over time, this property is required, otherwise, it is optional.
Use Request Time Range true or false (default) Determines the time range for rolling up data.

true causes the framework to use the time range defined by the incoming request.

false causes the framework to use the time range defined in the block’s Time Range property.