Generating data (binary) for simulations in Scada-LTS / Generowanie danych (binarnych) do symulacji w Scadzie-LTS [EN/PL]

in #utopian-io6 years ago (edited)

Tutorial-1-ScadaLTS..png

(EN) We will learn today to generate data (binary) for simulation in Scada-LTS.

In order to present data on HMI in our Scada-LTS system, connect alarms, create reports, we need data. Therefore, today I will describe how we can create a simulation of several measuring points in Scada-LTS.
Requirements

The Scada-LTS program is required for operation. Description of how to install Scada-LTS. To run the program, we need the Docker installed and a minimum of 4GB RAM on the Win / Linux system.

Difficulty (Advanced)

Virtual data source

We add measurement points in the appropriate "data sources", therefore we will first add a "virtual data-source".

  • Go to the "data source" panel.
  • We select the virtual data source "Virtual data source", we give the name VDS_TEST.
  • We set the time for how much data should automatically be generated, e.g. 1 second.
  • We save and enable the "data source".

Then add the points in the above-created VDS_TEST data source

  • For the point, we can set 4 data types:
    • binary (acts discussed),
    • multistate,
    • numeric,
    • alphanumeric.

We can set the setable property which will allow us to change the point value from our program.

Depending on the type of data we have different ways to generate data, and so for a virtual point with type binary we have:

  • Alternate - automatically changes values ​​to true or false (within the time specified by data source)
  • No change - does not automatically change the value
  • Random - changes the random values ​​true or false automatically.

Automatic means when the "data source" changes

Example of Virtual Point configuration - with Binary type and Alternate data change method.

Point - about the Binary type and the method of data change No change (does not change automatically).
pierwszy_punkt_typu_no_c.png

A point - about the Binary type and how to change Random data.
pierwszy_punkt_typu_random.png

Preview how data changes every second.

In the next part I will present the generation of data about type Multistate.

Links

I invite you to subscribe:

(PL) Nauczymy się dzisiaj generować dane (binarne) do symulacji w Scadzie-LTS.

Aby można było w naszym systemie Scada-LTS zaprezentować dane na HMI, podpiąć alarmy, stworzyć raporty, potrzebujemy danych. Dlatego dzisiaj opisze jak możemy stworzyć symulację kilku punktów pomiarowych w Scadzie-LTS.
Wymagania

Do działania wymagany jest program Scada-LTS. Opis jak zainstalować program Scada-LTS. Do uruchomienia programu potrzebujemy zainstalowanego Docker-a i minimum 4GB RAM-u na systemie Win/Linux.

Trudność (Zaawansowana)

Wirtualne źródło danych

Punkty pomiarowe dodajemy w odpowiednich "źródłach danych" dlatego najpierw dodamy "wirtualne źródło danych" (virtual data-source).

  • Przechodzimy do panelu "źródła danych".
  • Wybieramy wirtualne źródło danych “Virtual data source”, nadajemy nazwę VDS_TEST.
  • Ustawiamy czas co ile mają się automatycznie generować dane, np 1 sekundę.
  • Zapisujemy i włączamy "źródło danych".

Następnie dodajemy punkty w wyżej utworzonym źródle danych VDS_TEST

  • Dla punktu możemy ustawić 4 typy danych:
    • binary (dziaiaj omawiany),
    • multistate,
    • numeric,
    • alphanumeric.

Możemy ustawić właściwość setable co pozwoli nam zmieniać wartość punktu z naszego programu.

W zależności od typu danych mamy różne sposoby generowania danych i tak dla punktu wirtualnego o typie binary mamy:

  • Alternate - zmienia automatycznie wartości na zmianę true lub false (w czasie określonym przez data source)
  • No change - nie zmienia automatycznie wartości
  • Random - zmienia automatycznie losowa wartości true lub false.

Automatycznie to znaczy kiedy zmienia się "źródło danych"

Przykład konfiguracji Wirtualnego punktu - o typie Binary i sposobie zmiany danych Alternate.

Punktu - o typie Binary i sposobie zmiany danych No change (nie zmienia się automatycznie).
pierwszy_punkt_typu_no_c.png

Punkt - o typie Binary i sposobie zmiany danych Random.
pierwszy_punkt_typu_random.png

Podgląd jak zmieniają się dane co sekundę.

W następnej części przedstawię generowanie danych o type Multistate.

Linki

Zapraszam do subskrybcji:



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Congratulations @grzesiekb! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes received
You published 4 posts in one day

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Hey @grzesiekb I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Suggestions

  • Contribute more often to get higher and higher rewards. I wish to see you often!
  • Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!

Get Noticed!

  • Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x