Mqtt Sparkplugb Example; Config.json Configuration Requirements - ProSoft Technology MVI56E-LDM-MQTT Quick Start Manual

Mq telemetry transport controllogix platform
Table of Contents

Advertisement

MVI56E-LDM-MQTT ♦ MQ Telemetry Transport
ControlLogix® Platform
5

MQTT SparkplugB Example

Use this chapter to install, configure, and run the MVI56E-LDM module with MQTT
Sparkplug-B communications. Set the configuration file parameters, configure the
ControlLogix PLC, and begin data exchange.
5.1

Config.json Configuration Requirements

This section give sample configuration settings when using Sparkplug-B.
config.json "MqttServer" section file parameters
Parameters
{
"MqttServer": {
"Type":
"Host":
"Port":
"Timeout"
"DoNotUseTls":
"DisableCertificateValidation":
"RootCaFileName":
"ClientCertPublicFileName":
"ClientCertPrivateFileName":
"UserName":
"Password":
"GroupId":
"UUID":
"ClientId":
"WillTopic":
"WillMessage":
"PublishRetryInterval":
"MaxPublishRetries":
"MaxPublishInterval":
"PublishTopicPrefix":
"SubscribeTopicPrefix":
"PublishQOS":
"PublishRetain":
},
The remaining section of the "config.json" files are applicable to the PLC communications. No editing is
required.
ProSoft Technology, Inc.
Values for un-encrypted
messaging
"Sparkplug",
"192.168.4.200",
1883,
5000,
1,
1,
"root ca.cer",
"client_cert_public_
key.cer",
"client_cert_private
_key.pem",
"ldm",
"ldm",
"ProSoft",
"UniqueUUID",
"MVI56E-1",
"spBv1.0/ProSoft/NDE
ATH/MVI56E-1",
"Node MVI56E-1 is
disconnected",
1000,
10,
5000
"",
"",
1,
1,
MQTT SparkplugB Example
Quick Start Guide
Values for encrypted
messaging
"Sparkplug",
"192.168.4.200",
8883,
5000,
0,
0,
"root ca.cer",
"client_cert_public_k
ey.cer",
"client_cert_private_
key.pem",
"ldm",
"ldm",
"ProSoft",
"UniqueUUID",
"MVI56E-1",
"spBv1.0/ProSoft/NDEA
TH/MVI56E-1",
"Node MVI56E-1 is
disconnected",
1000,
10,
5000
"",
"",
1,
1,
Page 25 of 55

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MVI56E-LDM-MQTT and is the answer not in the manual?

Table of Contents