Comprehensive guide for integrating Proxus with Sparkplug B MQTT protocol for industrial IoT applications, including detailed parameter configurations, data mapping, and advanced features.
Parameter | Description | Default | Required | Example |
---|---|---|---|---|
BrokerHost | MQTT broker hostname or IP address | localhost | Yes | ”mqtt.company.com” |
BrokerPort | MQTT broker port number | 1883 | No | 1883 |
GroupId | Logical grouping of Edge nodes | ProxusGroup | No | ”Plant1” |
EdgeNodeId | Unique identifier for the Edge node | Edge_ | No | ”Edge_Production” |
ScadaHostIdentifier | Primary application identifier | scada1 | No | ”mainScada” |
Parameter | Description | Default | Required | Example |
---|---|---|---|---|
Username | MQTT broker username | - | No | ”proxus_user” |
Password | MQTT broker password | - | No | ”secure_password” |
Parameter | Description | Default | Options | Example |
---|---|---|---|---|
Protocol | MQTT protocol version | V311 | V310, V311, V500 | ”V311” |
ReconnectInterval | Time between reconnection attempts (seconds) | 5 | 1-3600 | ”30” |
Parameter | Description | Default | Required | Example |
---|---|---|---|---|
UseWebSocket | Enable WebSocket transport | false | No | true |
WebSocketPath | WebSocket endpoint path | /mqtt | No* | “/ws” |
Parameter | Description | Default | Required | Example |
---|---|---|---|---|
UseTls | Enable TLS encryption | false | No | true |
TlsVersion | TLS protocol version | Tls12 | No | ”Tls13” |
PfxCertificate | Base64 encoded PFX certificate | - | No* | “MIIKYwIBA…” |
ValidateCertificate | Enable certificate validation | true | No | false |
Value Pattern | Sparkplug B Type | Example |
---|---|---|
true/false | Boolean | true |
Integer numbers | Int32 | 42 |
Decimal numbers | Float/Double | 23.5 |
Date strings | DateTime | ”2025-03-06T12:00:00Z” |
Other strings | String | ”Running” |
Numeric Types
Other Types
Type | Description | Direction | Example |
---|---|---|---|
NBIRTH | Node birth certificate | Node → Server | spBv1.0/Factory1/NBIRTH/Edge_01 |
NDEATH | Node death certificate | Node → Server | spBv1.0/Factory1/NDEATH/Edge_01 |
DBIRTH | Device birth certificate | Node → Server | spBv1.0/Factory1/DBIRTH/Edge_01/Device1 |
DDEATH | Device death certificate | Node → Server | spBv1.0/Factory1/DDEATH/Edge_01/Device1 |
NDATA | Node data | Node → Server | spBv1.0/Factory1/NDATA/Edge_01 |
DDATA | Device data | Node → Server | spBv1.0/Factory1/DDATA/Edge_01/Device1 |
NCMD | Node command | Server → Node | spBv1.0/Factory1/NCMD/Edge_01 |
DCMD | Device command | Server → Node | spBv1.0/Factory1/DCMD/Edge_01/Device1 |
Error | Possible Causes | Solutions |
---|---|---|
Connection Refused | - Invalid credentials - Wrong port - Broker offline | - Verify credentials - Check broker status - Confirm port number |
TLS Handshake Failed | - Invalid certificate - Wrong TLS version | - Validate certificate - Check TLS version compatibility |
Topic Permission Error | - Insufficient permissions - Wrong topic structure | - Verify ACL settings - Check topic format |