Flexible SCADA Help
Start

Quick start

We will build a tutorial heating-substation project: a circulation pump and a pressure sensor on a window, live values from a simulator, a trend, an alarm on the pump fault, and publish it to the operator. Start the Flexible SCADA application and connect to a server. You can use the development server on the same computer. The simulator supplies the controller data.

An empty server1
New project2
The project is open12
A simulator channel1
A variable
Live values
Window and library12
Objects on the window12
Bindings12
Running12
Trend12
Alarm
The alarm is active12
Publishing123
Operator client

Below are the same steps in detail. Each takes a minute or two; you can build the project while reading.

Step 1. Open the development environment

Open the Flexible SCADA program (the “Flexible SCADA” shortcut) and on the Servers screen click Open IDE next to the server (how to install the server and the IDE — Installation). The development environment opens: the menu bar at the top, the tree on the left, the work area in the middle and the Properties column on the right (details — Development environment).

A server without projects. The tree has “Server overview”, the server with its archives, services and security, and the “Projects” branch (1).1
A server without projects. The tree has “Server overview”, the server with its archives, services and security, and the “Projects” branch (1).

Step 2. Create a project

  1. Right-click the Projects branch and choose New project….
  2. Enter a name, for example Heating substation — tutorial, and press OK.
The “Projects” menu (2): a new project or import from a file.2
The “Projects” menu (2): a new project or import from a file.
The project name is free text; operators see it in the header.
The project name is free text; operators see it in the header.
Clip: right-click “Projects” → “New project…”, a name, OK — the project is open.GIF
Clip: right-click “Projects” → “New project…”, a name, OK — the project is open.
The project is open: its branch in the tree (1) and the environment menu (2). There is nothing in it yet.12
The project is open: its branch in the tree (1) and the environment menu (2). There is nothing in it yet.

A project is one .wscada file on the server: channels, variables, windows, objects, programs. It can be exported and imported to another server (File → Export project…), while the running server keeps the archive and the alarm journal alongside it. Details — Projects.

Step 3. Add a simulator channel

A channel is a connection to a device over a protocol: a PLC over Modbus or S7, an OPC UA server and so on. For learning we take the simulator — it generates values by formulas.

  1. Right-click the project → Create → Channel (protocol) → Simulator.
  2. Name the channel SIM and press Add channel.
  3. Press the Save button in the menu bar (or Ctrl+S).
All protocols are in one menu (1 — the simulator).1
All protocols are in one menu (1 — the simulator).
The channel window. The simulator only has a name and an update period.
The channel window. The simulator only has a name and an update period.
Clip: “Create ▸ Channel (protocol) ▸ Simulator”, the name SIM, “Add channel”, then Save.GIF
Clip: “Create ▸ Channel (protocol) ▸ Simulator”, the name SIM, “Add channel”, then Save.
The channel appeared under “Protocols” (1). The Save button (2) is highlighted: changes to channels and variables accumulate and are applied to the running server all at once.12
The channel appeared under “Protocols” (1). The Save button (2) is highlighted: changes to channels and variables accumulate and are applied to the running server all at once.

Changes to channels and variables do not disturb the running server until you press Save: you can safely change many addresses at once. Windows, objects and types are saved immediately by themselves.

Step 4. Create variables

Click the SIM channel — its variable table opens. Add four variables with + Variable:

NameDescriptionUnitsDecimalsFunctionAmplitudeOffsetPeriod, s
SIM.P1.RunPump 1 running0Square wave1060
SIM.P1.FreqPump 1 frequencyHz1Sine54530
SIM.P1.FaultPump 1 fault0Square wave10180
SIM.PT1.PSupply pressurebar2Random walk1410
Clip: click the SIM channel, “+ Variable”, name, description, units, the simulator function — and Save.GIF
Clip: click the SIM channel, “+ Variable”, name, description, units, the simulator function — and Save.
The variable window: name (dots split the name into tree branches), description, units, the source — the SIM channel and the simulator function. All settings — on the <a href=Variables and channels page." loading="lazy">
The variable window: name (dots split the name into tree branches), description, units, the source — the SIM channel and the simulator function. All settings — on the Variables and channels page.

Press Save — the values come alive: the frequency swings around 45 Hz, the pressure wanders around 4 bar, the fault turns on for a minute and a half every three minutes.

Before Save (1) the variables are a draft: no values yet.1
Before Save (1) the variables are a draft: no values yet.
After it — live values, quality and time.
After it — live values, quality and time.

Step 5. A window and objects from the library

  1. Right-click the project → Create → Window → Empty window, name it Substation.
  2. In the library in the right column search for the circulation pump and double-click its tile — it lands on the window. Give it the object name CircPump1 in Properties.
  3. Place the pressure sensor the same way, name it PT1 and set X = 260, Y = 60 in Properties (or simply drag it with the mouse).
Window: empty, or “Operator header” — a menu and a clock for every window.1
Window: empty, or “Operator header” — a menu and a clock for every window.
The empty window (1) and the library with search: the pump tile found (2). Tiles can also be dragged onto the window.12
The empty window (1) and the library with search: the pump tile found (2). Tiles can also be dragged onto the window.
Clip: a new window from the tree menu, a library search and dragging the pump tile onto the window canvas.GIF
Clip: a new window from the tree menu, a library search and dragging the pump tile onto the window canvas.
The pump and the sensor on the window (1); the selected object — in Properties (2): name, library type, description.12
The pump and the sensor on the window (1); the selected object — in Properties (2): name, library type, description.

