See the gateway cross-section clearly
Protocols, engines, channels, APIs — and the verification boundary of each, labeled honestly: we do not pass off "simulator-tested" as "fully hardware-verified".
Protocol / transport drivers
All run as separate processes under plugins/; the main binary contains no protocol implementation. New protocols can be written against the Apache-2.0 driver SDK.
Modbus
RTU / TCP / bit addressing
Siemens S7
S7-200 / 300 / 400 / 1200 / 1500
Mitsubishi MC
MC protocol
Omron FINS
FINS / HostLink
Omron CIP
CIP tag addressing
Rockwell CIP
Logix / EtherNet-IP
OPC UA
Client / server
ABB robots
RWS (HTTP)
FANUC robots
CIP
DL/T 645
Electricity meters
Architecture
One main process plus plugin processes, separated by an RPC contract.
PLC / device ◀──▶ acquisition engine ──▶ driver contract ──RPC──▶ plugins/ processes
│
▼ RecordSink
push engine ──┬──▶ MQTT Broker
├──▶ TDengine / InfluxDB / IoTDB
└──▶ HTTP / Kafka / Webhook (offline → outbox replay)
Deployment matrix
| Platform | Arch | Form |
|---|---|---|
| Windows | amd64 | Single exe + plugins/, can register as a service |
| Linux | amd64 / arm64 | Binary + plugins/, systemd supported |
| Linux arm32 | ARMv7-A / VFPv3 (GOARM=7) | Binary + plugins/ for low-spec ARM servers and industrial boards; rebuild with GOARM=5 for ARMv6/ARMv5 |
| Docker | amd64 / arm64 | One-command docker-compose startup |
Official release packages currently ship Windows amd64 and Linux amd64 / arm64; build arm32 with ./build.sh arm32 (compile the main binary and plugins with the same GOARM).
Verification boundaries (labeled honestly)
| Protocol | Status | Notes |
|---|---|---|
| Modbus TCP | Hardware verified | TCP connection and register reads/writes |
| Modbus serial | Simulator | RTU serial, not yet on real hardware |
| Siemens S7 | Hardware verified | Multiple models, connection and reads/writes |
| Mitsubishi MC | Simulator | MC protocol, not yet on real hardware |
| Omron FINS (UDP) | Hardware verified | UDP reads/writes including memory areas |
| Omron FINS (TCP) | Simulator | FINS/TCP, not yet on real hardware |
| Omron CIP | Simulator | CIP tag addressing, not yet on real hardware |
| Rockwell CIP | Simulator | Logix / EtherNet-IP, not yet on real hardware |
| OPC UA | Hardware verified | Client connection and reads/writes |
| ABB robots | Simulator | RWS (HTTP), not yet on real hardware |
| FANUC robots | Not tested | CIP, not verified yet |
| DL/T 645 | Simulator | Electricity meters, not yet on real hardware |
This table reflects the current verification status; the earlier item-by-item investigation is in the series article "Protocol Driver Hardware Verification Checklist" (Chinese).
Acquisition & pushing
Acquisition engine
Worker-pool scheduled polling; a background watcher detects config changes and applies zero-downtime hot reload.
Push channels
MQTT, HTTP/Webhook, Kafka, TDengine, InfluxDB, IoTDB; type plus instance name, multiple channels allowed.
Payload formats
native-json (stable contract), group-json, mapping-json, script.
MQTT subscription
Reverse-ingest from external brokers with a built-in mapping DSL or goja JS script; config hot-reloads.
Disconnection alarms
Debounce + state machine, edge persistence, unified alarm center.
Open API
/openApi/* device and point queries, control writes, thing-model upsert/delete, alarm queries.