Summary Information

Communication Driver Name: MQTTspB

Implementation DLL: T.ProtocolDriver.MQTTspB.dll

Interface: TCPIP

Protocol: MQTT (Message Queuing Telemetry Transport) is a machine-to-machine (M2M)/"Internet of Things" connectivity protocol. “Sparkplug provides an open and freely available specification for how Edge of Network (EoN) gateways or native MQTT enabled end devices and MQTT Applications communicate bi-directionally within an MQTT Infrastructure.” (Sparkplug Specification)

PC Hardware requirements: Ethernet board

Implemented Methods: Connect, Disconnect, Subscribe, and Publish



Channel Configuration

Protocol Options

Type: It defines how a channel works when it connects to the MQTT Broker

ClientID: Indicates the client identification used to connect to the MQTT Broker

TagProperties: Defines the tag properties besides the tag Value. The names of the properties should be separated by a ‘,’ (comma)

TimePublishRate: Indicates the time to publish in ms. The messages that are published to the MQTT Broker are grouped and sent using this period



Node Configuration

Station Configuration

Station syntax: <BrokerURL>;<Port>;[Username];[Password];[X509Certificate];[SslProtocol];[WebSocket];[ScadaIIoTHostID]

Where:

One of the easiest ways to install the certificate on the client computer is to use the wizard to import the certificates through the "Internet Options" and to import the certificate in the "Trusted Root Certification Authorities”. You need to import the certificate in .DER format.

All nodes of the same channel share all device points regardless of which node they have been configured to. For MQTT Brokers redundancy, more than one node should be used for the same channel. 



Point Configuration

Address

The syntax for the MQTT communication points is: <GroupId>;<EdgeNodeId>;<DeviceId>;<QoS>

Where:



Troubleshoot

The status of the driver's execution can be observed through the diagnostic tools, which are:

• Trace window
• Property Watch
• Module Information