How the system works
A few concepts that the whole of Flexible SCADA rests on. They are worth reading once — after that the interface becomes obvious.
Server
The Flexible SCADA server is a Windows or Linux service on the control-room computer. It polls devices, keeps the archive and the alarm journal, runs programs and supplies data to operator screens. Operators open their screens in a browser. Engineers connect to the server from the Flexible SCADA application for Windows, macOS or Linux (Installation). A server can hold several projects; one — the open one — runs.
| Workspace | How to open it | For whom |
|---|---|---|
| Project | Select a server in the Flexible SCADA application and click “Open IDE” | engineer: channels, variables, windows, library, programs, alarms, reports, publishing |
| Operator | /hmi.html | dispatcher: published windows, object panels, alarms, trends, reports |
| Console | /console.html | shift supervisor: alarms of every server on one screen, acknowledgement |
| Admin panel | /admin.html | administrator: services, roles and users, network, archives, backups, logs |
Project
A project is everything the engineer builds: channels and variables, windows, objects, trends, alarms, programs, reports. A project is stored as one file and moves between servers. The value history, the alarm journal and the retained values stay with the server: publishing a project to another server does not touch them. Details — Projects.
Channels and variables
A channel is a connection to one device or data server over a protocol (Modbus TCP, OPC UA, S7…), with its address, polling period and timeout. A variable (tag) is one value: an address in the device, a type, units, a range, scaling, archiving, write permission. There are also local variables — without a device: setpoints, modes, calculation results.
Variable names are split by dots into branches: SIM.P1.Freq appears in the tree as the SIM channel → the P1 group → the Freq variable. Every channel has system variables _Sys.<channel>.Online, .CycleMs and .Errors — connection, cycle time and error count. Details — Variables and channels and Protocols.
Types and objects
A type in the library is an equipment class: “Circulation pump”, “Valve”, “Air handling unit”. It describes the variables (Run, Freq, Fault), the windows (how the object looks on a mimic diagram, its panel, its screen), alarms, trends, programs and reports. A project object is a specific pump of that type with its own bindings to channel variables. Change the type — and all its objects change. A type can inherit from another, contain nodes (other objects), and objects can form arrays. Details — Objects and types, ready-made types — Standard libraries.
Windows
A window is a mimic diagram or a screen: a canvas of a given size with elements (texts, buttons, indicators, pipes, objects). Project windows live in project folders; type windows — in the type. A type window has a role:
| Role | What it is |
|---|---|
| Symbol | how the object looks in other windows — the pump icon on a mimic diagram |
| Panel | a tab of the panel that opens for the operator when the object is clicked |
| Screen | a full-screen window of the object: for the operator — in the navigation under the object |
A project window can have an ISA-101 level: 1 — overview, 2 — area, 3 — unit, 4 — diagnostics. The operator client sorts windows by level, and the “Up” button leads to the window one level higher.
Draft and publishing
The development environment has three kinds of changes:
- Channels, variables and object bindings accumulate in a draft and are applied to the running server all at once with Save (Ctrl+S). The server checks the whole draft first and shows errors next to the fields.
- Windows, objects, types, trends, programs are saved in the project immediately.
- Operators see the published version of the windows: it is created by Publish. Until there is a version, the operator client shows the draft with a note.
Any change can be undone: Ctrl+Z, Ctrl+Y and Edit → Edit history… — the project version journal with a return to any point. Details — Projects and Publishing.
Standards
| Standard | Where in Flexible SCADA |
|---|---|
| ISA-18.2 / IEC 62682 | alarms: priorities, states, acknowledgement, shelving, out of service, rationalisation, performance |
| ISA-101 (HP-HMI) | window levels, the restrained “ISA-101” style, analog indicators and alarm signs by priority |
| IEC 61131-3 | variable types (BOOL, INT, REAL…), ST and FBD programs, TON/TOF/TP timers |
| IEC 62541 (OPC UA) | an OPC UA client in channels and an own OPC UA server for upper-level systems |
| ISA-95 | the equipment hierarchy in project objects and in the OPC UA server address space |
| IEC 62443 | roles and permissions, passwords and login lockout, the audit log, syslog |