Creating a Counter

The 'Counter' widget is ideal for counting certain parts/products within a production or similar. It will be able to count Boolean values (value going from 0 to 1). The widget will then count the amount of times the sensor/tag has been 1.

Go to the Live application in the DIAP platform and enter the 'Designer'.

Press the '+ Add Widget' and select the 'Counter'.

A pop-up will occur.
Fill in the required information.

Fill in the information:

 

  1. DIAP: Select which DIAP you would like to visualize data from.
  2. PLC: Choose which PLC or if you wish to visualize data from a sensor.
  3. Tag: Choose which tag or sensor you would like to see data from.
  4. Period: Select the period of time which should be visualized
    1. Today: Visualize for today.
    2. 30 days: Visualize for the last 30 days.
    3. 365 days: Visualize for the last 365 days.
  5. Show Timestamp: Will shows the timestamp from the last successful reading from the tag/sensor.
  6. Show "/ day" label: Determine if the count per day has to be shown on the widget.
  7. "/ day" label: Determine if it count per day, per hour or something else.

See example below:

Press the 'Save changes' when finished.

 

If period 'today' has been chosen, then the widget will look like the widget below.

If period '30 days' has been chosen, then the widget will look like the widget below.

 

If period '365 days' has been chosen, then the widget will look like the widget below.