Skip to main content

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.

Jump to: navigation, search

EclipseSCADA/Tutorials/Tutorial01

Tutorial 1 - Runing a minimal master server configuration

Objective

NOTE: This tutorial does not explain in details the functionalities, it objects is to get up an running with a minimal configuration so you can start doing some tests.

1. Create a Server configuration.

For this tutorial we will first create a minimal master server configuration that generate different values so we can test the client application response to DataItem value changes.

We will use the Eclipse Scada Configuration Project template that comes with the Eclipse Scada Plugin IDE.

If you want you can get the full code for the configuration project you can git clone the repository: http://github.com/GabrielNicolasAvellaneda/org.eclipse.scada.sample.minimal.configuration.git

Create a new Eclipse Scada

File / New / Other / Eclipse Scada Configuration Project

Give it a Project Name org.eclipse.scada.tutorial01.configuration and click Finish to conclude.

2. Test the default project template.

Right click on productive.recipe file and select menu option Eclipse Scada Configuration / Run Production (default)

This will generate an output folder with files that has the configuration of the configured default services for this default project.

3. Running the master server Right click on output / node1 / master / master.profile.xml and click Run As / Run Equinox Application Profile

If you see and error that says . If you see another errors, please check the your envirment and follow the plugin setup instructions.

I have checked and in my system the bundle org.h2 was already registered without any problem. But for some reason the Eclispe Scada IDE plugin can find it. So I removed the line <start>org.h2</start> and then Runned again the to generate a .launch file. Then I edited the Launch Configurations to add the missing bundle.


c:\workspace\development\tools\eclipse-4.3.3-kepler-SR2-x64\plugins\org.h2_1.3.168.v201212121212.jar

4. Connecting to the running master service with OSTC

Open the OSTC and add the connection da:ngp//localhost:2101 http://download.openscada.org/installer/ostc/I/


This is only a project you quickstart testing the different components of Eclipse Scada. On a real-world configuration you will configure drivers, exporters, hd service, etc.

Back to the top