Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EclipseSCADA/GettingStarted/DemoSystem"
(→See also) |
(→Eclipse SCADA protocol) |
||
(22 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
== Quick start == | == 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:// | + | Download the "Eclipse SCADA Admin Client" (http://www.eclipse.org/eclipsescada/downloads.html). Start the application and create a new connection to: "<tt>da:ngp://scada.eclipse.org:2101</tt>". |
Press the right mouse on the node "User Preferences" and select "Add Connection…" from the context menu. | Press the right mouse on the node "User Preferences" and select "Add Connection…" from the context menu. | ||
Line 19: | Line 19: | ||
== Architecture == | == Architecture == | ||
− | + | The setup involves four nodes: | |
− | + | ||
− | The setup involves | + | |
+ | ;scada.eclipse.org | ||
+ | : The main server hosting the middleware and the value archive | ||
;demo.openscada.org | ;demo.openscada.org | ||
− | : | + | : A second main server hosting the middleware and the value archive. A clone of "scada.eclipse.org" |
;ostest1.muc.ibhmgt.de | ;ostest1.muc.ibhmgt.de | ||
: The server hosting the arduino driver | : The server hosting the arduino driver | ||
Line 30: | Line 30: | ||
: The arduino board itself with the Ethernet shield | : The arduino board itself with the Ethernet shield | ||
− | 'demo.openscada.org' | + | '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". | 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 | ||
− | | da:ngp:// | + | | da:ngp://scada.eclipse.org:2101 |
|- | |- | ||
! Username | ! Username | ||
Line 55: | Line 77: | ||
{| | {| | ||
! Item Name !! Description !! What to expect | ! Item Name !! Description !! What to expect | ||
+ | |- style="vertical-align:top;" | ||
+ | | 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 | ||
+ | |} | ||
+ | |||
+ | {{Note|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 <tt>scada.eclipse.org</tt> also acts as a Modbus TCP Slave: | ||
+ | |||
+ | {| | ||
+ | ! TCP Port | ||
+ | | 1502 | ||
|- | |- | ||
− | | ES.DEMO.ARDUINO001. | + | ! Slave ID |
+ | | 1 | ||
+ | |} | ||
+ | |||
+ | ==== Holdings ==== | ||
+ | |||
+ | The following holding registers can be read using [http://www.simplymodbus.ca/FC03.htm function code 3]: | ||
+ | |||
+ | {| | ||
+ | ! Register # !! Source Item !! Type !! Description !! Extras | ||
+ | |- style="vertical-align:top; background: #EEEEEE" | ||
+ | | style="text-align:right;" | 0 ||rowspan="3"| ES.DEMO.ARDUINO001.LIGHT.V || UINT16 || State || | ||
+ | |- style="vertical-align:top; background: #EEEEEE" | ||
+ | | style="text-align:right;" | 1 || INT64 || Unix Timestamp (milliseconds, UTC) || | ||
+ | |- style="vertical-align:top; background: #EEEEEE" | ||
+ | | style="text-align:right;" | 5 || UINT16 || Value || Scaled by 10.0 | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 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;" | 11 || DOUBLE || Value | ||
+ | |||
|} | |} | ||
Latest revision as of 10:32, 10 March 2016
This document explains the Eclipse SCADA demosystem.
Contents
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://scada.eclipse.org:2101".
Press the right mouse on the node "User Preferences" and select "Add Connection…" from the context menu.
Enter the URL into the field and press "Finish".
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.
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").
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 |
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 |
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
- Configuration project in the GIT repository – Web View
- The client application projects:
- http://git.eclipse.org/c/eclipsescada/org.eclipse.scada.samples.git/tree/org.eclipse.scada.samples.demo1 – Maven Parent Project
- http://git.eclipse.org/c/eclipsescada/org.eclipse.scada.samples.git/tree/org.eclipse.scada.samples.demo1.client – The client configuration (views, etc.)
- http://git.eclipse.org/c/eclipsescada/org.eclipse.scada.samples.git/tree/org.eclipse.scada.samples.demo1.app – The main RCP application setup
- http://git.eclipse.org/c/eclipsescada/org.eclipse.scada.samples.git/tree/org.eclipse.scada.samples.demo1.app.feature – The product feature
- http://git.eclipse.org/c/eclipsescada/org.eclipse.scada.samples.git/tree/org.eclipse.scada.samples.demo1.app-product – The product build