---
title: Setup registration of orders and products
description: "Go to the Configuration-&gt;Datasource 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 Order and pr"
---

[Skip to content](https://kb.dataintel.dk/setup-registration-of-orders-and-products#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 registration of orders and products

### (If you need to use the same tag for **Order Diap Tag** and **Product Diap Tag**, then use event server **Product change(Order change follows product)** instead of this event server)

### Introduction

- This guide describes how to setup the registration of orders and products for a unit. This is used, when one has a signal telling which order is running and a signal telling which product is being produced.

### Setup

Go to the **Configuration-\>Datasource** 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 **Order and product:**

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

Click **Save**, to add the event server:

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

### Configuration of Order and product Event Server

- **Name:** The name of the event server, that is collecting the data.
- **Order Diap Tag**: The Diap tag where the orders are collected from. The structure of the name is  \[DIAP\]-\[PLC\]-\[Tag\]
- **Product Diap Tag**: The Diap tag where the products are collected from. The structure of the name is  \[DIAP\]-\[PLC\]-\[Tag\]
- **Operator Diap Tag:** The Diap tag where the user defined operator is collected from. The structure of the name is  \[DIAP\]-\[PLC\]-\[Tag\]

### Diap tag data type

- **Type:** String

For **Order Diap Tag** the expected data type is string containing the order name: A10324, 20190613B, 23CA.

For **Product Diap Tag** the expected data type is string containing the product name, like : Product1, Cars, Computers and Blue shirts.

For **Operator Diap Tag** the expected data type is string containing the operator. It can be initials, employee number or name, like : THA, 0109 or John.

Note that the value "0" (zero) is ignored for all three tags.

### Matching Product

The product name received from **Product Diap tag** is compared to the products found in **Configuration-\>Product** page:

![](https://kb.dataintel.dk/hubfs/image-png-Jul-02-2021-12-21-56-99-PM.png)

![](https://kb.dataintel.dk/hubfs/image-png-Apr-01-2022-08-52-26-21-AM.png)

For example if Product1 was received from the **Product Diap tag**, then Product1 is found from the table, and the oee system, now has the information about the product like which Ideal cycle time should be used in the oee calculation. If no product exists with the name then a new product is created and used.

### Changing orders and product

The **Order Diap Tag** and **Product Diap tag** doesn't have to change their values at the same time. You can change the value in **Order Diap Tag** all you want without changing the value in **Product Diap tag**, this would mean that you have several orders producing the same product. You could also keep the value in **Order Diap Tag** and change the value in **Product Diap tag**, this would mean that you one order with more products produced in it. Last if you change the values both in **Order Diap Tag** and **Product Diap tag**, this would mean that you are changing both the order and product. 

### Example - Configure orders and products

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

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

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

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

Select the Diap tag, where the products comes from. Here we selected "dev00225 - Demo - Tag 2":

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

(You can type in these box to quicker search for the tags):

![](https://kb.dataintel.dk/hubfs/Knowledge%20Base%20Import/eltronic.zendesk.comhcarticle_attachments360037779314mceclip8-Feb-23-2021-12-28-41-97-PM.png)

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

![](https://kb.dataintel.dk/hubfs/image-png-Jul-05-2021-08-44-59-09-AM.png)

Click **Save** to save the configuration:

![](https://kb.dataintel.dk/hubfs/Knowledge%20Base%20Import/eltronic.zendesk.comhcarticle_attachments360037673894mceclip11-Feb-23-2021-12-28-43-00-PM.png)

Now you have a configuration for collecting order and product changes.

### 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-Feb-23-2021-12-28-43-37-PM.png)

Click the switch for the event server with the configuration:

![](https://kb.dataintel.dk/hubfs/Knowledge%20Base%20Import/eltronic.zendesk.comhcarticle_attachments360038707673mceclip5.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-Feb-23-2021-12-28-44-48-PM.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