Industrial
Electronic Devices
ADFweb.com S.r.l.
User Manual
EtherNet/IP / MQTT
Document code: MN67945_ENG Revision 1.001 Page 25 of 33
TEMPLATE STRING: DEFINITION OF MQTT PAYLOAD
In the section “Set Communication” of the SW67945, it is possible to define a Template string for the MQTT messages. The template is
necessary in order to define the structure of the payload of the MQTT message and the info contained.
It is possible to have a simple text format or a JSON format.
The definition of the template can be done using Key words, used to link a specific information EtherNet/IP. The key words used and their
meanings are:
VALUE: value of the EtherNet/IP variable
TIME: date and time of the MQTT message
DESC: description of the message
Warning:
The key words must be defined between “$” chars in order to be recognized (Ex.: $VALUE$).