Industrial
Electronic Devices
ADFweb.com S.r.l.
User Manual
EtherCAT / MQTT
Document code: MN67E17_ENG Revision 1.000 Page 23 of 31
Figure 5a: “Set MQTT Topics
MQTT Publish” window
MQTT SET TOPIC:
By Pressing the “
MQTT Set Topic
” button from the main window for SW67E17 (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 Modbus and the topic that the converter will
subscribes for writing the data to Modbus.
MQTT
P
UBLISH
The means of the fields are:
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 EtherCAT are changed;
If the field “
On Timer
” is checked, the converter publishes the topic cyclically with the delay defined in the field “
Time (ms)
”;
In the field “
Mnemonic
” a description of the topic is defined.