MVI56E-LDM-MQTT ♦ MQ Telemetry Transport
ControlLogix® Platform
9.2.3 Install MQTT Locally
If complete control over the MQTT Broker is needed, or if there is no access to the
Internet from the network where the MVI56E-LDM is installed, it is possible to use a local
version of MQTT Broker.
For example, open source broker Mosquitto can be downloaded from
https://mosquitto.org/download/. Once installed, it starts as a Windows service Mosquitto
Broker and is ready to accept connections at port 1883.
In the configuration file, if the MqttServer/HostName field is set to the IP address of the
MQTT broker, values for the PLC should be published into it. This will verify that you can
use third party MQTT clients.
As a result, the tag value in the PLC is updated and the newly published values are
reported in MQTT Explorer and plotted on the history graph.
9.3
Running the Sample Application
With the configuration complete, restart the application.
To restart the application, either reboot the module, or connect to the module over Telnet
terminal and run the following command:
/etc/init.d/S88-mqtt stop
and then
/etc/init.d/S88-mqtt start
ProSoft Technology, Inc.
Quick Start Guide
Page 47 of 55
Need help?
Do you have a question about the MVI56E-LDM-MQTT and is the answer not in the manual?