Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EclipseSCADA/GettingStarted/DemoSystem"

m (Quick start)
m (Update demot client to 0.2.5)
(16 intermediate revisions by the same user not shown)
Line 33: Line 33:
  
 
The arduino driver itself connects to the arduino ethernet shield and polls the data from the board. Since the polling is quite fast, the arduino driver is actually located beside the arduino board in our office, while the 'demo.openscada.org' server is hosted by an ISP "in the cloud".
 
The arduino driver itself connects to the arduino ethernet shield and polls the data from the board. Since the polling is quite fast, the arduino driver is actually located beside the arduino board in our office, while the 'demo.openscada.org' server is hosted by an ISP "in the cloud".
 +
 +
== Demo Client ==
 +
 +
There is a custom client application for this setup. It can be downloaded at:
 +
 +
http://download.eclipse.org/eclipsescada/demo/client/?d
 +
 +
* [http://www.eclipse.org/downloads/download.php?file=/eclipsescada/demo/client/0.2.5.v20140930-1611/org.eclipse.scada.samples.products.demo1.app-win32.win32.x86.zip Windows 32bit]
 +
* [http://www.eclipse.org/downloads/download.php?file=/eclipsescada/demo/client/0.2.5.v20140930-1611/org.eclipse.scada.samples.products.demo1.app-win32.win32.x86_64.zip Windows 64bit]
 +
* [http://www.eclipse.org/downloads/download.php?file=/eclipsescada/demo/client/0.2.5.v20140930-1611/org.eclipse.scada.samples.products.demo1.app-linux.gtk.x86.tar.gz Linux 32bit]
 +
* [http://www.eclipse.org/downloads/download.php?file=/eclipsescada/demo/client/0.2.5.v20140930-1611/org.eclipse.scada.samples.products.demo1.app-linux.gtk.x86_64.tar.gz Linux 64bit]
 +
* [http://www.eclipse.org/downloads/download.php?file=/eclipsescada/demo/client/0.2.5.v20140930-1611/org.eclipse.scada.samples.products.demo1.app-macosx.cocoa.x86_64.tar.gz Mac OS X 64bit]
 +
 +
This is a normal Eclipse RCP application which has to be downloaded and unpacked.
 +
 +
Log in by pressing CTRL+L or the green button in the status bar. Select the context you want to log on (e.g. "scada.eclipse.org").
 +
 +
[[File:EclipseSCADA Demo QS 04.png|300px|Chart]]
 +
[[File:EclipseSCADA Demo QS 05.png|300px|Details]]
 +
[[File:EclipseSCADA Demo QS 08.png|300px|More elements in the main view]]
 +
[[File:EclipseSCADA Demo QS 09.png|300px|Details with video feed]]
  
 
== Interfacing ==
 
== Interfacing ==
Line 40: Line 61:
 
=== Eclipse SCADA protocol ===
 
=== Eclipse SCADA protocol ===
  
 
+
This is the demo server hosted at the Eclipse Foundation:
 
{|
 
{|
 
! URI
 
! URI
Line 52: Line 73:
 
|}
 
|}
  
 +
This is the demo server hosted by openSCADA:
 
{|
 
{|
 
! URI
 
! URI
Line 68: Line 90:
 
! Item Name !! Description !! What to expect
 
! Item Name !! Description !! What to expect
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
| ES.DEMO.ARDUINO001.LUX.V || Value of the light sensor || A floating point value that represents the value of the light sensor. Somewhere between 5000 - 30.000. Frequently changing, about every 250ms
+
| ES.DEMO.ARDUINO001.LIGHT.V || Value of the light sensor || A floating point value that represents the value of the light sensor. Somewhere between 0 - 1024. Frequently changing, about every 250ms
 +
|- style="vertical-align:top;"
 +
| ES.DEMO.ARDUINO001.TEMPERATURE.V || The temperature in °C || The current room temperature
 +
|- style="vertical-align:top;"
 +
| ES.DEMO.ARDUINO001.HUMIDITY.V || The humidity || The current humidity
 
|}
 
|}
  
Line 92: Line 118:
 
! Register # !! Source Item !! Type !! Description !! Extras
 
! Register # !! Source Item !! Type !! Description !! Extras
 
|- style="vertical-align:top; background: #EEEEEE"
 
|- style="vertical-align:top; background: #EEEEEE"
| style="text-align:right;" | 0 ||rowspan="3"| ES.DEMO.ARDUINO001.LUX.V || UINT16 || State ||
+
| style="text-align:right;" | 0 ||rowspan="3"| ES.DEMO.ARDUINO001.LIGHT.V || UINT16 || State ||
 
|- style="vertical-align:top; background: #EEEEEE"
 
|- style="vertical-align:top; background: #EEEEEE"
 
| style="text-align:right;" | 1  || INT64 || Unix Timestamp (milliseconds, UTC) ||
 
| style="text-align:right;" | 1  || INT64 || Unix Timestamp (milliseconds, UTC) ||
 
|- style="vertical-align:top; background: #EEEEEE"
 
|- style="vertical-align:top; background: #EEEEEE"
| style="text-align:right;" | 5 || UINT16 || Value || Scaled by 0.1
+
| style="text-align:right;" | 5 || UINT16 || Value || Scaled by 10.0
  
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
| style="text-align:right;" | 6 || rowspan="3"| ES.DEMO.ARDUINO001.LUX.V || UINT16 || State
+
| style="text-align:right;" | 6 || rowspan="3"| ES.DEMO.ARDUINO001.LIGHT.V || UINT16 || State
 
|-
 
|-
 
| style="text-align:right;" | 7 || INT64 || Unix Timestamp (milliseconds, UTC)
 
| style="text-align:right;" | 7 || INT64 || Unix Timestamp (milliseconds, UTC)

Revision as of 02:58, 1 October 2014

This document explains the Eclipse SCADA demosystem.

Quick start

Download the "Eclipse SCADA Admin Client" (http://www.eclipse.org/eclipsescada/downloads.html). Start the application and create a new connection to: "da:ngp://demo.openscada.org:2101" or "da:ngp://scada.eclipse.org:2101".

Press the right mouse on the node "User Preferences" and select "Add Connection…" from the context menu.

EclipseSCADA Demo QS 01.png

Enter the URL into the field and press "Finish".

EclipseSCADA Demo QS 02.png

Double click on the connection node or use the content menu to "Connect" to the server. The username and password are "guest" / "guest12". Browse through the tree and add the "LUX" item to the realtime list by drag and drop.

EclipseSCADA Demo QS 03.png

Architecture

The setup involves four nodes:

scada.eclipse.org
The main server hosting the middleware and the value archive
demo.openscada.org
A second main server hosting the middleware and the value archive. A clone of "scada.eclipse.org"
ostest1.muc.ibhmgt.de
The server hosting the arduino driver
arduino
The arduino board itself with the Ethernet shield

'scada.eclipse.org' and 'demo.openscada.org' connect to 'ostest1' using the DA/NGP protocol. The connection is an IPv6 TCP connection.

The arduino driver itself connects to the arduino ethernet shield and polls the data from the board. Since the polling is quite fast, the arduino driver is actually located beside the arduino board in our office, while the 'demo.openscada.org' server is hosted by an ISP "in the cloud".

Demo Client

There is a custom client application for this setup. It can be downloaded at:

http://download.eclipse.org/eclipsescada/demo/client/?d

This is a normal Eclipse RCP application which has to be downloaded and unpacked.

Log in by pressing CTRL+L or the green button in the status bar. Select the context you want to log on (e.g. "scada.eclipse.org").

Chart Details More elements in the main view Details with video feed

Interfacing

The following interfaces are possible at the moment for you to try out. Not all interfaces that are supported by Eclipse SCADA are available on the demo system. But we are working on it.

Eclipse SCADA protocol

This is the demo server hosted at the Eclipse Foundation:

URI da:ngp://scada.eclipse.org:2101
Username guest
Password guest12

This is the demo server hosted by openSCADA:

URI da:ngp://demo.openscada.org:2101
Username guest
Password guest12

The following items can be subscribed:

Item Name Description What to expect
ES.DEMO.ARDUINO001.LIGHT.V Value of the light sensor A floating point value that represents the value of the light sensor. Somewhere between 0 - 1024. Frequently changing, about every 250ms
ES.DEMO.ARDUINO001.TEMPERATURE.V The temperature in °C The current room temperature
ES.DEMO.ARDUINO001.HUMIDITY.V The humidity The current humidity
Note.png
Other items
Actually there are a lot more items to check out. However the list is the items intended for interfaces with others


Modbus TCP

The server scada.eclipse.org also acts as a Modbus TCP Slave:

TCP Port 1502
Slave ID 1

Holdings

The following holding registers can be read using function code 3:

Register # Source Item Type Description Extras
0 ES.DEMO.ARDUINO001.LIGHT.V UINT16 State
1 INT64 Unix Timestamp (milliseconds, UTC)
5 UINT16 Value Scaled by 10.0
6 ES.DEMO.ARDUINO001.LIGHT.V UINT16 State
7 INT64 Unix Timestamp (milliseconds, UTC)
11 DOUBLE Value

See also

Back to the top