Industrial Electronic Devices
MQTT SET TOPIC:
By Pressing the
"MQTT Set
Topic" button from the main window for SW67932 (Fig. 2) the window "Set MQTT Topics" appears (Fig. 4).
This section is used to define the MQTT topics where the converter will publish the data from Serial and the topic that the converter will
subscribes for writing the data to Serial.
Figure 4: "Set MQTT Topics
The means of the fields are:
In the field "Topic" the MQTT topic is defined;
If the field "Retained" is defined, the retained flag is enabled. The MQTT server will hold the last topic published;
In the field "QoS" the QoS level is defined;
In the field
"Input
Template" the data format of the Serial message is defined. It is possible to associate specific parts of the Serial
message to a keyword and map just them on MQTT side. Please, see page 27 for more info;
In the field "Template" the structure of the payload of the MQTT message to publish is defined. It is possible to define a fixed part
and the variable part using the keywords defined in the field "Input Template";
In the field "Mnemonic" a description of the topic is defined.
Note:
In the field "Template" and "Input Template" it is necessary to use only the key word $VALUE$ in order to map the entire
Serial/MQTT payload.
ADFweb.com S.r.l.
MQTT Publish" window
User Manual Serial / MQTT
Document code: MN67932_ENG
Revision 1.000
Page 24 of 32
Need help?
Do you have a question about the HD67932-B2 Series and is the answer not in the manual?