Industrial
Electronic Devices
ADFweb.com S.r.l.
User Manual
Ethernet / MQTT
Document code: MN67930_ENG Revision 1.000 Page 22 of 31
Figure 5a: “MQTT Set Access
MQTT Publish” window
MQTT SET ACCESS:
By Pressing the “
MQTT Set Access
” button from the main window for SW67930 (Fig. 2) the window “Set MQTT Topics” appears (Fig. 5).
This section is used to link the MQTT topics to the Ethernet devices that will send and receive the Ethernet messages. It is also possible to
define the Ethernet format of the Ethernet messages, defining the part of them to map on MQTT side.
The data of the columns in the “MQTT Publish”
have the following meanings:
If the field “
Enable
” is checked, the MQTT
rule is enabled;
In the field “
Topic
” the topic created in
the section “MQTT Set Topic
MQTT
Publish” is selected;
In the field “
IP Address
” the IP Address
of the Ethernet device from which
receiving data is defined;
In the field “
Ethernet Data Form
” the
data format of the Ethernet message is
defined. It is possible to associate specific
parts of the Ethernet message to a
keyword and map just them on MQTT
side. Please, see page XX for more info;
In the field “
Template MQTT
” 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 “Ethernet Data Form”;
In the field “
Mnemonic
” the description of the rule is defined.
Note:
In order to send Ethernet messages to the converter, if TCP is used, the converter acts as server, so the Ethernet device must open
the TCP connection as Client to the TCP port defined in the section “Set Communication”.