MVI56E-LDM-MQTT ♦ MQ Telemetry Transport
Start Here
ControlLogix® Platform
Quick Start Guide
ProSoft Technology, Inc.
Page 4 of 55
Contents
Your Feedback Please ................................................................................................................ 2
How to Contact Us ....................................................................................................................... 2
Content Disclaimer ...................................................................................................................... 2
Important Installation Instructions ................................................................................................ 3
Agency Approvals and Certifications ........................................................................................... 3
1
Start Here
6
1.1
MQTT-LDM Generic and SparkplugB ............................................................... 6
1.1.1
Using the MQTT LDM Generic Implementation ................................................ 6
1.1.2
Using the SparkplugB Implementation .............................................................. 7
2
Obtaining Sample Applications
9
2.1
MVI56E-LDM-MQTT Zip File ............................................................................. 9
2.2
Obtain MQTT Explorer ..................................................................................... 10
2.3
Obtain Ignition .................................................................................................. 10
3
Connecting to the MVI56E-LDM Module
11
3.1
Physical Connections ...................................................................................... 11
3.2
Configuring the ControlLogix PLC ................................................................... 12
3.2.1
Firmware Update ............................................................................................. 13
3.3
Configuring the MVI56E-
LDM’s EtherNet/IP Address ..................................... 14
4
MQTT Generic Type Sample Application
15
4.1
Configuring the Sample Applications ............................................................... 15
4.1.1
MQTT Generic config.json File ........................................................................ 15
4.1.2
SparkplugB config.json File ............................................................................. 16
4.2
Un-encrypted Data Exchange.......................................................................... 17
4.3
MQTT Explorer Client Configuration................................................................ 18
4.4
Encrypted Data Exchange ............................................................................... 22
5
MQTT SparkplugB Example
25
5.1
Config.json Configuration Requirements ......................................................... 25
5.2
Configuring the ControlLogix PLC ................................................................... 26
5.3
Ignition ............................................................................................................. 27
5.3.1
Installing .modl Files ........................................................................................ 27
5.4
Configuring the Un-Encrypted Sparkplug Data Exchange .............................. 28
5.4.1
Configuring the MQTT Broker Distributor within Ignition ................................. 29
5.4.2
Configuring the MQTT Subscribing Client and MQTT Engine Within Ignition . 31
5.4.3
Configuring the MQTT Publishing Client and MQTT Transmission Within
Ignition
32
5.4.4
Verify Ignition to PLC Communication ............................................................. 34
5.5
Installing the Ignition Designer Software ......................................................... 35
5.5.1
Using Ignition Designer to Send Data to the PLC ........................................... 36