Industrial
Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO:
www.adfweb.com
Phone +39.0438.30.91.31
User Manual
OPC UA Server / MQTT
Document code: MN67B42_ENG Revision 1.000 Page 22 of 29
Figure 5a: “Set MQTT Topics
MQTT Publish” window
MQTT SET TOPIC:
By Pressing the “
MQTT Set Topic
” button from the main window for SW67B42 (Fig. 2) the window “Set MQTT Topics” appears (Fig. 5).
This section is used to define the MQTT topics where the converter will publish the data from OPC UA and the topic that the converter will
subscribes for writing the data to OPC UA.
MQTT
P
UBLISH
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 “
Data Type
” the type of data to use is defined;
In the field “
Dimension
” the dimension in byte of the data is defined;
In the field “
Position
” the starting byte of the internal memory array where taking the data is defined;
In the field “
Template
” the structure of the MQTT payload is defined. With a double click on it, it is possible to open a window for
editing it;
If the field “
On Change
” is checked, the converter publishes the topic when the data from OPC UA are changed;