Industrial
Electronic Devices
ADFweb.com S.r.l.
User Manual
PROFIBUS Master
/ MQTT
Document code: MN67950_ENG Revision 1.000 Page 32 of 36
TEMPLATE STRING: DEFINITION OF MQTT PAYLOAD
In the section “Set Communication” of the SW67950, 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 from/to PROFIBUS. The key words used and
their meanings are:
VALUE: value of the PROFIBUS data
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$).