---
title: Setup the registration of stop condition
description: "Go to the Configuration -&gt;Data source page:  Select the unit you wish to setup the registration for(The units here are examples and are different from yours):  Click the Add button:  Select Stop Condi"
---

[Skip to content](https://kb.dataintel.dk/setup-the-registration-of-stop-condition#main-content)

English

Show submenu for translations

[Submit a request](https://kb.dataintel.dk/kb-tickets/new?hsLang=en)

![DIAP-1.png\]](https://kb.dataintel.dk/hs-fs/hubfs/DIAP-1.png?height=41&name=DIAP-1.png)

- [Default HubSpot Blog](https://diap-6547305.hs-sites.com/blog)

Open main navigation

Close main navigation

- [Default HubSpot Blog](https://diap-6547305.hs-sites.com/blog)
- English
  
  Show submenu for translations
- [Submit a request](https://kb.dataintel.dk/kb-tickets/new)
- Go to Data Intelligence A/S

 Go to Data Intelligence A/S

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [Help Center](https://kb.dataintel.dk/?hsLang=en)
2. [OEE site](https://kb.dataintel.dk/oee-site?hsLang=en)
3. [Configuration](https://kb.dataintel.dk/oee-site?hsLang=en#configuration)

# Setup the registration of stop condition

### Introduction

- This guide describes how to setup the registration of stops based on a condition. This is used, when a signal tells that a unit is stopped based on a condition, like when the signal is less than 5.

### Setup

Go to the **Configuration -\>Data source** page:

![](https://kb.dataintel.dk/hubfs/image-png-Jul-02-2021-11-43-17-23-AM.png)

Select the unit you wish to setup the registration for(The units here are examples and are different from yours):

![](https://kb.dataintel.dk/hubfs/image-png-Jul-02-2021-11-44-01-88-AM.png)

Click the **Add** button:

![](https://kb.dataintel.dk/hubfs/image-png-Jul-02-2021-11-20-09-41-AM.png)

Select **Stop Condition:**

![](https://kb.dataintel.dk/hubfs/Knowledge%20Base%20Import/eltronic.zendesk.comhcarticle_attachments360013313759mceclip0.png)

### Configuration of stop condition

- **Name:** The name of the event server, that is collecting the data.
- **Small stop time**: This is how long a small stop can last in seconds. A stop is consisted a small stop as long as it hasn't lasted longer than this period.
- **Small Stop Reason**: This is the stop reason that is used with small stops.
- **DIAP Tags**: The DIAP tag is where the readings are collected from. The structure of the name is \[DIAP\]-\[PLC\]-\[Tag\]
- **Stop reason**: This is the stop reason that is used, when the stop has lasted longer than **Small stop time**.
- **Stop Condition:** This is the condition that should be true, for creating a stop, when the condition is false, the stop will end. There are the following conditions:  
    - **Tag = Value (Equal)**: Checks if the reading is equal to **Value**.
    - **Tag ≠ value (Not Equal):**  Checks if the reading is not equal to **Value**.
    - **Tag \> Value (Larger)**: Checks if the reading is larger than **Value**.
    - **Tag \>= Value (Larger or Equal)**: Checks if the reading is larger than or equal to **Value**.
    - **Tag \< Value (Smaller)**: Checks if the reading is smaller than the **Value**.
    - **Tag \<= Value (Smaller or Equal)**: Check if the reading is smaller than or equal to **Value**.
- **Value:** This is the value that the readings are compared to using the **Stop Condition**.

### DIAP tag data type

- **Type:** Double

The expected data type is decimal numbers like : 0.0, 0.1,1.

### Example - Stop Condition

The **stop Condition** is set to **Tag = Value (Equal)** and **Value** to 5, and the units gets the following readings:

- 0
- 5
- 3
- 5
- 5
- 0

Then the the unit will have the following stops:

![](https://kb.dataintel.dk/hubfs/Knowledge%20Base%20Import/eltronic.zendesk.comhcarticle_attachments360013314999mceclip0.png)

Now the stop Condition is set to **Tag ≠ value (Not Equal)**, **Value** to 5 and with the same readings from before, then the units would have the following stops:

![](https://kb.dataintel.dk/hubfs/Knowledge%20Base%20Import/eltronic.zendesk.comhcarticle_attachments360013316080mceclip2.png)

Now the stop Condition is set to **Tag \> Value (Larger)**, **Value** to 1 and with the same readings from before, then the units would have the following stops:

 

![](https://kb.dataintel.dk/hubfs/Knowledge%20Base%20Import/eltronic.zendesk.comhcarticle_attachments360013316260mceclip3.png)

Now the stop Condition is set to **Tag \< Value**, **Value** to 1 and with the same readings from before, then the units would have the following stops:

![](https://kb.dataintel.dk/hubfs/Knowledge%20Base%20Import/eltronic.zendesk.comhcarticle_attachments360013315799mceclip4.png)

### Example - Configure stop Condition

Select a name for the event server, that is collecting the data. Here we called it "StopCondition":

![](https://kb.dataintel.dk/hubfs/Knowledge%20Base%20Import/eltronic.zendesk.comhcarticle_attachments360013316119mceclip5.png)

Set how long a small stop may last in seconds. Stops that last to this period and not longer, are consisted small stops. Here we sat it to 30 seconds:

![](https://kb.dataintel.dk/hubfs/image-png-Jul-02-2021-12-49-46-78-PM.png)

Select a small stop reason, when a small stop is created, it uses this stop reason. Here we used "Machine stopped":

![](https://kb.dataintel.dk/hubfs/Knowledge%20Base%20Import/eltronic.zendesk.comhcarticle_attachments360013316900mceclip6.png)

Select the DIAP tag, where the data comes from. Here we selected "dev00225 - Demo - Tag 1":

![](https://kb.dataintel.dk/hubfs/Knowledge%20Base%20Import/eltronic.zendesk.comhcarticle_attachments360037779234mceclip7-1.png)

(You can type in this box to quicker search for the tag):

![](https://kb.dataintel.dk/hubfs/Knowledge%20Base%20Import/eltronic.zendesk.comhcarticle_attachments360037779314mceclip8-2.png)

Select the stop reason, that will be used, when the stop has lasted longer than **Small stop time**. Here we selected "Machine Failure":

![](https://kb.dataintel.dk/hubfs/Knowledge%20Base%20Import/eltronic.zendesk.comhcarticle_attachments360013317060mceclip7.png)

Select the **Stop Condition**, that will be used, when comparing the readings to **Value**. Here we selected **Tag \> Value (Larger)**:

![](https://kb.dataintel.dk/hubfs/Knowledge%20Base%20Import/eltronic.zendesk.comhcarticle_attachments360013317400mceclip8.png)

Set the **Value** that will used in **Stop Condition**. Here we set it to 0:

![](https://kb.dataintel.dk/hubfs/Knowledge%20Base%20Import/eltronic.zendesk.comhcarticle_attachments360013316859mceclip9.png)

When you are done, the configuration should look something like this(But with your values):

![](https://kb.dataintel.dk/hubfs/Knowledge%20Base%20Import/eltronic.zendesk.comhcarticle_attachments360013316899mceclip10.png)

Click **Save** to save the configuration:

![](https://kb.dataintel.dk/hubfs/Knowledge%20Base%20Import/eltronic.zendesk.comhcarticle_attachments360037673894mceclip11-4.png)

Now you have a configuration for checking a stop condition on the readings, to tell if the unit is running or stopped.

### Start collecting data

When you have made your configurations in the **Data source**, then you need to start the event server for the configuration, so the data get collected.

Go to the **Configuration-\>Data source status** page:

![](https://kb.dataintel.dk/hubfs/image-png-Jul-02-2021-11-47-27-99-AM.png)

Select your unit:

![](https://kb.dataintel.dk/hubfs/Knowledge%20Base%20Import/eltronic.zendesk.comhcarticle_attachments360038505433mceclip13-4.png)

Click the switch for the event server with the configuration:

![](https://kb.dataintel.dk/hubfs/Knowledge%20Base%20Import/eltronic.zendesk.comhcarticle_attachments360013317680mceclip12.png)

Then the light turns green and the Last run timestamp is updated, when your event server has run your configuration for the first time:

![](https://kb.dataintel.dk/hubfs/Knowledge%20Base%20Import/eltronic.zendesk.comhcarticle_attachments360038507553mceclip14-4.png)

That it. Now your configuration are done and you are collecting data.

- [DIAP Gateway](https://kb.dataintel.dk/diap-gateway?hsLang=en#main-content)

    - [Getting Started](https://kb.dataintel.dk/diap-gateway?hsLang=en#getting-started)
    - [Troubleshooting](https://kb.dataintel.dk/diap-gateway?hsLang=en#troubleshooting)
    - [Known issues/limitations](https://kb.dataintel.dk/diap-gateway?hsLang=en#known-issues-limitations)
- [General](https://kb.dataintel.dk/general?hsLang=en#main-content)

    - [FAQ](https://kb.dataintel.dk/general?hsLang=en#faq)
- [Configuration](https://kb.dataintel.dk/configuration?hsLang=en#main-content)

    - [FAQ](https://kb.dataintel.dk/configuration?hsLang=en#faq)
    - [Troubleshooting](https://kb.dataintel.dk/configuration?hsLang=en#troubleshooting)
    - [Guides](https://kb.dataintel.dk/configuration?hsLang=en#guides)
    - [Protocols](https://kb.dataintel.dk/configuration?hsLang=en#protocols)
- [Live/Real time site](https://kb.dataintel.dk/live-real-time-site?hsLang=en#main-content)

    - [Getting Started](https://kb.dataintel.dk/live-real-time-site?hsLang=en#getting-started)
    - [FAQ](https://kb.dataintel.dk/live-real-time-site?hsLang=en#faq)
    - [Guide](https://kb.dataintel.dk/live-real-time-site?hsLang=en#guide)
    - [Features](https://kb.dataintel.dk/live-real-time-site?hsLang=en#features)
- [OEE site](https://kb.dataintel.dk/oee-site?hsLang=en#main-content)

    - [Getting Started](https://kb.dataintel.dk/oee-site?hsLang=en#getting-started)
    - [FAQ](https://kb.dataintel.dk/oee-site?hsLang=en#faq)
    - [Guides](https://kb.dataintel.dk/oee-site?hsLang=en#guides)
    - [Configuration](https://kb.dataintel.dk/oee-site?hsLang=en#configuration)
- [Remote Access](https://kb.dataintel.dk/remote-access?hsLang=en#main-content)

    - [Getting Started](https://kb.dataintel.dk/remote-access?hsLang=en#getting-started)
    - [FAQ](https://kb.dataintel.dk/remote-access?hsLang=en#faq)
    - [Guides](https://kb.dataintel.dk/remote-access?hsLang=en#guides)
- [API](https://kb.dataintel.dk/api?hsLang=en#main-content)

    - [API](https://kb.dataintel.dk/api?hsLang=en#api)
- [Release information](https://kb.dataintel.dk/release-information?hsLang=en#main-content)

    - [DIAP Release Notes](https://kb.dataintel.dk/release-information?hsLang=en#diap-release-notes)
    - [Live/Real time site](https://kb.dataintel.dk/release-information?hsLang=en#live-real-time-site)
    - [OEE site](https://kb.dataintel.dk/release-information?hsLang=en#oee-site)
    - [Management site](https://kb.dataintel.dk/release-information?hsLang=en#management-site)
    - [DIAP Gateway](https://kb.dataintel.dk/release-information?hsLang=en#diap-gateway)

- [Default HubSpot Blog](https://diap-6547305.hs-sites.com/blog)

[![Chill listening crop-3](https://kb.dataintel.dk/hs-fs/hubfs/Sk%C3%A6rmbillede%202021-05-04%20kl.%2017.46.04.png?width=221&height=26&name=Sk%C3%A6rmbillede%202021-05-04%20kl.%2017.46.04.png "Chill listening crop-3")](https://diap.hubspotpagebuilder.com/-temporary-slug-5b226bcb-69c8-45c1-82ff-e060e2d4037d?hsLang=en)

Copyright © 2026, Data Intelligence A/S