The pump on the window is not just a picture but a project object: it has its own variables (Run, Freq, Fault), windows and alarms, described once in the library type. Change the type — and every pump of the project changes. Details — Objects and types.

Step 6. Bind the object variables

Select the pump — in Properties, in the Variable bindings section, every object variable has a field. Type in (or drag from the tree) the channel variables:

ObjectObject variableSourceBind to
CircPump1RuntagSIM.P1.Run
FreqtagSIM.P1.Freq
FaulttagSIM.P1.Fault
PT1PtagSIM.PT1.P
Flowvalue1 — there is always flow
Bindings of the selected pump (1); after editing — Save (2).12
Bindings of the selected pump (1); after editing — Save (2).
A binding field: “tag” is a project variable, “value” is a constant; on the right is the current value.
A binding field: “tag” is a project variable, “value” is a constant; on the right is the current value.

Press Save. An object variable without a binding takes its default value from the type.

Clip: the pump is selected; a channel variable is dragged from the tree into a binding field, another one is typed with suggestions; Save.GIF
Clip: the pump is selected; a channel variable is dragged from the tree into a binding field, another one is typed with suggestions; Save.

Step 7. Watch it run

The Editing button in the window header switches it to running: elements no longer get selected, buttons can be pressed, values are live — exactly what the operator will see.

Running (1): the pump shows its frequency, the sensor — the pressure (2).12
Running (1): the pump shows its frequency, the sensor — the pressure (2).
The running window close up. When the pump fault turns on, an alarm sign appears on it.
The running window close up. When the pump fault turns on, an alarm sign appears on it.
Clip: “Editing” → running — the values are live; one more click — back to the editor.GIF
Clip: “Editing” → running — the values are live; one more click — back to the editor.

Step 8. A trend of frequency and pressure

  1. Right-click the project → Create → Trend → Trend (set of variables), name it Pump 1.
  2. Expand the SIM channel in the tree and drag the Freq and P variables onto the trend row.
  3. The trend asks whether to write them to the archive — press Turn on archive and then Save: the trend will then show the past too, not only new values.
A trend is a set of variables; “Trend window” is a ready window for the operator.1
A trend is a set of variables; “Trend window” is a ready window for the operator.
A variable (1) is dragged onto the trend (2).12
A variable (1) is dragged onto the trend (2).
Clip: a new trend, a variable dragged from the tree onto its row, “Turn on archive” and Save — a line on the trend.GIF
Clip: a new trend, a variable dragged from the tree onto its row, “Turn on archive” and Save — a line on the trend.
The archive question — for a variable added to the trend without history.
The archive question — for a variable added to the trend without history.
The trend (1): time window, pause and scrolling back, a separate scale for every unit (2). Details — <a href=Trends." loading="lazy">12
The trend (1): time window, pause and scrolling back, a separate scale for every unit (2). Details — Trends.

Step 9. An alarm on the pump fault

  1. Right-click the project → Create → Alarm.
  2. Variable — SIM.P1.Fault, kind — digital: on (≠ 0), priority — 2 — High, area — Substation, message — Circulation pump 1 fault.
  3. Fill in the operator guidance: cause, consequence and action — the operator sees them by clicking the alarm. Press Add.
An alarm is created right there, in Create (1).1
An alarm is created right there, in Create (1).
The alarm window: condition, notification, ISA-18.2 rationalisation. All fields — on the <a href=Alarms page." loading="lazy">
The alarm window: condition, notification, ISA-18.2 rationalisation. All fields — on the Alarms page.
Clip: “Create ▸ Alarm”, variable, kind, priority, message — Add.GIF
Clip: “Create ▸ Alarm”, variable, kind, priority, message — Add.
The project alarm database (1): a table you can edit right in the cells and paste from Excel.1
The project alarm database (1): a table you can edit right in the cells and paste from Excel.

When the fault turns on, an alarm bar appears in the header; clicking it opens Active, where the alarm is acknowledged.

An active unacknowledged alarm: the bar in the header (1) and a row in “Active” (2).12
An active unacknowledged alarm: the bar in the header (1) and a row in “Active” (2).

Step 10. Publish for operators

Operators see not the draft but the published version of the windows — so an unfinished change never reaches their screens. The Publish button in the menu bar (1) opens publishing: what changed, a link check, the version comment (2) and the Publish version 1 button (3).

Clip: Publish in the menu bar, the version comment, “Publish version”.GIF
Clip: Publish in the menu bar, the version comment, “Publish version”.
Publishing: changes since the last version, the check, operator stations and the version history.123
Publishing: changes since the last version, the check, operator stations and the version history.
The version is published; any earlier one can be made current — a rollback in seconds. Details — <a href=Publishing." loading="lazy">
The version is published; any earlier one can be made current — a rollback in seconds. Details — Publishing.

Step 11. The operator client

Open the operator screen — the server address in a browser (http://localhost:5080) or Operator next to the server in the Flexible SCADA program. This is the dispatcher's workstation: the start window right away, a narrow bar at the top (⌂ ← ↑, alarms, reports, time), the alarm bar with sound at the bottom. The pump shows the fault sign; clicking it opens its panel.

The operator client with published version 1: the “Substation” window, the “Pump 1” trend, an alarm with the “Silence” and “Acknowledge” buttons.
The operator client with published version 1: the “Substation” window, the “Pump 1” trend, an alarm with the “Silence” and “Acknowledge” buttons.

What next