![ProSoft Technology MVI56E-LDM-MQTT Скачать руководство пользователя страница 47](http://html1.mh-extra.com/html/prosoft-technology/mvi56e-ldm-mqtt/mvi56e-ldm-mqtt_quick-start-manual_1618938047.webp)
MVI56E-LDM-MQTT ♦ MQ Telemetry Transport
ControlLogix® Platform
Quick Start Guide
ProSoft Technology, Inc.
Page 47 of 55
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