SCADA
Draw plants as live SCADA diagrams, bind symbols to device data, add safe controls and make your own symbols.
SCADA dashboards draw a plant as a diagram of SCADA symbols: SVG images with behaviour (colours, levels, animation, click actions) bound to device data.
Aniston Nexus ships a curated 3D-style symbol library:
| Package | Symbols | Dashboards |
|---|---|---|
| Water | 66 (solutions/nexus-water/scada/symbols/): tanks, sumps, pumps, booster sets, valves, flow and pressure meters, level radars, chlorinator, filters, borewell, panels, float and flow switches, pressure transmitter, bulk and smart meters, ball and air valves, strainer, UV steriliser, softener, hydropneumatic tank, manifold, overflow alarm, leak detector, hydrant, drinking water dispenser, LoRaWAN end node, GPS tracker | Water – SCADA Live, Water – Plant Overview SCADA |
| BMS | 16 (solutions/nexus-bms/scada/symbols/): AHU, chiller, cooling tower, AC units, AC outdoor unit, DG, UPS, lifts, access doors, fire panel | BMS – Plant Room SCADA |
| Smart Campus | 10 (solutions/nexus-smartcampus/scada/symbols/) | used on the campus dashboards |
The importers upload them as tenant images and widget types (solutions/nexus-water/scada/import_scada.py). A gallery of all symbols is in solutions/nexus-water/scada/gallery/.
The same 3D symbols are also installed as system SCADA symbols (widget bundle SCADA symbols), so every tenant has them; the older upstream 2D and high-performance symbols are no longer shipped. On an installation that still has them, tools/nexus/scada_library.py removes them and keeps any symbol a dashboard still uses. SCADA Studio offers the Nexus 3D library and your tenant's own symbols.
The symbol library and the SCADA Studio palette have category filter buttons, see SCADA symbol categories.
Binding a symbol
Each symbol declares its behaviour in its metadata: values it reads (e.g. level, running, fault), actions it can send (e.g. start, stop, setValue) and properties (colours, labels). In the dashboard, open the symbol widget's settings and map each behaviour to a telemetry key, attribute or RPC of the device.
Use the keys of the device profile (see the package CONTRACT.md). For example the overhead tank symbol reads level, volume, capacity, thresholds, inletActive, outletActive, inflow, outflow, warning, critical and alarm, and opens the tank details on click.
What the symbols show today:
| Situation | How it looks |
|---|---|
| Live value | Level, volume and colour by threshold; flow animation while inlet/outlet are active |
| No reading yet | -- instead of a number (never 0 %) |
| Warning / critical / alarm | Warning and alarm colours |
Device offline (active = false) | Drawing greyed, OFFLINE badge |
Stale data (dataQuality = STALE) | Drawing greyed, STALE badge |
Out of range (dataQuality = OUT_OF_RANGE) | CHECK badge |
Simulated device (simulated = true) | SIM badge (combined, e.g. SIM · STALE) |
Every shipped symbol (92) has these three read-only behaviours in the group Data state: deviceActive (server attribute active, default true), dataQuality (latest telemetry dataQuality) and simulated (server attribute simulated, default false). They are added by solutions/nexus-water/scada/add_data_state.py, which the BMS and Smart Campus symbol generators also run; CI checks that no symbol lacks them. Set the attribute simulated=true on simulator devices so their symbols say so.
Controls
Symbols that send commands use the platform's RPC. Configure them only for equipment whose controller accepts remote commands, and:
- show the state read back from the equipment, not the command you sent;
- confirm before sending anything that moves equipment;
- leave interlocks (dry-run protection, overload trips, fire mode) in the PLC. A dashboard command never overrides them.
The simulators in solutions/*/tools/simulator.py answer RPCs so you can test the screens; a simulated answer does not prove that a physical actuator works. Commissioning with the real controller is still required.
Making your own symbols
A symbol is an SVG with a <tb:metadata> block (behaviour, properties, JavaScript for state changes). Start from a copy of a shipped symbol, keep the drawing simple (it is scaled down a lot), keep text readable at small sizes, and test it in the SCADA symbol editor (Resources > SCADA symbols). Upload finished symbols to the contributor workspace or add them to a package in Database/.