
Industrial
Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO:
www.adfweb.com
Phone +39.0438.30.91.31
User Manual
OPC UA Client / MQTT
Document code: MN67B19_ENG Revision 1.000 Page 31 of 35
TEMPLATE STRING: DEFINITION OF MQTT PAYLOAD
In the section “Set Communication” of the SW67B19, 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 OPC UA. The key words used and
their meanings are:
VALUE: value of the OPC UA 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$).