48Industries
500+Subsystems
1000+Projects
18Years
Part 3 of 12

Architecture & data path

Follow an observation from device to operator and a command back to the field, with shared point identity, equipment models and deployment topologies for industry and infrastructure, from one site to many.

Architecture & data path
ARCHITECTURE IN ACTION

How does an observation become a decision and action?

An engineering example using pump-pressure monitoring. Select each stage to see its input, processing and output. Actual paths depend on project equipment and configuration.

Read the deviceDevice / Adapter
Input
A pressure-sensor message or device register
Processing
The adapter knows the address, data type and protocol format. The raw value is converted using the configured engineering unit and scale.
Output
Pressure value, communication state and observation time

Engineering valueProtocol differences stay in the connection layer, while application logic consumes pressure.

These stages explain responsibilities. Local control can run on the controller itself; ML analysis and prediction and LLM context/tool use follow complementary processing paths.

Explore ML & LLM workflows
2

Architecture and Data Path

The system consists of a Java core (backend), a responsive web interface (frontend), and several companion services, all sitting behind a single secure gateway. Every value passes through a defined chain with known timings, from the moment it is read from the device to the moment it reaches a dashboard element; this end-to-end chain has been tested against real devices.

Data Path from Device to Dashboard

Figure 2 · The complete data chain with real code timings. Events are published only for their own project; publication without a project scope is discarded.
Figure 2 · The complete data chain with real code timings. Events are published only for their own project; publication without a project scope is discarded.
Figure 3 · The five value-processing stages inside the ACV itself, and the five output states. ACV level limits are independent of the logic engine’s hysteresis limits (Section 5), and both operate simultaneously.
Figure 3 · The five value-processing stages inside the ACV itself, and the five output states. ACV level limits are independent of the logic engine’s hysteresis limits (Section 5), and both operate simultaneously.

Ingestion

Three queues and four processing threads: an input queue with a capacity of 10,000 messages, and an output queue and an SMS queue of 1,000 each. Unknown points are created automatically. A value change is forwarded to subsequent layers only if it differs from the previous value.

Persistence

Current values are written to the main database in batches every 5 seconds; history is stored in a separate database per project, with monthly partitioning and batch inserts every 60 seconds. Each point’s polling history is retained for 90 days.

Publication

Project-scoped WebSocket: events reach browsers every 75 milliseconds in batches of up to 500; device online/offline status and command receipts are also published over the same channel. Event subscriptions and publication are controlled within project scope.

Command (Return Path)

Dashboard commands pass control authorization and the required confirmation. A unique key supports duplicate-request control and intent tracking; the adapter then translates the command into a protocol operation (SET, register, node or topic). Receipts identify the reported stage, while device feedback is used to assess the physical result.

Point Identifier (ENID) and the Value Chain

Every point’s identity across the system is a 16-digit ID that encodes the device serial, base type (protocol/device), signal category, direction, data type, and port number. This ID is carried unchanged through messages, control variables, WebSocket sessions, logic rules, and the API.

2
0
0
5
9
0
0
4
5
3
6
0
4
0
0
1
Device serial (4) Base number / protocol (4) Signal category (3) · ~500 categories Input/output direction (1) Data type (1) Port (3)
9004 SNMP9005 Modbus9006 KNX9007 BACnet9009 M‑Bus9010 PLC9011 Redfish9024 S79025 FINS9026 MC9065 Tuya6000–6800 Devices (UPS, generator, ATS, PDU, AHU, FCU, chiller, boiler, elevator…)
6

Structure and Point Model

Everything in the system has a defined place in the hierarchy, and every data point receives a unique 16-digit ID (Chapter 2); this same ID is used in the dashboard, logic, assistant, and API.

Hierarchy

Project → organization → building → floor → space → device → point. Duplicating a floor with all its spaces and devices in a single action; device grouping; searching devices and points by name, category, space, and floor.

Points (Control Variables)

Digital and analog inputs/outputs, counters, timers, computed variables; 55 types and around 500 named signal categories. Each point has: a unit, scale (factor/offset), four-level limits, notification bandwidth and delay, flags for network publication and history storage, and a computed expression on the value.

Building from the Catalog

By selecting a model from the Device Catalog (Chapter 7), the device and all its points are created automatically with the correct protocol mapping, with no repetition; the catalog profile version is recorded on the device.

Bulk Import

Setup from an Excel file for large projects: buildings, spaces, and devices are imported all at once; multiple devices can be created simultaneously from a single model.

Devices
Devices · 222 devices in the data center project, with protocol, IP, status, and serial number
Point Management
Point Management · Points grouped by device, with ID, type, and status
Spaces
Spaces · Building spaces and rooms with device counters
Server Console — System Design
Server Console — System Design · Projects, structure, users, devices, points, logic
32

Deployment and Network Topologies

Three common deployment patterns separate equipment networks from user access. The proposed design routes public access through a secure web gateway and blocks direct internet access to equipment; project design specifies network rules and administrative access.

1 · On-Premise

The server sits on the customer’s management VLAN, with direct access to the device VLAN (SNMP/Modbus/OPC UA); users connect from the internal network or VPN; an offline map and a local language model serve closed networks. Suited to data centers, sensitive sites, and industrial facilities.

2 · Cloud with Device Link

The system runs on ARG infrastructure or the customer’s cloud; ARG field controllers connect to the server via a WebSocket link from behind NAT (no static IP, no inbound port opening); SNMP/Modbus devices connect through the local controller. Suited to distributed sites, stations, and small buildings.

3 · Hybrid

The system’s core stays on-premise for live monitoring and control; a cloud instance provides manager access, reporting, and ARG AI; synchronization happens via API/Webhook. Suited to holding companies with multiple sites.

Gateways and Traffic

  • Inbound: only HTTPS/WSS (443) through the TLS gateway; administrative SSH
  • Outbound to devices: SNMP 161/162, Modbus 502, OPC UA, MQTT 1883/8883, PLC (102, 44818, 9600, 5000+), Redfish 443, Tuya 6668
  • Companion services stay on the internal network only; no service is directly exposed to the internet
  • Outbound notifications: carrier SMPP, SMTP, Telegram (where permitted), Webhook

Recommended Hardware

The following examples support initial planning. Final sizing depends on point-change rates, concurrent users, drivers, history depth and project-specific load testing.

Project SizeDevices / PointsServerStorage
SmallUp to 100 devices / 1,000 points2 cores, 4 GB, PostgreSQL40 GB
MediumUp to 500 devices / 5,000 points4 cores, 8 GB, PostgreSQL100 GB (1-year history)
LargeUp to 2,000 devices / 20,000 points8 cores, 16 GB; separate database500 GB SSD
Multi-siteMultiple projectsMain server + separate companion services; ARG AI with optional GPUBased on total

See the Digital Twin live

The live ArgBMS demo with real 3D twins, dashboards and logic.