MVI69E-LDM-MQTT ♦ MQ Telemetry Transport Start Here
CompactLogix® Platform Quick Start Guide
ProSoft Technology, Inc. Page 4 of 54
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 .............................................................. 6
2 Obtaining Sample Applications 8
2.1 MVI69E-LDM-MQTT Zip File ............................................................................. 8
2.2 Obtain MQTT Explorer ....................................................................................... 9
2.3 Obtain Ignition .................................................................................................... 9
3 Connecting to the MVI69E-LDM 10
3.1 Physical Connections ...................................................................................... 10
3.2 Configuring the CompactLogix PLC ................................................................ 11
3.2.1 Firmware Update ............................................................................................. 12
3.3 Configuring the MVI69E-LDM’s EtherNet/IP Address ..................................... 13
4 MQTT Generic Type Sample Application 14
4.1 Configuring the Sample Applications ............................................................... 14
4.1.1 MQTT Generic config.json File ........................................................................ 14
4.1.2 SparkplugB config.json File ............................................................................. 15
4.2 Unencrypted Data Exchange ........................................................................... 16
4.3 MQTT Explorer Client Configuration................................................................ 17
4.4 Encrypted Data Exchange ............................................................................... 22
5 MQTT SparkplugB Example 24
5.1 Config.json Configuration Requirements ......................................................... 24
5.2 Configuring the CompactLogix PLC ................................................................ 25
5.3 Ignition ............................................................................................................. 26
5.3.1 Installing .modl Files ........................................................................................ 27
5.4 Configuring the Unencrypted Sparkplug Data Exchange ................................ 28
5.4.1 Logging in to Ignition ........................................................................................ 28
5.4.2 Configuring the MQTT Broker Distributor within Ignition ................................. 29
5.4.3 Configuring the MQTT Subscribing Client and MQTT Engine Within Ignition . 31
5.4.4 Configuring the MQTT Publishing Client and MQTT Transmission Within
Ignition 32
5.4.5 Verify Ignition to PLC Communication ............................................................. 33
5.5 Installing the Ignition Designer Software ......................................................... 34
5.5.1 Using Ignition Designer to Send Data to the PLC ........................................... 34