---
title: Uptime and Downtime by Value
slug: manufacturing-connect-edge/uptime-and-downtime-by-value
docTags: 
createdAt: 2022-10-21T14:40:51.000Z
---

You can use the **UpTime and DownTime by Value** KPI processor to compare your current value with a desired value. The KPI sorts them as either uptime or downtime based on the specified condition ( greater(>), less(\<), equal(==) or notEqual(!=) ) and a delta to round off mistakes.

# Uptime and Downtime by Value Overview

- If you would like to compare your current value with a desired value, to count as UpTime or DownTime.
- By setting the **condition**, you can define: Downtime if current value is greater(>), less(\<), equal(==) or notEqual(!=) than **desired value.**
- You can enter a delta too, if you want to forgive some sort of round off error.
- The **timer interval** parameter is useful if the connected input tag is offline, but you still want this KPI to "look" for a value every few seconds, defined by the aforementioned timer.
  - If you know your tag is going to reliably publish at the expected interval, it is better to disable this timer by entering 0 in the field.

# Uptime and Downtime by Value Parameter

| **Parameters**          | **Details**                                                                                                                                                              |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Device Reset<br />&#xD; | This parameter resets the KPI when the connected device is reset.                                                                                                        |
| Unit                    | Display UpTime/DownTime in Seconds, Minutes, Hours, Days, or Weeks.                                                                                                      |
| Condition               | Specify the type of comparison to be made; it categorizes as downtime if the current value is greater (>), less (\<), equal (==), or notEqual (!=) to the desired value. |
| Desired Value           | Enter the desired value to compare with the current values.                                                                                                              |
| Delta of Tolerance      | Allows a margin of error by adding or subtracting this delta from the desired value.                                                                                     |
| Timer Interval          | Timer in milliseconds. If no event, use this timer to keep displaying the output continually. Enter zero to disable.                                                     |

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/7HfTpSwr5ueEPGnSlEbpx_image.png "Uptime and Downtime by Value Parameter")

:::hint{type="info"}
**Note:&#x20;**&#x57;hen creating an analytics flow with *Uptime and Downtime by Value&#x20;*&#x4B;PI, refer the [Use the Uptime and Downtime by Value KPI](docId\:j4mnP_x1C_CHcSXl6iOR9) for more details.
:::

